-
1. Re: jaxws:client exposed on the nmr?
ffang Sep 12, 2010 9:46 AM (in response to aarong)Hi,
Yeah, we support this scenario.
Which means you have cxf server and client endpoint deployed in the container using nmr transport.
Take a look at cxf-nmr-osgi test bunde[1], the import part for the configuration is
You can see it's almost same as you configure standalone cxf client/server over http, but now use nmr transport.
https://svn.apache.org/repos/asf/servicemix/smx4/features/trunk/examples/itests/cxf-nmr-osgi/
https://svn.apache.org/repos/asf/servicemix/smx4/features/trunk/examples/itests/tests/src/test/java/org/apache/servicemix/examples/CXFNMRIntegrationTest.java
Freeman
-
2. Re: jaxws:client exposed on the nmr?
aarong Sep 13, 2010 12:44 AM (in response to ffang)And this will take a message from the nmr, and forward onto the jaxws:client, which in essence, should send a message to the webservice?
Kinda like the old cxf-bc:provider did in 3.X series of ServiceMix?
-
3. Re: jaxws:client exposed on the nmr?
ffang Sep 13, 2010 1:16 AM (in response to aarong)Hi,
jaxws:client based on nmr transport is a webservice client which can send request/receive response in NMR container(SMX4) using nmr transport.
cxfbc:provider play the role as client and handle external protocol(http or jms) out of JBI container.
Freeman
-
4. Re: jaxws:client exposed on the nmr?
aarong Sep 13, 2010 11:03 AM (in response to ffang)Ahhh...ok, so this jaxws:client recvs. sends it's request(s) on the NMR to an other webservice that is living in/on the NMR..i gotcha.
I was looking for a cxf-bc:provider like capability, where, a web service that lives outside of SMX, can be sent a request from a message off the NMR, where the cxf-bc:provider is more of a proxy between the NMR & the outside web service. So a endpoint that uses the NMR, can send a request to this outside webservice.
But from what it sounds like, I can't do that with jaxws stuff, I need to use the cxf-bc & JBI EndpointExporter bean(s).
Thanks for the help, cheers,
Aaron