Skip to Content
0
Former Member
Mar 12, 2009 at 10:35 PM

How to preserve white space from proxy sender through to JMS receiver?

675 Views

Hi,

I have a scenario where a proxy is sending a call to PI and this is mapped to a JMS receiver.

I'm using SAP NW PI 7.1.

Does anybody know how to preserve white space (blank padding) in the XML fields?

Here is what I have tried so far:

1) Using the "whiteSpace" facet with value "preserve" on the field in the XML data type used by the proxy sender (set in the 'Details' column, as per http://help.sap.com/saphelp_nw70/helpdata/EN/b2/439347ce019848bf3ad9c000d414c3/frameset.htm).

2) Adding an enumerated attribute "space" to the field with value "preserve" (as per the XML spec.) in the XML data type.

3) In the PI mapping, concatenate trailing blanks back onto the field and enclose the mapped field in <![CDATA[ and ]]>. Looking at the queues in the mapping, this seems to work. But looking at the processed message in the MONI, the trailing blanks have again been stripped from the target message.

Does anybody have any other ideas?

Thanks.