|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Writing an ESQL routine for a Mapping Node |
« View previous topic :: View next topic » |
Author |
Message
|
nthepak |
Posted: Wed Oct 08, 2008 1:11 am Post subject: Writing an ESQL routine for a Mapping Node |
|
|
 Voyager
Joined: 19 Dec 2005 Posts: 79 Location: India
|
Hi All,
I have a mapping node for which i require to write the ESQL routine for one of the target elements as I have to copy the entire input XML message to the field.
I am not sure whether i can access the InputBody and OutputBody in the Routine that can be written for a Mapping node. If not, then please let me know how can i map the entire input XML message to this target field.
Please note that the reason behind using the Mapping node is that, I am creating a Web Service SOAP request message based on the provided WSDL file.
Waiting for the replies... _________________ BR,
Deepak N |
|
Back to top |
|
 |
Gaya3 |
Posted: Wed Oct 08, 2008 1:30 am Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
|
Back to top |
|
 |
nthepak |
Posted: Wed Oct 08, 2008 1:41 am Post subject: |
|
|
 Voyager
Joined: 19 Dec 2005 Posts: 79 Location: India
|
Thanks for the reply...
What i understand from "esql:<Fill function name>($source/<Parameters if any>)" expression is that i have to call the <Fill function name> Function esql routine for the $source/<target element name>.
however, i also want to know whether i can access the InputRoot and OutputRoot trees in the Function that i am going to call in the value section. Because, when i right clikc on the expression and select the "Esql routine", in the target pane, i can only see the routines written outside any module (i.e., in a default schema) and i dont think we can access the InputRoot and OutputRoot here.
Please correct me if i am wrong. _________________ BR,
Deepak N |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Oct 08, 2008 2:51 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Sounds awfully like you need a CDATA field with the xml message in it.
I would try to solve this in a compute node and not in a mapping node...
Enjoy  _________________ MQ & Broker admin |
|
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
|
|
|
|