Forum Discussion

kesav's avatar
kesav
Occasional Contributor
17 years ago

wshttpbinding

I am trying to test a WCF service which uses wshttpbinding.I get a timeout error. Is this binding is supported? If so,let me know the version.

Thanks and Regards,
Kesav
  • omatzura's avatar
    omatzura
    Super Contributor
    Hi!

    It depends on the configuration of the wsHttpBinding (ie which standards it uses/requires).. can you post the WSDL the service is exposing?

    regards!

    /Ole
    eviware.com
  • kesav's avatar
    kesav
    Occasional Contributor
    I am attaching the wsdl file. I tried out few more things. I copied the request created by WCF Test client and used it in SOAP UI, This time I got a response but with error saying
    "The message could not be processed. This is most likely because the action 'http://tempuri.org/IService1/AddTwoNumbers' 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 am not sure what I am doing is right or wrong? 

    Thanks and Regards,
    Kesav
  • kesav's avatar
    kesav
    Occasional Contributor
    Hi Ole,

    Did you have a chance to look into this?

    Thanks and Regards,
    Kesav
  • omatzura's avatar
    omatzura
    Super Contributor
    Hi Kesav,

    yes.. the policy in the WSDL specifies a rather comples WS-Security and WS-Addressing setup which you would have to configure manually in soapUI. Alternatively maybe you can expose the service with the BasicHttpBinding for testing purposes only?

    regards!

    /Ole
    eviware.com