Skip to Content

Change HTTP-Header using consumer-proxy

Dear experts,

I have a consumer proxy generated from a WSDL file given by the service provider. I assume because of issue of interoperability between SAP client and WCF service I get a response

The message with Action '' cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. This may be because of either a contract mismatch (mismatched Actions between sender and receiver) or a binding/security mismatch between the sender and the receiver. Check that sender and receiver have the same contract and the same binding (including security requirements, e.g. Message, Transport, None)

Looking at the HTTP header of SAP request

the problem is that I need to edit the content-type attribute value so that it includes the bolded string below

Content-Type: application/soap+xml;charset=UTF-8;action="http://tempuri.org/IAlphaSecureTransactions/CreditTransfer_001_03"

I tried using only SOAMANAGER to achieve this but to no result.

I need to edit the HTTP Header prior to consuming the web service using the generated proxy object.

Kind regards,

Konstantinos

untitled.png (25.6 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Feb 19 at 07:41 PM

    Hi Konstantinos,

    It is not necessary to change the HTTP Header, you can configure SOAP Action in SOAMANAGER. The option to configure SOAP Action in the Logical Port in SOAMANAGER can be found in the last step of the wizard (Operation Settings) or, in earlier releases, on the "Operation Specific" tab.

    Cheers,
    Felipe Zanettini

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 23 at 05:52 PM

    Hi felipe,

    ¿you refer this option?

    wsoperationspecifi.png

    How can I use this option?

    I appreciate very much if you have any link for a short guide?

    Add comment
    10|10000 characters needed characters exceeded