aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes customizing EJB3 webservice response types? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "customizing EJB3 webservice response types?" Watch "customizing EJB3 webservice response types?" New topic
Author

customizing EJB3 webservice response types?

Johann Dobbins
Ranch Hand

Joined: Oct 16, 2008
Posts: 62
I have a webservice, created with EJB3.0 annotations, with 2 methods that should return the same type. But the xsd generated by glassfish v2 returns different types.

to clarify, if my java code looks somthing like:



then the generated xsd will look something like:




but i would like both methods to return the same type, not two different types.

any suggestions?
 
 
subject: customizing EJB3 webservice response types?