Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

  • Posted on 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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.