cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos
Former Member
0 Kudos

Hi Harald.

Thanks for your reply.

I've read the blog (and it good:)) but does not cover the use of wsHttpBinding.

Best regards...

Peter

Former Member
0 Kudos

Hi Peter,

Ok. What is the exact error you reveive?

BR

Harald

Former Member
0 Kudos

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/TestCon...' 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