|
Hi, How I can get user name and password from
MessageContext class object? I use Axis2 release 1.0. I write custom module and
handler. It work correctly. On client side I set username and password into
options properties and send. Options options = new Options(); options.setTransportInProtocol(Constants.TRANSPORT_HTTP); HttpTransportProperties.ProxyProperties
basicAuthentication = new HttpTransportProperties().new ProxyProperties(); basicAuthentication.setUserName("admin"); basicAuthentication.setPassWord("axis2"); options.setProperty(org.apache.axis2.transport.http.HTTPConstants.PROXY, basicAuthentication); options.setTo(targetEPR); ServiceClient serviceClient = new ServiceClient(); serviceClient.setOptions(options); But on service side in handler my message context is
empty. Thank you Best regards, MERA NN /EMA/custom software |
- [Axis2]MessageContext Smirnova, Natalya
- Re: [Axis2]MessageContext robert lazarski
- RE: [Axis2]MessageContext Smirnova, Natalya
- RE: [Axis2]MessageContext Smirnova, Natalya
- Re: [Axis2]MessageContext Eran Chinthaka
- RE: [Axis2]MessageContext Smirnova, Natalya
