Dear Friends,

I am trying to invoke the getQuote() method in the service
urn:xmltoday-delayed-quotes. But I keep getting the message that
I am unauthorized to access the service. I user the following method call
to set the user name and password.
           stub._setProperty(org.apache.axis.client.Call.USERNAME_PROPERTY,
"user1");
           stub._setProperty(org.apache.axis.client.Call.PASSWORD_PROPERTY,
"pass1");

Also I am running the service on localhost. I have included the above
username and passwd in the perm and users files under axis in tomcat. Can
anyone help me to understand the way to set the access to the service and
successfully access the service using the username and password.
Thanks


Sandeep L


Reply via email to