1

I have received a MS dynamics AX 2009 AIF web service WSDL url from the client and trying to consume it from a Java client. When i connect to IIS server (web service url) and pass the SOAP request with NTLM authentication i get the error message as mention below

     401 - Unauthorized: Access is denied due to invalid credentials.
You do not have permission to view this directory or page using the credentials that you supplied.

can anybody please help & let me know what it the approach one should follow?

In java i am using apache DefaultHttpClient class to establish the connection with IIS server using JCIFS library for NTLM V2 authentication. I am trying to consume the web service without using the MS dynamics AX .Net Business connector in java.

2
  • When presented with a new web service I always point a SOAPUI application at it. It's a free product and has helped me a lot with various types of web services. Commented Oct 29, 2012 at 7:31
  • Hi @user1776970, are you solved it? I'm developing a new service to do NTLM authentication nafiux.com/wasp if I can help you please let me know Commented Dec 11, 2014 at 19:22

1 Answer 1

1

Check these two questions:

But maybe your problem is a firewall issue, the address where the service lives is not public.

Sign up to request clarification or add additional context in comments.

1 Comment

your "but maybe" clause is usually the case.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.