Based on your original post, I am assuming that you are looking to use
the component as a producer.  I took a cursory look through the Spring
WS API docs and found two classes of interest:
org.springframework.ws.transport.http.CommonsHttpMessageSender [1] and
org.springframework.ws.transport.http.HttpsUrlConnectionMessageSender
[2].

If your SSL and client transport configuration needs are simple, you
can stick to using HttpsUrlConnectionMessageSender.  If your needs are
more complex (client-auth, etc), I would recommend going with
CommonsHttpMessageSender.  If you choose to use
CommonsHttpMessageSender, Camel 2.8 does have support for configuring
Commons HTTP 3.x with the JSSE configuration utility, albeit in an
indirect manner.  The Camel HTTP Component also uses HTTP 3.x and
provides some level of support for the JSSE configuration utility
[3][4].  Unfortunately, Commons HTTP 3.x makes it pretty difficult for
Camel to manage TLS settings cleanly so we created a helper class that
allows you to inject configuration from the JSSE configuration utility
into the global Commons HTTP configuration.  You should be able to use
the SSLContextParametersSecureProtocolSocketFactory class from the
Camel HTTP Component to hand an SSLContextParameters instance to
Commons HTTP 3.x and then use the CommonsHttpMessageSender to make
Spring WS use the Commons HTTP library.

Buyer beware: I haven't tried any of this yet so this is all just
supposition based on the documentation.


[1] 
http://static.springsource.org/spring-ws/sites/2.0/apidocs/org/springframework/ws/transport/http/CommonsHttpMessageSender.html
[2] 
http://static.springsource.org/spring-ws/sites/2.0/apidocs/org/springframework/ws/transport/http/HttpsUrlConnectionMessageSender.html
[3] http://camel.apache.org/http.html
[4] http://hc.apache.org/httpclient-3.x/sslguide.html



On Fri, Jul 29, 2011 at 4:03 PM, bvahdat <babak.vah...@swissonline.ch> wrote:
>
> BTW, I also created the ticket you asked me for, see
> https://issues.apache.org/jira/browse/CAMEL-4275
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/need-some-advice-on-cxf-or-spring-ws-tp4643001p4648181.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



--
David Valeri
-------------------
Twitter: DavidValeri
Blog: http://davidvaleri.wordpress.com/
FuseSource: http://fusesource.com

Reply via email to