This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread 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


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: 63
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?
 
Have you checked out Aspose?
 
subject: customizing EJB3 webservice response types?
 
It's not a secret anymore!