wood burning stoves*
The moose likes Web Services and the fly likes How enable WebService data type inheritance? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "How enable WebService data type inheritance?" Watch "How enable WebService data type inheritance?" New topic
Author

How enable WebService data type inheritance?

Udara Amarasinghe
Ranch Hand

Joined: Aug 17, 2009
Posts: 109

Hi, I am developing an application that use web service technology.
And in that web service application I have to develop web service that return some data type(ex : Person) as the web service response to the client.

Now, My problem is in here I need to pass some sub types of that data type(ex : Student, Teacher, Parent) as the web service response and client also have to identify that sub type and act as that data type.

So please someone guide me to fix this out.

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How enable WebService data type inheritance?
 
Similar Threads
Help to create a Web service that return javax.mail.internet.MimeMultipart
Newbie question - conversion of incoming XML document into generated object graph
JWSDP SOAPConnection Timeout
How to create Web service that returns javax.mail.internet.MimeMultipart
Identifying client details