Hi,

I am trying out CXF and configured my service use both the simple front end
and the jax-ws front end. To illustrate the problem, let me briefly describe
the service first.

The service expose a method: 
public User getUser(int id);

And the User class is a standard POJO bean that has properties like:
firstName, lastName, address, etc, with corresponding getters and setters. 

What I noticed is that using the simple front end, the wsdl file contains a
generated schema definition for the User class. However, the jax-ws front
end will leave that off. 

I have two questions:
1. Is the schema definition for the User class important? If missing, how
does the client know what to expect?
2. How to configure the jax-ws front end to also include this schema
definition for the User class, if possible?

Thank you in advance for your help.
-- 
View this message in context: 
http://www.nabble.com/Including-schema-for-bean-classes-in-thw-wsdl-file-using-JAX-WS-tp20496933p20496933.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to