[Logo]
Forums Register Login
How to use Basic Authentication in Axis?
Can someone tell me how to use basic authentication in Axis, any documents or useful links. Thanks a lot!
The Web Services FAQ has code examples of how to set HTTP authentication on the client, and how to access it in Axis.
Hi friends ,
I am getting this exception while trying to access web service please help:
client code:
stub._setProperty(stub.USERNAME_PROPERTY, "UMWSSIRC");
stub._setProperty(stub.PASSWORD_PROPERTY, "Hiper2012Zer0409");

after running error:
{http://xml.apache.org/axis/}HttpErrorCode:401

(401)Unauthorized
at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:744)

but the same credentials working fine when i test in SOAP UI.

does any one phased this problem please help
permaculture is a more symbiotic relationship with nature so I can be even lazier. Read tiny ad:
Create Edit Print & Convert PDF Using Free API with Java
https://coderanch.com/wiki/703735/Create-Convert-PDF-Free-Spire


This thread has been viewed 19873 times.

All times above are in ranch (not your local) time.
The current ranch time is
Apr 19, 2019 20:36:14.