Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
0
Answer
consume wcf service with wshttpBinding in SOAP UI PRO 4.5
Tulasi
12y
3.5k
1
Reply
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 ?
Post
Reset
Cancel
Answers (
0
)
Next Recommended Forum
how to retrive the data from sqlserver using wcfservices
I want to Add multiple images and other data at a time WCF