0 Replies Latest reply on Jul 6, 2008 2:33 PM by Oliver Kraeft

    Derived class and generated WSDL

    Oliver Kraeft Newbie

      Hi everyone,
      i'm building a webservice with an ejb3 stateless session bean, something like this:

      @SOAPBinding(style = SOAPBinding.Style.RPC)
      public class Calculator implements CalculatorRemote
       public int test3(int value, DataItem dataItem)
       // TODO Auto-generated method stub
       return value+dataItem.getValue();

      DataItem is the base class for the class SpecialDataItem.

      My problem is, that the generated WSDL (with JBoss 4.2.2) doesn't contain the type definition for the derived class SpecialDataItem, only the definition for DataItem.

      How can i get this? Any ideas?