Hello.
 
I send a java call to a Soap Web Service (Apache Server - Oracle9i ) and I have problems with characters like ş, ţ, ă, î, â (from Est-European languages).
The web-service receive '?' instead of proper characters.
 
my code :
 
//building the call
     ......................
     Call call = new Call();
     String serviceId = "urn:alladin";
     call.setTargetObjectURI(serviceId);
     call.setMethodName("parseSOAPMessage");
     call.setEncodingStyleURI(Constants.NS_URI_LITERAL_XML);
     .......................     
/////
 
This is how my request look like:
POST /soap/servlet/soaprouter HTTP/1.0
Host: dragos
content-type: text/xml
soapaction: "urn:alladin"
user-agent: Oracle-Soap-Client/1.0 HTTP/1.0
Content-Length: 565
........
 
And problably content-type should look like this :
Content-Type: text/xml; charset=UTF-8              ???????
or
Content-Type: text/xml; charset=ISO-8859-2       ???????
 
What can I do change charset to "UTF-8" or to "ISO-8859-2" when I send the request?
 
This would solve the problem with Est-European  characters ?
 
What else can I do ?
 
Thank you.

 

Reply via email to