on 01-04-2008 1:36 PM
Hello all,
At my current project we are interfacing between SAP and PeopleSoft.
The target system peoplesoft expects an xml exactly formed as follows.
So within the CDATA area "<" and ">" are expected. NOT "< ;" and "> ;" AND NOT "< ;" and "> ;"
<?xml version="1.0"?>
<IBRequest>
<ContentSections>
<ContentSection>
<Data>
<![CDATA <?xml version="1.0"?><SNS_UPDATE_DEB><MsgData><Transaction>
<EXTERNAL_SYSTEM class="R"><EMPLID IsChanged="Y">500000005</EMPLID>
<EFFDT IsChanged="Y">2008-01-22</EFFDT><EXTERNAL_SYSTEM_ID>SAP99003</EXTERNAL_SYSTEM_ID>
</EXTERNAL_SYSTEM></Transaction></MsgData></SNS_UPDATE_DEB>]>
</Data>
</ContentSection>
</ContentSections>
</IBRequest>
However the sending system does send the "<" and ">" within the CDATA are in 'escaped mode'.
Like below.
<?xml version="1.0"?>
<IBRequest>
<ContentSections>
<ContentSection>
<Data>
<!CDATA < ;SNS_UPDATE_DEB> ;< ;MsgData> ;< ;Transaction> ;>
</Data>
</ContentSection>
</ContentSections>
</IBRequest>
Trying an XSLT with: disable-output-escaping="yes" gave no results. Furthermore a UDF with a FindAndReplace function also doesn't work.
Does anyone have an idea how to fix this problem?
Hello,
Can you paste your XSLT code here?
BR,
Diptee
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ramon,
I assume that the UDF is no help because XI escapes the XML after it's passed through the mapping again. Have you tried a Module in the adapter engine that reverts the escaping right at the end of processing? This at least should make sure that no further modifications are done by anybody afterwards.
On the other hand, this is technically more challenging and a bit harder to monitor.
What adapter are you using to commnunicate with your target system?
regards,
Peter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.