Invalid or expired security context token or there is mismatch between bindings


While testing  WCF-WSHTTP based service using SOAP UI got following error

"The message with To ' ' cannot be processed at the receiver, due to an AddressFilter mismatch at the EndpointDispatcher. Check that the sender and receiver's EndPointAddresses agree."




Why it happened and what to do:


Issue was the Request message is missing a To tag in the soap header.

On the Message Editor, just below the request message window click on button WS-A(WS-Addressing) and set WS-Addressing property to 07ue. Then select the checkbox "Add default wsa:To"


At BizTalk end WSHttp adapter(the WCF service) utilises the WS-Addressing standard to identify the receive location to which the message needs to be submitted.

So that error was gone but a new error appeared as can be seen below:


To overcome this, go to receive location and click on configure WCF-WSHttp adapter and set the Security mode to None and you are done.











ServerLess360



Comments

Popular posts from this blog

The request has both SAS authentication scheme and 'Bearer' authorization scheme. Only one scheme should be used

Getting Started with Logic Apps - AS2

How to Debug and Trace request in Azure APIM - Portal, Postman, RequestBin