Page 1 of 1

WSDL Encoding Error

Posted: Wed Feb 28, 2007 3:55 am
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="">
<faultstring> "utf-8"</faultstring>

I'll also post a bug in the SOAP UI forum as well.

Posted: Wed Feb 28, 2007 9:43 am
by Radu

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:

Maybe the server needs some internal reconfiguration:


Posted: Fri Mar 02, 2007 5:49 am
by kingargyle
This was a bug with Soap UI, they are putting a fix in for their next snapshot release.