Author |
Message
|
visasimbu |
Posted: Thu Nov 11, 2010 4:58 am Post subject: Message parsing between XML and XMLNSC |
|
|
 Disciple
Joined: 06 Nov 2009 Posts: 171
|
Hi all,
I have input with message domain as 'XML'.
But i want to overwrite via input node. So i have set the property message domain property as XMLNSC. though it is not overwriten.
Any one know how to overwrite the message domain property. without writing a code. |
|
Back to top |
|
 |
Vitor |
Posted: Thu Nov 11, 2010 5:15 am Post subject: Re: Message parsing between XML and XMLNSC |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
visasimbu wrote: |
I have input with message domain as 'XML'. |
How do you know? Where do you see this? On the message itself? In a user trace? In a Word document on your desk?
visasimbu wrote: |
But i want to overwrite via input node. So i have set the property message domain property as XMLNSC. though it is not overwriten. |
I'm assuming (as you've not bothered to mention it) that this input is arriving via WMQ through an MQInput node. In the same way you've not bothered to mention WMB level, platform or any other details.
If so, the node settings are used if the message itself doesn't override them.
visasimbu wrote: |
Any one know how to overwrite the message domain property. without writing a code. |
If you'd spent a few moments looking through the documentation, you'd have found a node that does exactly this.
Though I struggle to see what problem having a message arriving in the XML domain would cause when you process it with XMLNSC.
 _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Nov 11, 2010 10:51 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
His message is possibly carrying an RFH header telling it needs to be parsed in XML??  _________________ MQ & Broker admin |
|
Back to top |
|
 |
Vitor |
Posted: Thu Nov 11, 2010 11:36 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
fjb_saper wrote: |
His message is possibly carrying an RFH header telling it needs to be parsed in XML??  |
Vitor wrote: |
if the message itself doesn't override them |
This was indeed the method I thought the message would be using. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
kimbert |
Posted: Thu Nov 11, 2010 1:49 pm Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
visasimbu: Two possible solution, in order of preference:
a) asked the upstream application to replace 'XML' with 'XMLNSC' in the mcd folder of the RFH2 header
b) set Parse Timing to 'On Demand' and put a ResetContentDescriptor node immediately after the MQInput node |
|
Back to top |
|
 |
|