ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How to map a field to a name value pair

Post new topic  Reply to topic
 How to map a field to a name value pair « View previous topic :: View next topic » 
Author Message
kartheek.sp
PostPosted: Wed Jul 27, 2011 10:04 am    Post subject: How to map a field to a name value pair Reply with quote

Novice

Joined: 05 Apr 2011
Posts: 21
Location: Pune

Please suggest me how to map a field to a name value pair (which is in wsdl) soap message.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Thu Jul 28, 2011 4:20 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

You can find the answer here:

http://www-304.ibm.com/jct03001c/services/learning/ites.wss/us/en?pageType=course_description&courseCode=WM663
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Thu Jul 28, 2011 4:33 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

lancelotlinc wrote:
You can find the answer here:

http://www-304.ibm.com/jct03001c/services/learning/ites.wss/us/en?pageType=course_description&courseCode=WM663


Training!

(And it is still scaled back, still relevant but still doesn't address the OP's point)
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Jul 28, 2011 4:35 am    Post subject: Re: How to map a field to a name value pair Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

kartheek.sp wrote:
Please suggest me how to map a field to a name value pair (which is in wsdl) soap message.


Please suggest to us what you've tried, what happened and what you're trying to map it to.

Unless you just want us to tell you how to do it, in which case my associate's point becomes much more relevant.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
kartheek.sp
PostPosted: Thu Jul 28, 2011 8:41 am    Post subject: Re: How to map a field to a name value pair Reply with quote

Novice

Joined: 05 Apr 2011
Posts: 21
Location: Pune

Vitor wrote:

Please suggest to us what you've tried, what happened and what you're trying to map it to.

Unless you just want us to tell you how to do it, in which case my associate's point becomes much more relevant.


I have three complex types like customer below.

<Customer>
<CustomerId>string</CustomerId>
<category>string</category>
<prefetchFilter>-6601</prefetchFilter>
<billCycleId>309</billCycleId>
<billCycleIdAfterSwitch>998</billCycleIdAfterSwitch>
<billCycleSwitch>1972-02-07T18:25:16.42</billCycleSwitch>
<ParentCustomerId>string</ParentCustomerId>
</Customer>

and i need to map all these fields of the three Complex types to a single name value pair as below:

<xs:element minOccurs="0" maxOccurs="unbounded" name="Parameter" type="tns:Parameter" xmlns:xs="http://www.w3.org/2001/XMLSchema" />
<xs:complexType name="Parameter">
<xs:annotation>
<xs:documentation>Parameter object describes a simple
name-value pair</xs:documentation>
</xs:annotation>
<xs:attribute name="name" type="xs:string" use="required" />
<xs:attribute name="value" type="xs:string" />
</xs:complexType>
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Jul 28, 2011 9:02 am    Post subject: Re: How to map a field to a name value pair Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Vitor wrote:
Please suggest to us what you've tried, what happened and what you're trying to map it to.


kartheek.sp wrote:
I have three complex types like customer below.
...
and i need to map all these fields of the three Complex types to a single name value pair as below:
...


So that's a very neat & well-presented answer to one of my questions.

What about the other 2?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
kartheek.sp
PostPosted: Thu Jul 28, 2011 9:57 am    Post subject: Re: How to map a field to a name value pair Reply with quote

Novice

Joined: 05 Apr 2011
Posts: 21
Location: Pune

Vitor wrote:


So that's a very neat & well-presented answer to one of my questions.

What about the other 2?


the other two complex types are

<StatusInfo>
<errorCode>String</errorCode>
<errorStatus>String</errorStatus>
<errorDesc>String</errorDesc>
</StatusInfo>


<SubscriberIdInfo>
<subscrNumber>String</subscrNumber>
</SubscriberIdInfo>
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Jul 28, 2011 10:03 am    Post subject: Re: How to map a field to a name value pair Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

kartheek.sp wrote:
Vitor wrote:


So that's a very neat & well-presented answer to one of my questions.

What about the other 2?


the other two complex types are


Apologies for my lack of clarity. I meant, "what about answers to my other 2 questions?", to wit:

- what have you tried so far (if only so no-one suggests it again)
- what happened
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How to map a field to a name value pair
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.