The client payload you show below looks like SOAP 2.3.1, which is good.  It should be 
able to properly encode characters as UTF-8, and as you see, it specifies that charset 
in the Content-Type header.

The error response from the server is very generic.  Are you certain that the URL is 
correct?  If you point your browser to http://dragos:8000/soap/servlet/soaprouter, 
what do you see?  If Apache SOAP is configured to handle that URL, your browser should 
show a page with the message "Sorry, I don't speak via HTTP GET- you have to use HTTP 
POST to talk to me."

Scott Nichol

Do not send e-mail directly to this e-mail address,
because it is filtered to accept only mail from
specific mail lists.
----- Original Message ----- 
From: "Dragos Vilcu" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 19, 2004 10:36 AM
Subject: Re: SOAP CHARSET UTF-8


I'm using for the client "soap.jar" provided by  Oracle - iAS v1.0.2.2.
Soap version (server and client) : SOAP v1.1
Server : Oracle HTTP Server Powered by Apache/1.3.22 (Win32)

I've tried using a newer version of soap for the client, but it didn't work
at all :

The call looks now like this :
POST /soap/servlet/soaprouter HTTP/1.0
Host: dragos:8000
Content-Type: text/xml; charset=utf-8
Content-Length: 1835
SOAPAction: "urn:wsrpp"
<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>

.......

but I encounter the following error from the server :

HTTP/1.1 400 Bad Request
Date: Thu, 19 Feb 2004 15:32:13 GMT
Server: Oracle HTTP Server Powered by Apache/1.3.22 (Win32) mod_ssl/2.8.5
OpenSSL/0.9.6b mod_fastcgi/2.2.12 mod_oprocmgr/1.0 mod_perl/1.25
Set-Cookie:
JServSessionIdsoap=mk9dp648u1.n79vnQXN/A5NnlbJnBeIokTOp3DGpQbvp6vJqReUb38LbK
--; path=/
Connection: close
Content-Type: text/html; charset=iso-8859-1
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>400 Bad Request</TITLE>
</HEAD><BODY>
<H1>Bad Request</H1>
Your browser sent a request that this server could not understand.<P>
<HR>
<ADDRESS>Oracle HTTP Server Powered by Apache/1.3.22 Server at
dragos.asesoft.intl Port 7778</ADDRESS>
</BODY></HTML>





Reply via email to