Set mustUnderstand="0" in WCF Send Adapter RRS feed

  • Question

  • We have to call a WebService (Java based and no chance to change anything on the server side …)

    We use a Send Port with WCF-Custom Adapter and WCF-BasicHttp Binding.

    The Send Port returns the following Error:

    System.ServiceModel.Security.MessageSecurityException: An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail. ---> System.ServiceModel.FaultException: MustUnderstand headers:[{}Security] are not understood

       --- End of inner exception stack trace ---

    The SOAP Envelope created by the BizTalk Send Adapter contains the following:

    <o:Security s:mustUnderstand="1" xmlns:o="">

    The provider of the WebService told us that we just have to remove the “mustUnderstand” or change it to s:mustUnderstand="0"

    Question: How can we change or remove the ‘mustUnderstand’?

    Additional Info:

    We tried to use WCF-WSHttp Binding but this brought an Error because of a wrong Content Type …

    Sunday, May 7, 2017 12:04 PM

All replies