Content type error in a WS Consumer


TestRequest_ProcessFlow is triggered as a WS Provider. The request is mapped and submitted to Test_DMS_WSConsumer where it fails with the below error:

Error in execution for activity WsMessageCall:Test_DMS_WSConsumer:172020200100134157815840200027 [The server sent HTTP status code 415: Cannot process the message because the content type 'application/soap+xml; charset=utf-8;action="""' was not the expected type 'text/xml; charset=utf-8'.]


The error is thrown when you try to hit a SOAP 1.1 service from a SOAP 1.2 WS activity.


The WSDL that you are using i.e. "DMS.wsdl" is a SOAP 1.2 service, but the end point (“” ) that service is trying to hit is SOAP 1.1 that results in this issue.

To resolve this, try creating the WS consumer activity using URl option and provide the following WSDL URl “” and after saving this try to hit the consumer again.

Have more questions? Submit a request


Article is closed for comments.