|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Special character does not work with HTTPRequestNode |
« View previous topic :: View next topic » |
Author |
Message
|
geethgubi |
Posted: Tue Jun 30, 2009 6:44 am Post subject: Special character does not work with HTTPRequestNode |
|
|
Apprentice
Joined: 18 Dec 2008 Posts: 44
|
An xml is coming in from one flow. This xml doesnt contain any xml declaration statement at the top. I checked the queue manager ccsid and it is 819. I have the HTTPRequestNode inside my flow which calls the webservice. The xml spec for the webservice doesnt allow any MQMD headers and the xml (thts been constructed for webservice) doesnt contain any xml declaration within it. There are special characters in the incoming xml (�) and part of it is sent to the webservice. The request is failing in the HTTPRequestNode with the parsing exception saying unconvertable character. So can someone suggest me how to handle this issue.
Note: I tried putting xml declaration with utf-8 once and utf-16 once. But it is failing even with that.
Can some one help me on what to do for this issue |
|
Back to top |
|
 |
Vitor |
Posted: Tue Jun 30, 2009 8:33 am Post subject: Re: Special character does not work with HTTPRequestNode |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
geethgubi wrote: |
Can some one help me on what to do for this issue |
If the incoming XML has no declaration, it's implicit that the XML is in the correct code page for the receiver. Hence if it's not, that's a problem for the sender.
If there are special characters in the XML, check that they're properly escaped if necessary, and that the XML is well formed (try opening it in IE or XMLSpy).
Other advice is the same as always - take a user trace, see what's exactly happening inside the broker and respond accordingly _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
rekarm01 |
Posted: Sun Jul 05, 2009 1:35 pm Post subject: Re: Special character does not work with HTTPRequestNode |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 1415
|
geethgubi wrote: |
An xml is coming in from one flow. |
What type of input node does the message flow use?
geethgubi wrote: |
There are special characters in the incoming xml (�) |
The sender needs to specify how it encoded the xml message, when it sends the message, in one of the message headers. If the declared encoding does not match the actual encoding, then the message flow cannot read the xml message properly.
Without more detailed information about the xml message, such as the message header contents, and physical byte representation, there's not much more to say. |
|
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
|
|
|
|