dkulp wrote:
> 
> That example is for a server side thing to get the headers that were sent
> in 
> with the request (or add headers to the response).    The
> WebServiceContext is 
> really a server side thing.    The client side has the RequestContext and 
> ResponseContexts on the proxy object. 
> 

Thanks, Dan.  That should have been obvious and the RequestContext keyword
made finding stuff much easier :-D
Looks like this would be how you add headers by modifying the proxy's
requestcontext:
http://markmail.org/message/3bmkff6hgmzvtqet
and calling the method after mucking w/ the proxy is covered here (under
"Setting Connection Properties with Contexts"):
http://docs.huihoo.com/apache/cxf/2.0/developing-a-consumer.html
I couldn't find an example in the CXF samples.

Modifying the proxy's context seems to be the most straightforward thing to
do.  Adding an interceptor seems to be somewhat convoluted, but no as
convoluted as using x.509 certificates to access Amazon's web services
:confused:
Will post what I had to do when I get this working...
-- 
View this message in context: 
http://old.nabble.com/how-do-you-add-parameters-to-soap%3Aheader-in-CXF-generated-WS-client--tp26763343p26779899.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to