You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Davide Gesino <wi...@libero.it> on 2009/01/09 14:30:08 UTC

CXF integration in Servicemix

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-tp21372340p21372340.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: CXF integration in Servicemix

Posted by Freeman Fang <fr...@gmail.com>.
Davide Gesino 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?
>   
no, yu can access the service using servicemix client api
> 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?
>   
You can find the code using client api to access service exposed by 
cxf-se inside servicemix container from [1]
[1]http://svn.apache.org/repos/asf/servicemix/smx3/branches/servicemix-3.2/deployables/serviceengines/servicemix-cxf-se/src/test/java/org/apache/servicemix/cxfse/CxfSeContextInjectionTest.java
Freeman
> Thanks in advance
>
>
>
>