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
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?
 
Similar Threads
EJB3 WSException: Cannot obtain java type mapping
basic jboss webservice naming
returning a 2-d array
Setter method not generated in stub classes
jaxws and polymorfism