I don't seem to have the class HttpTransportProperties.BasicAuthentication in Axis2 1.0. Is it in a later build? Same is true for HTTPConstants.BASIC_AUTHENTICATION.

Also, once these problems are ironed out, how do I set the options object on the client stub?

robert lazarski <[EMAIL PROTECTED]> wrote:
If your talking about the way call.setPassword etc worked in axis 1.x,
in axis2 it is:

HttpTransportProperties.BasicAuthentication
basicAuthentication = new HttpTransportProperties().
new BasicAuthentication();
basicAuthentication.setUsername(userName);
basicAuthentication.setPassword(password);

options.setProperty(HTTPConstants.BASIC_AUTHENTICATION,
basicAuthentication);

HTH,
Robert
http://www.braziloutsource.com/

On 6/20/06, Andrew B <[EMAIL PROTECTED]> wrote:
> Hi,
>
> My Axis1 -> Axis2 migration continues. The issue I have now is with getting
> the username and password within the Axis2 service. Are they now accessible
> via MessageContext.getProperty instead of getUsername() and getPassword()?
> If so, what are the names of the properties?
>
> Thanks
>
>
> ________________________________
> Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1ยข/min.

Reply via email to