on 11-30-2007 7:42 AM
Hey!
I have a synchronous request coming in to a proxy in the ERP system. The request is an XML sent via XI's HTTP adapter.
My problem is that the content of the XML is read with hexadecimal values and causes problem for the mapping.
It starts off like this:
xmlInput=%3C%3Fxml%20version%3D%221.0%22%3F%3E%0D%0A%3C%21DOCTYPE
Anyone have any idea of how to remove the hexas from the payload? Is this possible for me at the receiver side or should the encoding be different on the sender side?
Thanks for all help!
regards Ole
There is no standard functionality for this.
You have to write a Java mapping to transform the hex values to characters.
In your case the source even cannot be recognised as XML, as the identifiers < > ? are escaped.
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you are getting special characters or european characters then the data when coming to XI should be in encoding ISO-8859-1 or ISO-8859-1.
Also, please check if your SAP XI is configured for unicodes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey!
Jepp, SAP XI is configured for unicodes.
Do I need some special settings in the receiver adapter here (The receiver adapter that is not needed)? I am not able to tweak the encoding from the presystem so I have to see if there is any way to modify the payload before the mapping.
regards Ole
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.