How to remove RelatesTo element from SOAP header in synchronous response? RRS feed

  • Question

  • Hi,

    We are using WCF Adapter's WsHttpBinding for our integration scenario. On receiving the message from the client (Java) we need to send an acknowledgement immediately and then send asynchronous response to the ReplyTo address provided in SOAP Header at a later time. The sample SOAP headers in request and acknowledgement are as below:

    Request Header

          <a:Action soap:mustUnderstand="1">MyService</a:Action>
          <a:To soap:mustUnderstand="1">https://myservice.com/MyService/MyService.svc?wsdl</a:To>

    Acknowledgement / Response Header

          <a:Action soap:mustUnderstand="1">MyService</a:Action>

    The java client for some reason is treating the acknowledgement as the final response when the RelatesTo element is present. But WCF adapter by default is generating this element.

    Is it possible to suppress this element through configuration or code?

    Your help and guidance is greatly appreciated. Thanks in advance.



    Thanks, mm2709
    Thursday, January 26, 2012 10:22 PM


All replies