Re: AXIS2 1.1.1 problem with BASIC AUTH

2007-04-22 Thread aassif
Hi, I went through the whole discussion and when tried to implement BASIC Authentication I can't find the Authenticator class, the one which I can locate is only HttpTransportProperties.Authenticator. But HttpTransportProperties.Authenticator doesn't have any property BASIC and seems to be

Re: AXIS2 1.1.1 problem with BASIC AUTH

2007-04-23 Thread aassif
Dear Geir Amdal, Thank you for reply. I have one query regarding Basic Authentication. I Axis 1.X, when we use Call.setUserName() or call.setPassword(), the details are encoded and sent to the server as HTTP Headers and which can be seen through TCP monitor. The username and password can be

Re: AXIS2 1.1.1 problem with BASIC AUTH

2007-04-23 Thread aassif
Hi, Thank you for your reply. I will try again today, but yesterday when I tried with different set of options the HTTP Header remained the same for each Web Service call. I assume that I must be missing something. Thank you for the help. Cheers Asif -- View this message in context:

Re: AXIS2 1.1.1 problem with BASIC AUTH

2007-04-23 Thread aassif
Dear Geir, If no Authorization header is present among the HTTP headers, I'd suspect the ServiceClient used by the stub was not configured correctly... One stupid question, do I need to manually configure ServiceClient to use Basic Authorization. Cheers Asif -- View this

Re: AXIS2 1.1.1 problem with BASIC AUTH

2007-04-23 Thread aassif
Dear Geir, Thank you for your help. I was doing exactly the same what was mentioned in the Thread and what you suggested today but yesterday I failed to notice the HTTP headers regarding Authorization: Basic. But today when I executed the client without any change it was working as required.

Re: AXIS2 1.1.1 problem with BASIC AUTH

2007-04-23 Thread aassif
Dear Geir, Thank you for your help. I was doing exactly the same what was mentioned in the Thread and what you suggested today but yesterday I failed to notice the HTTP headers regarding Authorization: Basic. But today when I executed the client without any change it was working as required.

Re: AXIS2 1.1.1 problem with BASIC AUTH

2007-04-24 Thread aassif
Dear Geir, Thank you for your reply. Your solution for OC4J was not working with Tomcat. I managed to make it work after getting ideas from your last reply which was using HttpServletRequest. Below is the working solution, which may help other readers. // acquire the active HTTP