on 03-21-2006 8:51 AM
Hello,
I am trying a db to db scenario. I have a field in sender db which has a value " established woul" . Now I want to put it as it is the recv db. I am using a xsd:string data type for this field and am getting a mapping error in the "Request message mapping" - com.sap.aii.utilxi.misc.api.BaseRuntimeException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Invalid char #0x13(:main:, row:897, col:110).
Can any one please give some hints to solve it?
Regards,
Sanjay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you paste the same in the field in the mapping editor and see if it gives the same error?Otherwise can u paste the error that is generated in the IR?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sravya,
got this while testing
14:59:17 Start of test
Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Invalid char #0x13(:main:, row:813, col:128)
14:59:21 End of test
The point at which it threw the error was - established
It is not able to handle the control characters in the string. Is there any way to define the input field as CDATA so that I can tranfer it to the receving db without any change.
Sanjay
Hi Sanyjay,
you can put a XSLT serialisation before and a XSLT deserialistion after the message mapping.
Serialize with:
<xmlDocument>
<xsl:text disable-output-escaping="yes"><![CDATA[<![CDATA[
]]
>
]]>
Deserialize with:
<xsl:for-each select="//xmlDocument">
<xsl:value-of select="." disable-output-escaping="yes"/>
</xsl:for-each>
Regards,
Udo
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.