|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Generating SOAP Response with Root node of XML |
« View previous topic :: View next topic » |
Author |
Message
|
Thripura Sundari |
Posted: Tue Aug 02, 2005 9:42 am Post subject: Generating SOAP Response with Root node of XML |
|
|
Acolyte
Joined: 13 Jun 2005 Posts: 57 Location: Bangalore, India
|
Hi all,
I want to generate a SOAP Response from an XML. Instead of assigning each element of the XML, is there any way in which I can just assign the outermost node to the particular format of SOAP Response.
I have specified the format of output message in the message category file as wsdl. I have many complex types in the output message. I dont want to assign each element of the SOAP response as
Code: |
OutputRoot.myNS.....C=InputRoot.XMl.A.B.C.
OutputRoot.myNS.....D=InputRoot.XMl.A.B.D. |
Once I tried assigning the outermost node of the XML directly, but it didnot work. If anyone has any example, can you please help me?
Regards,
Thripura Sundari. |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Aug 02, 2005 10:23 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
If there is a common parent in the input and the output, you should be able to simply assign the output parent to the input parent, and a tree copy will occur.
If you need to modify the structure under the output parent, then you need to assign each field individually - or do detachs and attachs and stuff to manipulate the structure and sets to manipulate the contents.
You can also look at the LIST and ROW operators to help with some kinds of structures. _________________ I am *not* the model of the modern major general. |
|
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
|
|
|
|