|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
& char in data from sap Idoc to WMB |
« View previous topic :: View next topic » |
Author |
Message
|
adars1 |
Posted: Tue Jul 15, 2014 10:01 am Post subject: & char in data from sap Idoc to WMB |
|
|
Apprentice
Joined: 13 Jun 2010 Posts: 39
|
Hi,
We are getting & as part of field data in IDoc from SAP to WMB through SAPAdapter and we are creating xml msg out of idoc. The receiver iSeries is expecting xml message to contain & so that their parser can parse that char as &. Is there way in WMB SAPAdapter to add amp; followed by &. |
|
Back to top |
|
 |
kimbert |
Posted: Tue Jul 15, 2014 12:23 pm Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
All XML parsers in WMB and IIB ( so that's XMLNSC, XMLNS, XML and MRM ) will *automatically* output the character entity '&' if a field contains a literal '&'.
Not sure what your message flow could be doing to get around that rule - unless the WMB SAPAdapter is not using one of the built-in XML domains. _________________ Before you criticize someone, walk a mile in their shoes. That way you're a mile away, and you have their shoes too. |
|
Back to top |
|
 |
adars1 |
Posted: Tue Jul 15, 2014 7:09 pm Post subject: |
|
|
Apprentice
Joined: 13 Jun 2010 Posts: 39
|
thanks kimbert for your reply. yes, wmb is outputting the character entity '&. the target team claimed they did not receive, we have to show them by saving msg from queue. |
|
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
|
|
|
|