Hi Andrea,
I never test it but in theory it should work, if you find any problem
just post it on mailling list.
Btw, now we have camel component which is more powerfuly than the EIP
componet IMHO, so you can take a look at it as well.
Best Regards
Freeman
Andrea Zoppello wrote:
Hi Freeman,
Thank you very much for your help.
By pipeline i means a process where, i use an EIP Pipeline, to call an
external webservice using a CXF(BC) and than go on on the flow.
I've successfully just used this approach with the old servicemix-http.
Here the use case as it's now
HTTP-BC -> XSLT SE -> EIP-PIPELINE ( <--> HTTP-BC ) -> Console
CXF-BC -> XSLT SE -> EIP-PIPELINE ( <--> CXF-BC ) -> Console (
StreamWriter Component )
I just want to know if this is possible with CXF-BC that's all.
Andrea
Freeman Fang ha scritto:
Andrea Zoppello wrote:
Hi all,
I need to start to use servicemix-cxf-bc, to get support for MTOM,
WS-Addressing and WS-Security but
i still have some doubts, about it.
Basically i need to use the CXF BC as i've done with old
servicemix-http,
For example i've a process HTTP(BC) -> Groovy (SE) -> Console Out
What i need to know is:
1) Is mandatory to use cxf-bc with cxf-se or it could be used as a
simple replacement for old http.
The message used in cxf-bc and cxf-se is using jbi wrapper, if your
component support jbi wraper, it can work with cxf component. Let's
say, cxf-se can work with http-bc if you enable jbi-wrapper for
http-bc component. something like <http:soap-consumer
useJbiWrapper="true" ...
And I guess your Groovy se need some improvement to support the jbi
wrapper message
2) Do i need to provide WSDL???
Yes, for cxf-bc, the wsdl is mandatory
3) It's possible to use the cxf-bc within pipeline??
I am not sure what you mean pileline here?
4) It's not clear to me how to add SSL support to CXF-BC
Besically, cxf-bc leverage ws-* feature from cxf, so you can find
lots of discussion on cxf mailing list about how cxf support ssl.
Also, you can refer to [1] for server side configuration, [2] for
client side configuration
Is there a very basic example of use of CXF-BC without cxf-se???
Yes, we have a test to show cxf-bc provider and consumer work
together without cxf-se, [3] for more details
[1]http://svn.apache.org/repos/asf/servicemix/smx3/trunk/deployables/bindingcomponents/servicemix-cxf-bc/src/test/java/org/apache/servicemix/cxfbc/ws/security/CxfBcProviderSecurityTest.java
[2]http://svn.apache.org/repos/asf/servicemix/smx3/trunk/deployables/bindingcomponents/servicemix-cxf-bc/src/test/java/org/apache/servicemix/cxfbc/ws/security/CxfBCSecurityTest.java
[3]http://svn.apache.org/repos/asf/servicemix/smx3/trunk/deployables/bindingcomponents/servicemix-cxf-bc/src/test/java/org/apache/servicemix/cxfbc/CxfBcProviderConsumerTest.java
Andrea