Skip to Content

SOAP Axis (401)Unauthorized

Hi, everyone.

Hope someone can help me.

I have developed an interface Proxy2Webservice (IBM API Gateway). Gateway requires a field on HTTP Header called Client Id. I used Dynamic Configuration and SOAP Axis to add the field and it worked for one interface. For other two interfaces I get the error I mentioned on the topic. The difference is that for those two interfaces I used an XSLT to create the SOAP Envelope. Has anyone have any ideas on how to solve that problem?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Dec 14, 2016 at 05:45 AM

    Hello Oscar,

    Make sure the Header is formed as per requirement,This error is because of authentication only.

    You can check the Soap header by the approach below

    https://blogs.sap.com/2015/10/26/http-tracing-in-soap-receiver-adapters-with-tracehttp-module-parameter/

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 14, 2016 at 03:28 PM

    I believe you have set the option "Do not use Soap Envelope" in both channel if you are creating SOAP envelope in mapping.

    Additionaly check if you have any Handler bean for header authentication.

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 15, 2016 at 05:04 PM

    I was able to disable the parameter as mandatory in IBM Api Connect. Now I can use SOAP instead of SOAPAxis.

    I´ve developed interfaces between PI and Salesforce but, since the latter has announced they will accept TLS1.1 or higher protocols only, the client I work for found as a solution to use a Gateway (API Connect) which accpets TLS 1.0 from PI and forward the message using TLS1.1. The client did not want to update PI because of costs and risks. All the interfaces should be tested.

    Thank you for your help.

    Manoj K, using SOAP Axis we don´t have such option.

    Raghuraman, I didnt know that module parameter. It will be really helpful in future projects.

    Add comment
    10|10000 characters needed characters exceeded