This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Annotation for regular expression.

 
Minhaj Mehmood
Ranch Hand
Posts: 400
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any annotation to put regex pattern into auto generated WSDL such as following schema?
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
I don't recall having seen such an annotation.
If you want to try it yourself, then run a WSDL with such a type through the JAXB XML schema compiler (XJC) and look at the generated Java classes.
Best wishes!
 
Minhaj Mehmood
Ranch Hand
Posts: 400
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ivan Krizsan wrote:Hi!
I don't recall having seen such an annotation.
If you want to try it yourself, then run a WSDL with such a type through the JAXB XML schema compiler (XJC) and look at the generated Java classes.
Best wishes!


Damn!!! why this idea did not came in my mind!!!
You're the best IK

Well Nevertheless, i tried a mimic program and created a web service using top-down approach and found java web services don't have such option/feature/annotation.


Thanks

Minhaj
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic