Hi there,
I've been troubleshooting a weird problem in Axis2 1.5.1. I've build a
service, which translates the SOAP Body content between one Web Services
endpoint on one side and multiple endpoints on the other. Some of the
multiple endpoints require HTTP Authorization and some of them not.
The problem was that the authorization header was reused between the
endpoints, which stopped some of them working. I've had the
MessageContext set correctly the property HTTPConstants.AUTHORIZATION,
but it was ignored and once one server used the HTTP authorization
header, the same header was used for the others.
The workaround is just to force HTTPConstants.CACHED_HTTP_CLIENT=null
every time.
I believe, that in the AbstractHTTPSender on line 500 the Params need to
be first cleared before they get set again.

Hope it helps,

Cheers,

Martin


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to