axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dumindu Pallewela" <>
Subject Re: Basic Auth POST Sent Twice
Date Wed, 29 Oct 2008 19:08:35 GMT
Hi David,
The reason it sends two requests is because the client is not sure which
auth mechanism to use (Basic/Digest). It sends the request without Auth data
and determines the requested auth type, looking at the response.

If you configure the server to force Basic Auth, request will only be sent
once. Please refer to the Axis2/C manual [1] section 16.



On Wed, Oct 29, 2008 at 4:10 AM, David Taylor (Lowell) <>wrote:

>  I am using AXIS2/C 1.5.0 with ADB stubs generated by AXIS2/Java 1.4.1.  I
> have the whttp:defaultMethod in my WSDL file binding set to POST which I
> verified is being used from tcpdump captures.  But, I also noticed that the
> POST messages, which are not supposed to be interpreted as safe are always
> being sent twice.  This is with Basic authentication.  Is there a way to get
> POST messages with Basic authentication to only be sent once?
> Thanks,
> -David K. Taylor

View raw message