aspose file tools*
The moose likes Web Services and the fly likes Generated WSDL with schema validation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Generated WSDL with schema validation" Watch "Generated WSDL with schema validation" New topic
Author

Generated WSDL with schema validation

Ole Hornischer
Greenhorn

Joined: Nov 14, 2008
Posts: 27
Hi!
Is it possible to add schema restrictions to parameters via JAX-WS annotations?

Example:
I have a method

The parameter streetname should always be longer then 3 characters, to avoid gigantic result lists. I would like this to be a restriction in the schema like

How can I make sure that the generated WSDL file includes such a restriction on the parameter?

Cheers
Ole
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Generated WSDL with schema validation