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