File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Android Security Essentials Live Lessons this week in the Android 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?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: customizing EJB3 webservice response types?
 
Similar Threads
EJB3 WSException: Cannot obtain java type mapping
jaxws and polymorfism
returning a 2-d array
basic jboss webservice naming
Setter method not generated in stub classes