cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Beryozkin <sberyoz...@gmail.com>
Subject Re: XML/HTTP without SOAP in CXF
Date Thu, 28 Jun 2012 12:53:24 GMT
On 28/06/12 13:29, kdesin wrote:
> Hi all,
>
> I am able to use the  WebClient.getConfig(client).getHttpConduit().<methods>
> to get the conduit for a WebClient.
>
> and additionally I did this in my config file:
>
> <http-conf:conduit name="*.http-conduit">
>        		<http-conf:client ConnectionTimeout="6000000"
> ReceiveTimeout="6000000" Cookie="Hello"/>   	      		
> </http-conf:conduit>
> 		
> So when I post to my service provider,I would like to capture the request
> headers so that I can validate that the custom header configuration has been
> sent.
>
> Please let me know if I can capture them or let me know if this is the
> correct approach?
Please review a JAXRS Basics section:
http://cxf.apache.org/docs/jax-rs-basics.html

You can use either an HttpHeader parameter annotation or HttpHeaders context

Sergey
>
> Saludos
> Kartheek
>
> -----
> Saludos
> Kartheek
> --
> View this message in context: http://cxf.547215.n5.nabble.com/XML-HTTP-without-SOAP-in-CXF-tp5710174p5710406.html
> Sent from the cxf-user mailing list archive at Nabble.com.


-- 
Sergey Beryozkin

Talend Community Coders
http://coders.talend.com/

Blog: http://sberyozkin.blogspot.com

Mime
View raw message