[jboss-user] [JBoss.NET] - Problems with exception mapping

jova73 do-not-reply at jboss.com
Mon Dec 4 12:35:23 EST 2006


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

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

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



More information about the jboss-user mailing list