|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
WSDL and MessageSet |
« View previous topic :: View next topic » |
Author |
Message
|
manojsu |
Posted: Wed Jun 06, 2012 5:41 am Post subject: WSDL and MessageSet |
|
|
Centurion
Joined: 19 Jul 2006 Posts: 147 Location: Bangalore
|
Hi,
I have created a Message set, using a WSDL, and it works all well when i set the parser as MRM.
But i am confused as how the Reset Content Node is able to take the values, Also i am not able to see the link between the Envelope and the actual actual payload.
I am trying to figure out how the parsing happens.
Thanks |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Jun 06, 2012 5:59 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
DO NOT USE MRM FOR XML BASED CONTENT.
The XMLNSC parser and the SOAP parser will use the root tag of the document to determine which schema to use.
For versions before v8, you do need to import the wsdl into a message set, and create a message definition from the schemas within it. But that doesn't in any way mean you need to use MRM. It means you need to create a message definition and deploy it and then you must use XMLNSC for all XML content. |
|
Back to top |
|
 |
kimbert |
Posted: Wed Jun 06, 2012 6:01 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
Quote: |
it works all well when i set the parser as MRM |
That sounds like the wrong decision. You should be using XMLNSC for any type of XML message.
Quote: |
But i am confused as how the Reset Content Node is able to take the values |
Why do you need an RCD node? We are not mind-readers!
Quote: |
Also i am not able to see the link between the Envelope and the actual actual payload |
What 'link' do you mean? Can you please explain what you are trying to do, so that we have a chance of understanding your question.
Quote: |
I am trying to figure out how the parsing happens |
Me too. Amazing, isn't it  |
|
Back to top |
|
 |
smdavies99 |
Posted: Wed Jun 06, 2012 6:07 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
I suspect that the WSDL is just that. The Definition of the WebService and not the full message structure as would normally be defined in an XSD
The two can be separate files/documents.
Actually, you get two separate items when you use the broker tooklit to create a WSDL from the xsd/msxd. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|