So I generate a Stub, Proxy, ProxyService and ProxyServiceLocator files using
the WASDL2Java command line tool from Axis.
How do I use these classes to authenticate my username/password properly?
What I've been doing is editting the Stub classes and in the createCall()
method I add the following code:
_call.setUsername("Username");
_call.setPassword("Password");
right before it starts enumerating through the keys.
This has got to be wrong! What is the *right* way to do this?
This is how I initiate my service:
MyWebServiceProxyServiceLocator serviceLocator = new
MyWebServiceProxyServiceLocator();
MyWebServiceProxy myWebService = serviceLocator.getMyService001();
And doing it this way there seems to be no method in those objects to accept
username/password
--
View this message in context:
http://www.nabble.com/-Axis-1.4---Java--How-to-authenticate-properly--tf4821846.html#a13794973
Sent from the Axis - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]