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.

Jan B. Kjeldsen
  • 17,817
  • 5
  • 32
  • 50
user1776970
  • 41
  • 1
  • 3
  • When presented with a new web service I always point a [SOAPUI application](http://www.soapui.org/) at it. It's a free product and has helped me a lot with various types of web services. – ian_scho Oct 29 '12 at 07:31
  • Hi @user1776970, are you solved it? I'm developing a new service to do NTLM authentication https://www.nafiux.com/wasp/ if I can help you please let me know – Ignacio Ocampo Dec 11 '14 at 19:22

1 Answers1

1

Check these two questions:

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

Community
  • 1
  • 1
Jan B. Kjeldsen
  • 17,817
  • 5
  • 32
  • 50