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."


cannot be processed at the receiver, due to an AddressFilter mismatch at the EndpointDispatcher


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 true. Then select the checkbox "Add default wsa:To"


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

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

The message could not processed

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.


configure WCF-WSHttp adapter




If you have questions or suggestions, feel free to do in comments section below !!!


Do share if you find this helpful .......
 
                          Knowledge Sharing is Caring !!!!!!





Post a Comment

If you have any suggestions or questions or want to share something then please drop a comment

Previous Post Next Post