I am developing an app under Java that has to call at some point a web service developed under navision that requieres domain user/pass which I have been provided with.
Right now this WS is not public, and I have to connect to certain VPN with different user/pass to be able to call the web service so I can properly test my code.
Every time I call it, I get a 401 code as a response, refusing my authentication.
I have tried using java.net.authenticator setting a default authenticator and org.apache.commons.httpclient setting default credentianls in the proper scope and still no positive answer was received.
I have also tried using external testing with soapUI without success, although I am not 100% configutation is correct.
Anyway, how can I identify the source of my authentication problem?
I am not sure if this is due to the fact that I am testing under vpn connection or ratther navision web services require some kind of special treatment, or both of these situations simultaneously.
I will welcome any thoughts, approaches, or comments.
Thanks