on 03-08-2006 6:24 AM
Hi everyone,
I created a web service based on XI.
Everything works except the fact that I am unable to send hebrew text from my HTML page to XI. If I put a break point in my RFC (SAP side) I get gibrish instead of hebrew.
Is there a way to solve this problem ?
Thanks in adavnce.
Hi David,
Can you check whether the Code page for Hebrew is installed on your XI server?
And also check your encoding type in XML coming from webservice, I think it should be <b>iso-8859-8-i</b> for Hebrew.
<?xml version="1.0" encoding="iso-8859-8-i"?>
Regards,
Ananth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi David, Thoe i do not have first hand experience handling Hebrew characters in XI payload,
i can think of a few things you may have to check.
I beleive the XI integration engine typically handles
UTF-8 code pages. So the adapter that you use to send data to XI must convert from any other
code page to
UTF-8 code page. Say , for a file adapter, we set the file encoding so that file adapter will know
the incoming data is in a different
code page and converts it
into UTF-8 code page before sending it to the
inetgration engine.
Similarly i beleieve , in your case , the HTTP adapter should be notified(how??)
that the incoming data is of a different encoding. Suggest you explore this option.
Well , a simple way of checking whether your data is in unicde is to use a tool like UNIPAD , cut-paste
your data to this unipad and if you see junk ,
then its non-unicode.
Also , chk the RFC adapter documentation -> constraints section
http://help.sap.com/saphelp_nw04/helpdata/en/33/c6e63b60c25767e10000000a11402f/content.htm .
will give info on unicode compatibility.
Pls do share the resolution in the forum , after you find it, ll help ppl.
Regards
Saravana
In SP14 the content type is not transfered to the mapping programs, they have forgot to set it in the html adapter that accepts the file.
It is best to send in UTF-8 from your external system because of this. If you intend to route on the content using XPATH, it must be UTF-8.
However, the body of the message is transfered binary clean to the mapping program, so it is possible to do a charset conversion in a mapping program using java, or abap (in se24 conv gives classes for charset conversion)
You can also take a copy of the class that handles the http request, and modify it to do the charset conversion in the adapter class. Then you set up your own servie in SICF transaction.
Good luck.
Try including that in a payload content and see if it z working.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.