bsheward
14 years agoNew Contributor
SOAP 1.2 .Net WCF Service expecting text/xml content?
Hi,
I have imported a WSDL file from a .Net WCF web service. If I right-click on the entry within soapUI 3.6 and select "Show Interface Viewer", I can clearly see SOAP Version: SOAP 1.2.
If I open a request against that service, and view the raw output, I see:
However, if I run the request and check the raw response, I see:
As I understand it, (according to http://hadleynet.org/marc/whatsnew.html#S3.7.1) , A SOAP 1.2 service should be expecting type 'application/soap+xml'.
Has anyone else experienced this and know of a workaround?
Thanks and Regards,
Barry
I have imported a WSDL file from a .Net WCF web service. If I right-click on the entry within soapUI 3.6 and select "Show Interface Viewer", I can clearly see SOAP Version: SOAP 1.2.
If I open a request against that service, and view the raw output, I see:
POST http://... HTTP/1.1
Accept-Encoding: gzip, deflate
Content-Type: application/soap+xml; charset=UTF-8; action="http://tempuri.org/..."
However, if I run the request and check the raw response, I see:
HTTP/1.1 415 Cannot process the message because the content type 'application/soap+xml; charset=utf-8' was not the expected type 'text/xml; charset=utf-8'.
Server: Microsoft-IIS/7.0
X-Powered-By: ASP.NET
As I understand it, (according to http://hadleynet.org/marc/whatsnew.html#S3.7.1) , A SOAP 1.2 service should be expecting type 'application/soap+xml'.
Has anyone else experienced this and know of a workaround?
Thanks and Regards,
Barry