WSDL Encoding Error

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
kingargyle
Posts: 58

WSDL Encoding Error

Wed Feb 28, 2007 3:55 am

Not sure if this is a SOAPUI error or if it's a Oxygen Error with WSDL Analyzer, but I'm getting a Encoding error when trying to communicate with a MockService from the SOAP UI eclipse plugin. I get the following back in the response:

org.apache.commons.httpclient.HttpException :
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<soapenv:Fault>
<faultcode>Server</faultcode>
<faultstring>java.io.UnsupportedEncodingException: "utf-8"</faultstring>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>

I'll also post a bug in the SOAP UI forum as well.
Radu
Posts: 5685

Wed Feb 28, 2007 9:43 am

Hi,

In the Mime headers sent along with the request we set the "Content-Type" header with the value : "text/xml; charset=utf-8". This is possibly why the server reports the exception.
Setting the header to this value is the default way of posting XML fragments and all servers should support this:
http://www.w3.org/International/O-charset

Maybe the server needs some internal reconfiguration:
http://www.w3.org/International/O-HTTP-charset

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
kingargyle
Posts: 58

Fri Mar 02, 2007 5:49 am

This was a bug with Soap UI, they are putting a fix in for their next snapshot release.

Return to “Common Problems”

Who is online

Users browsing this forum: No registered users and 0 guests