Thanks you so much for your time and reply.
After reading your reply, i did lot of reading. The one question which i
have from your reply is, are you saying that I can refer the xsd in the
@Path like below?
@Path("/ws/GetAvailabilitySchema.xsd")
public interface GetAvailability{
@GET
public Availability getAvailability();
}
public class GetAvailabilityImpl implements GetAvailability{
@GET
public Availability getAvailability(){
}
}
Then I will have a standalone client code like below (which will be invoked
by a EJB method):
public class GetAvailabilityWSClient{
public void processWSClient(){
GetAvailability getAvail =
JAXRSClientFactory.create("http://remotewstest.com", GetAvailability.class);
Availability availability = getAvail.getAvailability();
}
}
Then the getAvail.getAvailability() in the GetAvailabilityWSClient will
return the Availability object based on the xsd?
Thanks Again
Anil Mathew
--
View this message in context:
http://cxf.547215.n5.nabble.com/How-to-use-XSD-file-with-cxf-tp5708311p5708925.html
Sent from the cxf-user mailing list archive at Nabble.com.