WSDL Encoding Error
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- 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.
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.
-
- Posts: 9436
- Joined: Fri Jul 09, 2004 5:18 pm
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
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
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- 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.
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service