This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: customizing EJB3 webservice response types?