Try latest nightly build. This has been fixed after 1.1beta1. Thanks, dims
--- Olivier Gauwin <[EMAIL PROTECTED]> wrote: > Hi! > > I'm trying to use a Fault message but there's a problem with WSDL2Java. > > My WSDL file contains : > > <message name="SystemExceptionMessage"> > <part name="_return" type="tns:SystemException"/> > </message> > > <portType name="EchoServer"> > <operation name="echo" parameterOrder="input1"> > <input message=.../> > <output message=.../> > <fault message="tns:SystemExceptionMessage"/> > </operation> > </portType> > > where SystemException is a well-defined complex type. > > I can deploy it, etc... But when I use WSDL2Java on the client side, the > generated "echo" method has such a signature : > public int echo(int input1) throws java.rmi.RemoteException, null {...} > > null should be replaced by SystemException. This SystemException class > is generated but not used. > > I'm using Axis 1.1beta, but it worked with Axis 1.0 !!! > > Thanks! > Olivier > ===== Davanum Srinivas - http://xml.apache.org/~dims/ __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com