On 15/11/11 01:26, amathewcxf wrote:
After lot of reading, I am fairly certain for the client part I will have to
go with CXF "proxy-based" Client API.
i.e we need to use JAXRSClientFactory

But i still can't understand how this is going to use the data I need to
send to the destination (server) at the other side.

I read about using JAXRSClientFactory.create(“http://endpoint_url...”), but
if at all I used JAXB generator to generate an XML document how am i going
to send this XML document to this endpoint URL via CXF?

JAXRSClientFactory needs an interface or concrete class which represents a remote endpoint. If you don't have then just use WebClient, post a bean 'capturing' that XML doc, or wrap it in Document or (Stream)Source if you actually have a raw XML document...

Sergey

Any help will be appreciated.

Thanks
Anil M

--
View this message in context: 
http://cxf.547215.n5.nabble.com/Using-Apache-CXF-to-communicate-a-third-party-application-tp4982907p4993095.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to