Error consuming SOAP HTTP status 415

Error consuming SOAP HTTP status 415

  

Hi,


I'm consuming a SOAP Webservice and getting an error:

HTTP status 415: Cannot process the message because the content type 'text/xml; charset=utf-8' was not the expected type 'application/soap+xml; charset=utf-8'..>"

I've tested the service successfully with the SoapUI testing tool.

Is there any way to at least view and preferably modify the xml being generated? There doesn't seem to be any way to increase the log detail or pre-process the xml?

Thanks in advance,

Gavin

Solution

Error is due to OS only supporting SOAP 1.1 & I'm calling a SOAP 1.2 WebService. Fortunately my provider also exposes a SOAP 1.1. WebService and it now works.

Thanks to Tiago Garcia at OS support.

Solution