• Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB3 webservice required param annotation?  RSS feed

 
Johann Dobbins
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am making a web service using EJB3 and have run into an issue. I can't find a any annotation that can be used to make a WebParam required? Meaning, is there any way to force the glassfish compiler to make minOccurs = 1 instead of minOccurs = 0 in the generated .xsd?

Thank You
[ November 10, 2008: Message edited by: Johann Dobbins ]
 
Johann Dobbins
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
to clarify my question:

is it possible to annotate my webservice method parameters such that they will appear as non-nullable fields in the generated xsd?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!