|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Converting SOAP domain to XMLNSC domain message |
« View previous topic :: View next topic » |
Author |
Message
|
visasimbu |
Posted: Fri Nov 21, 2014 10:15 am Post subject: Converting SOAP domain to XMLNSC domain message |
|
|
 Disciple
Joined: 06 Nov 2009 Posts: 171
|
Hi all,
I tried to convert SOAP domain message to XMLNSC domain message to send the message in MQ protocol.
Flow Skeleton:
SoapInputNode -> FlowOrderNode
FromFirstTerminal of flowordernode -> computeNode1 -> MQOutputNode
FromSecondTerminal of flowoderNode-> ComputerNode2 -> SoapReplyNode
ComputeNode1 contains below code snipet :
Code: |
DECLARE inCCSID INT InputProperties.CodedCharSetId;
DECLARE inEncoding INT InputProperties.Encoding;
DECLARE inBitStream BLOB ASBITSTREAM(InputRoot.SOAP, inEncoding, inCCSID);
CREATE LASTCHILD OF OutputRoot DOMAIN('XMLNSC')
PARSE(inBitStream, inEncoding, inCCSID, '',
'', '', FolderBitStream );
|
After executing this statement, I can see "SOAP_Domain_Msg" after MQRFH2 headers. Still my message is in soapDomain format and it throws an error when we propagate to MQoutput node. Please help me to change this to XMLNSC domain.
Error message in eventviewer :
The element with name ''soap[http://schemas.xmlsoap.org/soap/envelope/]'' and field type ''namespaceDeclType'' is not valid as the child of Root.XML or Root.XMLNSC.
Each child of Root.XMLNSC must represent a valid XML construct for the top level of an XML document. The only field types that are valid in this position are XMLNSC.Comment or XMLNSC.ProcessingInstruction.
Last edited by visasimbu on Fri Nov 21, 2014 10:41 am; edited 1 time in total |
|
Back to top |
|
 |
Vitor |
Posted: Fri Nov 21, 2014 10:38 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
How do you have a SOAPRequest node and a SOAPReply node wired together and why?
Why do you need to manually extract the payload of a SOAP message rather than letting the SOAP node do it? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
visasimbu |
Posted: Fri Nov 21, 2014 10:43 am Post subject: |
|
|
 Disciple
Joined: 06 Nov 2009 Posts: 171
|
Vitor wrote: |
How do you have a SOAPRequest node and a SOAPReply node wired together and why?
|
It is typo error. I have corrected it in my original post.
Vitor wrote: |
Why do you need to manually extract the payload of a SOAP message rather than letting the SOAP node do it?
|
My requirement is to send soap header and body as MQ message. I dont want to strip my soap headers using soap extract node.
Or please let me know how can I do it by using soap node ? |
|
Back to top |
|
 |
Vitor |
Posted: Fri Nov 21, 2014 11:44 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
visasimbu wrote: |
My requirement is to send soap header and body as MQ message. |
So why try and parse it into XMLNSC? Why not simply put the input bitstream into the MQ message as a BLOB? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
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
|
|
|
|