[jboss-user] [JBossWS] - Using child class as argument in webmethod

claudio_br do-not-reply at jboss.com
Fri Jan 18 14:53:16 EST 2008


Hi,

In server side, I have 3 class (the Fone class with 2 childs: CellFone and HomeFone class)

public class Fone
  | public class CellFone extends Fone
  | public class HomeFone extends Fone

I have this Webmethod:

boolean addFone(Fone f).

My problem is: The classes CellFone and HomeFone does not appear in wsdl
I want to use the webmethod addFone with CellFone or HomeFone as argument.
How can I resolve this?
Thanks



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121428#4121428

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4121428



More information about the jboss-user mailing list