I think you can only addHeader() on an HttpMethod, which is used directly
with the HttpClient, not HttpClientParams. You can set a custom HttpClient
on the CommonsHttpMessageSender, much like you specify the custom params ...
but, I'm not sure if a custom client will be enough to inject a custom
header.

Maybe Tom or Dan can answer this in more detail ...

-Brice

On 1/26/07, Luis Gasca <[EMAIL PROTECTED]> wrote:

Hi,

We are using a Dynamic client to invoke a Web Service deployed behind a
load
balancer. This load balancer will check for a non-standard HTTP header to
let
the request go through.

How can I add a custom HTTP header to a SOAP request ? I have looked at
both
client transport properties (via HttpClientParams) and out handlers, but
cannot find a solution.

any hint ?

Thanks,
Luis



---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email




--
Brice Ruth
Software Engineer, Madison WI

Reply via email to