Forum Discussion

Shweta_D's avatar
Shweta_D
New Contributor
16 years ago

Does SOAP UI support SOAP 1.2?

Hi,

I am new to soapUI and used soapUI 3.0.1 Pro for testing a WCF service in VS 2008. I get the following error in the response.

"The message could not be processed. This is most likely because the action 'http://tempuri.org/IService/UserRoles' is incorrect or because the message contains an invalid or expired security context token or because there is a mismatch between bindings. The security context token would be invalid if the service aborted the channel due to inactivity. To prevent the service from aborting idle sessions prematurely increase the Receive timeout on the service endpoint's binding."

I found that soapUI supports SOAP 1.1 and so changed my service bindings to support basicHttpBinding. Again I get the following error:

"Cannot process the message because the content type 'application/soap+xml;charset=UTF-8;action="http://tempuri.org/IService/UserRoles"' was not the expected type 'text/xml; charset=utf-8' "

Later I downloaded the latest SOAP UI 3.5 -beta1, as the site mentioned it supports SOAP 1.2. But still i dont find HTTP version 1.2 in the Preferences, but on changing the interface properties to SOAP Version 1.2 i get empty response and HTTP/1.1 400 Bad Request.

Can I get help in this issue? How do I see a proper response and which version of soapUI will support SOAP 1.2?

Regards,
Shweta
  • Shweta_D's avatar
    Shweta_D
    New Contributor
    Hi,

    I was able to solve this issue by replacing "wsHttpBinding" to "basicHttpBinding"in config file.

    Thanks,
    Shweta
  • raghumvs's avatar
    raghumvs
    New Contributor
    Hello Shweta,

    I have been struggling finding the place to change the binding (from wsHttpBinding to basicHttpBinding) in soapUi tool. Would you please help me where this config file resides and how you changed it.

    Appreciate your help

    Thank you

    Shweta_D wrote:

    Hi,

    I was able to solve this issue by replacing "wsHttpBinding" to "basicHttpBinding"in config file.

    Thanks,
    Shweta