Forum Discussion

arjun1238's avatar
13 years ago

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