comment inline

Freeman
Fullocto wrote:

bsnyder wrote:
If you're invoking a web service that is external to the ESB, then why
not use the servicemix-cxf-bc to invoke it and simplify the matter?



It looks idiot, I know ;) Actually, I am practising and my further goal is to understand how to invoke
an internal service.

I've already succeeded:
-to call an external provider (with a chain of BC consumer + BC provider)
-to call the external provider using a CXF proxy in a CXF SE service.
-to call a CXF SE service in anoter CXF SE service (using CXF-PROXY)

But I like to be able to call it "manually" to do as if I have to call a
POJO service in service mix (without using a proxy even if maybe it is the
best way). I tried to find how the message is handeld in the source code of CXF SE and
how the XML element are extracted but this operation seems to be managed by
org.apache.cxf.jaxws library
(endpoint.publish(jbi://+ID_GENERATOR.generateSanitizedId());

I do not know where to search to understand how the jbi messages are parsed CXF, jaxws sources ? or samples/examples with SE beans?
you may need take a look at the jbi binding and jbi transport which host in apache cxf code base, [1] and [2] for more details, also there is a wiki [3] how cxf integrate with servicemix may help

[1]http://svn.apache.org/repos/asf/cxf/trunk/rt/bindings/jbi/
[2]http://svn.apache.org/repos/asf/cxf/trunk/rt/transports/jbi/
[3]http://servicemix.apache.org/integrate-cxf-with-servicemix.html





Reply via email to