Thomas michelbach wrote:
Hi,
I'm trying to pass the Authorization header via HTTP.
Is there a way to do that?
Yes there is, set this flag in the authenticator:
auth.setPreemptiveAuthentication(true);
J.K.
-
To unsubscr
Hi Thomas,
I had the same problem. I use the following code - and it rocks ;-))
WebServiceStub.java (Constructor)
_serviceClient = new
org.apache.axis2.client.ServiceClient(configurationContext,_service);
configurationContext =
_serviceClient.getServiceContext(
Hi,
I'm trying to pass the Authorization header via HTTP.
Im using axis2 1.1.1 and trying to set the options like that
HttpTransportProperties.Authenticator auth = *new*
HttpTransportProperties.Authenticator();
auth.setUsername(username);
auth.setPassword(password);
options.setProperty(HttpTra