That's done by the jaxb provider or gson parser present in cxf client. That 
will convert the xml/json to the Availability object.

I shared with you the standalone sample cxf client and that's working in my 
project.

Regards,
Abhishek

-----Original Message-----
From: amathewcxf [mailto:[email protected]] 
Sent: Friday, June 01, 2012 10:42 AM
To: [email protected]
Subject: RE: How to use XSD file with cxf

Thank you for the reply.

That's what i thought and i already generated the java objects from xsd
using the Eclipse IDE. Now your second point is where I have the issue.

i.e "Then you can use those objects in your cxf webservice client.". In my
example below, 

Availability availability = getAvail.getAvailability(); 

Availability  is one of the Java object which i generated via Eclipse based
on xsd.

What i don't understand is how will the cxf use the response data and gets
back the Availability java object. 

Thanks
Anil Mathew

--
View this message in context: 
http://cxf.547215.n5.nabble.com/How-to-use-XSD-file-with-cxf-tp5708311p5708960.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to