This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Web Services and the fly likes xsd restrictions in code-first approach Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Web Services
Bookmark "xsd restrictions in code-first approach" Watch "xsd restrictions in code-first approach" New topic
Author

xsd restrictions in code-first approach

chinni nani
Greenhorn

Joined: Jun 26, 2009
Posts: 3
Hi,

I am trying to create services using code-first approach. Is there a way how I can add xsd restrictions on WebParams? Like minLength, pattern etc?

Thanks,
chinni
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: xsd restrictions in code-first approach