WSDL Encoding Error

Having trouble installing Oxygen? Got a bug to report? Post it all here.
kingargyle
Posts: 58
Joined: Fri Nov 11, 2005 6:35 am

WSDL Encoding Error

Post by kingargyle »

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: 8992
Joined: Fri Jul 09, 2004 5:18 pm

Post by Radu »

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
Joined: Fri Nov 11, 2005 6:35 am

Post by kingargyle »

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