1 Reply Latest reply on Feb 6, 2006 7:33 AM by thomas.diesler

    Polymorphism in JAX-RPC Web Services

    komal_singh

      Hi,

      I am developing a web service using EJBs. (in NetBean IDE and JBoss Server).
      The business logic requires me to use polymorphism, i.e, I want the return type in the SEI signature to be of generic class, whereas in teh bean implementation I return the concrete type.

      Will the client be able to receive the concrete type or will it get sliced??

      I know that XML itself supports inheritance and polymorphism, but I am not sure about Application Server/IDE, which seems to be the issue here.

      WOULD GREATLY APPRECIATE ANY HELP!!

      Thanks a bunch
      Komal