Hi all,
I recently moved to 6.1 from 5.1 and a previously working
soap request is now failing
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server.userException</faultcode>
<faultstring>java.io.UTFDataFormatException: Invalid UTF8 encoding.</faultstring>
<detail/>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
I changed the encoding on my request to ISO-8859-1 and it now works in WAS 6.1.
So my question is does anyone why that is? Obviously its become more strict but I havent been able to locate any documentation on it. I am not even sure if I selected a good encoding method now. If anyone has any better suggestions then let me know. The request Im sending is basically a html page in CDATA tags.
Thanks a lot