I think one of the simplest solution is to use JAXB directly for your case. You could find several articles by googling "JAXB Example".
Cheers, Woonsan ----- Original Message ----- > From: amathewcxf <[email protected]> > To: [email protected] > Cc: > Sent: Friday, November 11, 2011 4:10 PM > Subject: Re: Using Apache-CXF to communicate a third party application > >T hank you for the response. > > This is NOT a SOAP. Like Daniel mentioned below, they (third party payment > company) send us a XML schema representing data which we want to post to the > a URL (which is given by the payment company) and we get a response back via > XML. Note that the XML schema is just a document and not a file or a > document. > > I am wondering whether I can create POJO Java classes with setters/getters > based on the final XML document we need and "somehow" use apache-cxf > classes > to use the above POJO classes and the CXF will convert it to a XML and send > this document over the network to the payment company URL. > > Any thoughts on this will be helpful. > > Thank You for your time. > Anil Mathew > > > -- > View this message in context: > http://cxf.547215.n5.nabble.com/Using-Apache-CXF-to-communicate-a-third-party-application-tp4982907p4985578.html > Sent from the cxf-user mailing list archive at Nabble.com. >
