Skip to Content
author's profile photo Former Member
Former Member

Consume WCS service with wsHttpBinding and <security mode ="Message">

Hi.

I've been browsing the web for some time now, and have not found a way to consume a WCS service with wsHttpBinding and <security mode ="Message"> set.

Changing the security mode to None is not a solution in my case.

Hope one of you have had success with it!

Best Regards...

Peter

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 06, 2014 at 10:03 AM
    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi again.

      The fault message is: a:BadContextToken
      Text must be some default text, becuse it describes most errors possible 😊:

      The message could not be processed. This is most likely because the action 'http://********/Data/Services/DatahubIntegratorOutbound/1.0/DatahubIntegratorOutboundService/TestConnectivity' 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.

      Using the wcsTestClient tool, the service works as expected.

      Again, there are hundreds of post concerning this issue, but I have not seen a post resolving it.

      Best regards...

      Peter

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.