jcamus wrote:
Hi,
I have a question of architecture.
How will you do that :
I have SOAP methods exposed with a .WSDL file into CXF-BC consumer and
implemented into
a CXF-SE. Into this CXF-SE I need to call remotely a service (but not a SOAP
web service) implemented as Spring HTTPServlet.
My question : is it ok to inject directly the connector of this remote
service into the CXF-SE or use the NMR to a given BC (not CXF-BC in that
case) that will do the job (call the remote service) ?
I don't recommand you call remote service from cxf se directly. Per JBI
spec, all protocol communication should be handled by bc. So send
message from cxf se to nmr then a proper bc is a correct solution.
I am not sure I have understood completely what is a CXF-BC provider (is it
a component with java code you can implement or only automatic component
(without CXF-SE) that send SOAP request to a remote service) ?
I'm not sure I understand your question correctly, it's just a JBI
provider endpoint(you may need get some concept from JBI specs) which
can route soap request to external web services, like the way you use
cxf bc consumer, cxf bc provider need some correct configuration
When defining a CXF-BC provider have we got a linked CFX-SE as with CXF-BC
consumer?
No, the message can be from any JBI consumer endpoint
Regards.
--
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com