I have a MyClass class (extends Exception) which is throw by a method in
my web service. I used wsdl2java to generate the proxy classes from its
wsdl. And there is <wsdl:fault...> element in the <wsdl:operation...>
element for this method in the wsdl. When I invoke the method via the
proxy,for example:
try{ twss= new TestWebServiceServiceLocator(); tws = twss.getTestWebService();
tws.myMethod()
}catch(MyClass e) {}
catch(RemoteException e){}I do throw MyClass Exception from my web service method via "throw new MyClass()" and I don't catch it at the server side. But I can't catch is at the client side. There is a AxisFault exception caught at the client side. Does this mean that I can never catch MyClass at the client. The axis doedn't transfer it,does it?
So, how can I transfer my exception via axis? Thanks!
Sincerely!!
Gerry Gao
_________________________________________________________________
享用世界上最大的电子邮件系统― MSN Hotmail。 http://www.hotmail.com
