Hi,
I need to implement following components:
- Two service assemblies:
1. MySA1 assembly contains:
+ SA1-CXF-SE-SU: an internal business service engine (SE1Service).
It works as a component provider for other endpoints in NMR.
2. MySA2 assembly contains
+ SA2-CXF-SE-SU: (SE2Service) works as the component provider
for back-end business tasks.
+ SA2-CXF-BC-SU: works as the component consumer to expose
SA2-CXF-SE-SU to external world.
At the moment, everything is ok. Now I want to invoke methods at
SA1-CXF-SE-SU from the endpoint SA2-CXF-SE-SU.
After investigation, I find out that cxfse:proxy [1] could be the
solution. However, my SA1-CXF-SE-SU doesn't expose WSDL interface, it's
only the java-code-first web service, so I don't know how to declare
attributes in the cxfse:proxy element in the xbean.xml of the
SA2-CXF-SE-SU project:
<cxfse:proxy service="my:SE1Service" context="#context" type="???" />
Could you give some suggestion how to make it work out? Or is there
other way to allow two cxfse endpoints could interact with each other?
---
[1] http://servicemix.apache.org/servicemix-cxf-se.html
Thanks & best regards,
Canh