Hi Davide,

It depends if we talk about CXF as binding component or as service engine (or
both :)).

Using CXF-SE (using WebService annotated POJOs), you can expose a service in the
SMX NMR but the service is not available from outside.
You need to add a HTTP based SU in front of your CXF-SE to expose the underlying
WSDL.
On the other hand, CXF-BC is the opposite : you expose directly.

If you want only to expose an existing WSDL, you can use CXF-SE/HTTP.

You can find an example of CXF-SE/HTTP usage here :
http://servicemix.apache.org/6-intermediate-using-ejb-inside-servicemix.html

Regards
JB
--
Jean-Baptiste Onofré
[email protected]
BuildProcess/AutoDeploy Project Leader
http://buildprocess.sourceforge.net

On Fri 09/01/09 14:30, "Davide Gesino" [email protected] wrote:
> 
> I have to port my CXF standalone application in a Servicemix
> environment.
> I have a question about.
> 
> 1) how do the client access to the service, depending if the client is
> outside  or inside servicemix? 
> What is the difference? 
> In the first case I would expose the WSDL on http and I guess nothing
> would
be too difficult.
> In the second case is it still necessary to expose the WSDL? how can I
> access the service?
> How would I access the service from a client endpoint inside Servicemix
> (it
would be great if the example "cxf-wsdl-first" would have also a
> client
inside service mix)?
> Can you provide me an example with some code?
> 
> Thanks in advance
> 
> 
> 
> -- 
> View this message in context:
http://www.nabble.com/CXF-integration-in-Servicemix-tp21372340p
> 21372340.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
> 
> 
> 
> 


Reply via email to