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
- fault message Milos Cekovic
- Re: fault message scheu
- RE: fault message Schie, Sjaak van
- Re: fault message Monika . Huk
- Re: fault message Olivier Gauwin
- Re: fault message Davanum Srinivas