1 Reply Latest reply on Feb 4, 2008 3:40 AM by asoldano

    Using child class as argument in webmethod


      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?