cancel
Showing results for 
Search instead for 
Did you mean: 

hexadecimal characters instead of XML

Former Member
0 Kudos

Hi,

Any idea what could be the problem. XI is receiving XML-messages via plain HTTP-post, but somehow XI cannot parse the XML-file. Instead it gives that heksadecimal höpöhöpö (finnish word for nonsense) underneath. Any help is more than welcome

xmlData=%3c%3fxmlversion%3d%221.0%22encoding%3d%22iso-8859-1%22%3f%3e%0d%0a%3cORDERS05

%3e%0d%0a%3cIDOCBEGIN%3d%221%22%3e%0d%0a%3cEDI_DC40SEGMENT%3d%221%22%3e%0d%0a%3cTABNAM

%2f%3e%0d%0a%3cDIRECT%2f%3e%0d%0a%3cIDOCTYP%3eORDERS05%3c%2fIDOCTYP%3e%0d%0a%3cMESTYP%

3eORDERS%3c%2fMESTYP%3e%0d%0a%3cSNDPOR%3e1%3c%2fSNDPOR%3e%0d%0a%3cSNDPRT%3e1%3c%2fSNDPRT

%3e%0d%0a%3cSNDPRN%3e1%3c%2fSNDPRN%3e%0d

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

This can be avoided by using proper encoding scheme in ur communication channel.try using <b>encoding scheme UTF-8</b> which will not convert the character into any special characters.

in case of ur file adapter it can performed by giving the basic type as text and encoding scheme as UTF-8.try implementing the encoding scheme.

regards

jithesh

Former Member
0 Kudos

Hi,

But in case of HTTP post XI doesn't need any communication channel to receive the messages. Should I still create one?

Former Member
0 Kudos

Hi,

when use a http adapter then there is a option called XML MANIPULATION where u can specify the encoding technique carried out in ur xml part in case u need to avoid the conversion oon the special character.

In case http client tool i think u can specify it in the xml declaration like <xml encoding="UTF-8"> someting like this.. and then send ur payload.

regards

jithesh

Message was edited by: jithesh balakrishnan

Former Member
0 Kudos

Hi Tapio,

If you are getting special characters like european characters then the data when coming to XI should be in encoding ISO-8859-1.

Also, please check if your SAP XI is configured for unicodes.

Regards

Vijaya

Answers (0)