File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Web Services
Bookmark "Generated WSDL with schema validation" Watch "Generated WSDL with schema validation" New topic

Generated WSDL with schema validation

Ole Hornischer

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

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?

I agree. Here's the link:
subject: Generated WSDL with schema validation
It's not a secret anymore!