0 Replies Latest reply on Dec 4, 2006 12:35 PM by Andrea Giovannini

    Problems with exception mapping

    Andrea Giovannini Newbie

      Hi,
      I'm exposing a method of an EJB as a Web Service with JBoss 3.2.1 and JBoss.NET.
      This method declares an exception which doesn't extend java.rmi.RemoteException so in the resulting WSDL it appears as a wsdl:fault element. Axis can't map automatically all the exception's fields (it has a java.util.Collection of an Error class I developed) so I wrote a custom Axis serializer, in order to produce the correct WSDL and the correct runtime serialization.
      WSDL now is correct but the serialize() method of my serializer is never called...

      Any idea? Or pointers to tutorials/other posts/...?

      Thanks,
      Andrea