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 » Generating SOAP Response with Root node of XML

Post new topic  Reply to topic
 Generating SOAP Response with Root node of XML « View previous topic :: View next topic » 
Author Message
Thripura Sundari
PostPosted: Tue Aug 02, 2005 9:42 am    Post subject: Generating SOAP Response with Root node of XML Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Tue Aug 02, 2005 10:23 am    Post subject: Reply with quote

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
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 » Generating SOAP Response with Root node of XML
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.