Re: HTTP Authorization Header

2007-03-02 Thread Jarek Kucypera
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

AW: HTTP Authorization Header

2007-03-01 Thread Steinberg Martin
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(

HTTP Authorization Header

2007-03-01 Thread Thomas michelbach
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