jQuery in Action, 2nd edition*
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: http://aspose.com/file-tools
subject: Generated WSDL with schema validation
Similar Threads
Annotation for regular expression.
Invalid type (xsi:type) is set when XML request is generated from web service client
Axis 1.4 throwing org.xml.sax.SAXException: Invalid element
in Schema Dynamic value for maxLength - help