|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Copy Message Headers functionality |
« View previous topic :: View next topic » |
Author |
Message
|
sandeep.nandanwar |
Posted: Tue Mar 03, 2015 8:13 am Post subject: Copy Message Headers functionality |
|
|
Novice
Joined: 21 Jan 2015 Posts: 13
|
Hi,
Scenario : I have to create a SOAP request message for invoking a Web Service in Compute node. The Request Message was created successfully which I have verified by connecting a MQOutput Node after compute node. However I didnt comment the CopyMessageHeaders procedure in the code and because of this inspite of the request message which was correct , i was not getting the proper response from the web service.I was getting HTTP 500 Internal Server Error. Operation Type = Unknown.
I had also set the value for MQMD = NULL in the compute node.
But, When I commented call to CopyMessageHeaders in the Main module of compute node the web service gave a proper response.
So here I would like to know what does CopyMessageHeaders procudure copies from the input message.
Thanks in Advance. |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Mar 03, 2015 8:20 am Post subject: Re: Copy Message Headers functionality |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
sandeep.nandanwar wrote: |
So here I would like to know what does CopyMessageHeaders procudure copies from the input message.
Thanks in Advance. |
I hope we are talking here about the standard IBM delivered procedure and not one that has been customized to do a lot of other things...
It copies all headers. The last item in the root tree is the parser which holds the message payload. This last item is not copied....
So say you had Properties, MQMD, RFH, XMLNSC on your InputRoot, you would end up with Properties, MQMD, RFH on your OutputRoot.
I hope this makes it clear.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
adubya |
Posted: Tue Mar 03, 2015 8:27 am Post subject: |
|
|
Partisan
Joined: 25 Aug 2011 Posts: 377 Location: GU12, UK
|
|
Back to top |
|
 |
sandeep.nandanwar |
Posted: Tue Mar 03, 2015 8:47 am Post subject: |
|
|
Novice
Joined: 21 Jan 2015 Posts: 13
|
Thanks to both of you for your Quick response to my Query. Just to summarize except the message payload(Body) rest all the things are copied by the procedure CopyMessageHeaders to the OutputRoot.
Thanks !!!
Sandeep |
|
Back to top |
|
 |
adubya |
Posted: Tue Mar 03, 2015 10:55 am Post subject: |
|
|
Partisan
Joined: 25 Aug 2011 Posts: 377 Location: GU12, UK
|
sandeep.nandanwar wrote: |
Just to summarize except the message payload(Body) rest all the things are copied by the procedure CopyMessageHeaders to the OutputRoot.
|
The things which are listed under the Root of the message tree in the link I posted are, yes. |
|
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
|
|
|
|