Skip to Content
avatar image
Former Member

SOAP Http(Axis) Channel returns 401 Unauthorized SAP PI 7.31

Hi Experts

I face with a problem with simple soap scenario. I want to use soap-service on IIS Microsoft Windows Server 2012r2. The soap service uses NTLM-authentification. When I use SOAP UI from local computer service works fine.

Because of NTLM-authentification I try to use Apacher Axis CommonsHttp components

I install Apache components on PI server

1) Can somebody tell me if all components used is correct or may be obsolete.

2) Is there any other way to make scenario work not using Axis

soap1.jpg (28.3 kB)
soap2.jpg (117.9 kB)
soap3.jpg (161.3 kB)
Soap4.jpg (219.4 kB)
Soap5.jpg (229.2 kB)
Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    Nov 20, 2015 at 06:16 PM

    Hello Vladimir,

    What kind of NTLM Version does your receiver application is expecting? I had the same issue as well in the past when I'm trying to connect to my Sharepoint service. They were using NTLM V2 I guess, whereas we can't able to achieve this version using Axis adapter..

    Thank you,


    Add comment
    10|10000 characters needed characters exceeded

  • Nov 20, 2015 at 10:45 PM

    Hi Vladimir,

    Please try updating Apache HttpComponents HttpClient (ex-Jakarta Commons HttpClient) library. If SharePoint uses NTLMv2, then official web site of Apache HttpComponents project states support of NTLMv2 has been provided starting from HttpComponents HttpClient 4.1 (refer to Apache HttpComponents - HttpComponents News). On one of past projects, we used following bundle for Axis libraries - it worked well for integration with SharePoint and NTLM authentication.

    This was output of Axis Adapter Message Servlet:

    And here is a list of libraries which were bundled into

    As far as I can see, the newest version of this library is already 4.5.1, so you may try this version instead of using older ones.



    Axis lib files.png (24.0 kB)
    AxisServlet.png (148.1 kB)
    Add comment
    10|10000 characters needed characters exceeded