Author |
Message
|
ydsk |
Posted: Tue May 31, 2005 12:17 pm Post subject: \0 appearing in a output message from a message flow |
|
|
Chevalier
Joined: 23 May 2005 Posts: 410
|
Hi
I am experiencing a strange problem that too occasionally on a broker on AIX.
I am using the same xml input message every time but sometimes it results in a part of the message becoming binary zeroes like....<Customer><Value>12345</Val\0\0\0\0\0Customer>......
The same message works fine many times but fails sometimes resulting in the above output. Pls note the part of the closing tags 'Value' and 'Customer' becoming '\0'.
Has anyone faced this problem earlier ? Pls let me know.
Appreciate any clues/pointers.
Thanks. |
|
Back to top |
|
 |
shalabh1976 |
Posted: Wed Jun 01, 2005 3:26 am Post subject: |
|
|
 Partisan
Joined: 18 Jul 2002 Posts: 381 Location: Gurgaon, India
|
Hi,
If the \0 appears in the position you are talking about then the XML is badly formed and the message flow should be throwing an exception and you should not be getting any output message.
Is this the case or you are actually getting the message as shown in the output queue ?
If possible you can post the code that constructs this message. _________________ Shalabh
IBM Cert. WMB V6.0
IBM Cert. MQ V5.3 App. Prog.
IBM Cert. DB2 9 DB Associate |
|
Back to top |
|
 |
ydsk |
Posted: Wed Jun 01, 2005 1:07 pm Post subject: |
|
|
Chevalier
Joined: 23 May 2005 Posts: 410
|
Hi,
We are using some third party tools to put messages onto the message broker, and maybe they are causing some problem. Will get back to the forum after looking more into the issue.
Thank you. |
|
Back to top |
|
 |
ydsk |
Posted: Wed Jun 01, 2005 1:11 pm Post subject: |
|
|
Chevalier
Joined: 23 May 2005 Posts: 410
|
It's a part of the output message that I have shown above, not the input. The input xml is fine. The \0 are appearing in the output. |
|
Back to top |
|
 |
shalabh1976 |
Posted: Wed Jun 01, 2005 11:52 pm Post subject: |
|
|
 Partisan
Joined: 18 Jul 2002 Posts: 381 Location: Gurgaon, India
|
How are you viewing the xml files ? On Windows or AIX. You may wish to put a file trace before your output node to see exactly what is being sent to the output node. If possible you may post the file trace. _________________ Shalabh
IBM Cert. WMB V6.0
IBM Cert. MQ V5.3 App. Prog.
IBM Cert. DB2 9 DB Associate |
|
Back to top |
|
 |
ydsk |
Posted: Thu Jun 02, 2005 6:45 am Post subject: |
|
|
Chevalier
Joined: 23 May 2005 Posts: 410
|
Hi,
It looks like it is throwing an exception but we are handling most of the exceptions ourselves in the esql code.
Will post more on this later. Currently busy with some other issues of higher priority.
Meanwhile if any of you have any clues, please post them.
Thanks in advance for the help. |
|
Back to top |
|
 |
|