locked
Call WCF service from non-WCF client RRS feed

  • Question

  •  Hi!

     

    I'm looking for a sample of calling a WCF service (exposed via wsHttpBinding) from a non-WCF client (using WSE 3.0?).

    I found samples with a wcf service using basicHttpBinding, but never with wsHttpBinding.

     

    Any help...

     

    Thanks in advance !

     

    Thursday, December 20, 2007 12:20 PM

Answers

  • Use tracing or debugger to see what the service is doing with the request.

     

    The service's binding config would be helpful; I can't tell if you're using WS-SecureConversation or WS-ReliableMessaging as the session provider.  :-)

     

    (Marked as answer due to lack of response.)

    Thursday, December 20, 2007 7:53 PM

All replies

  • What do you want to accomplish by using WSHttpBinding which can't be done with BasicHttpBinding?

    Thursday, December 20, 2007 4:32 PM
  •  

    To enable SessionMode, which basichttpMode does not support.

     

    ( [ServiceContract(SessionMode = SessionMode.Required)] on the contract interface )

     

    Using a WSE client, i can throw a request that seems to be valid, but no response, timeout.

    Thursday, December 20, 2007 6:52 PM
  • Use tracing or debugger to see what the service is doing with the request.

     

    The service's binding config would be helpful; I can't tell if you're using WS-SecureConversation or WS-ReliableMessaging as the session provider.  :-)

     

    (Marked as answer due to lack of response.)

    Thursday, December 20, 2007 7:53 PM