• Post Reply Bookmark Topic Watch Topic
  • New Topic

Generated WSDL with schema validation  RSS feed

 
Ole Hornischer
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!