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, 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.
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?
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.
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,