This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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
 
It's not a secret anymore!