Ask a Question

WCF services testing with SOAP UI

arjun1238
Not applicable

WCF services testing with SOAP UI

Hi,

I am using soapUI tool to test my wcf services.It is not working with WSHttpbinding.

Please tell me how to test WSHttpbinding with soapUI tool.In some sites i find below solutions but not working
SOLUTION1
Please follow the steps as mentioned below:

1.)Expose the service for the required Application with Wshttp bindings.

2.)In web.config file add the binding information as given below:

<bindings>
<wsHttpBinding>
<binding name="wsHttpBindingNoSCT">
<security mode="None">
<transport clientCredentialType="None" />
<message establishSecurityContext="false" />
</security>
</binding>
</wsHttpBinding>
</bindings>

3.)Reset IIS

4.)In SOAP UI Check Whether WS-A is enabled.
Trigger a request in SOAP UI...U will get the corresponding response...
IT IS NOT WORKING

SOLUTION2

[ServiceContract(SessionMode=SessionMode.Required)]

In the above change to [ServiceContract(SessionMode=SessionMode.Allowed)] this is working. But i need to use Required Only

How can i get rid of this problem ?
PLS PLS HELP ME
3 REPLIES 3
akaur
New Contributor

Hi Arjun,

I am facing the same issue. Did you find the solution for it?
SmartBear_Suppo
SmartBear Alumni (Retired)

Hi,

WsHttpBinding is not currently supported in SoapUI (as of v4.6.2).
WsHttpBinding turns on a number of WS-* protocols by defaults. Some of them we support, such as:
- WS-Security http://www.soapui.org/SOAP-and-WSDL/app ... urity.html
- WS-Addressing http://www.soapui.org/SOAP-and-WSDL/usi ... ssing.html
- WS-ReliableMessaging http://www.soapui.org/SOAP-and-WSDL/usi ... aging.html

But there are also a number of other standards used in wsHttpBinding that are not supported by SoapUI Pro (e.g. WS-SecureConversation, WS-SecurityPolicy)

Thanks,
Michael Giller
SmartBear Software

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Arun05
New Contributor

Hi, Do we have any plans to add support for WsHttpBinding in SOAPUI in its coming versions? Will be great if we can have this feature as well in it? Please do let us know.


Thanks.
Arun
cancel
Showing results for 
Search instead for 
Did you mean: