Register / Login
File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Configure WSDD with exceptions info
posted 3 years ago
I have created a class that want to deploy as a Web Service.
With this WSDD file, it works fine:
<service name="MyClass" provider="java:RPC"> <parameter name="allowedMethods" value="*"/> <parameter name="className" value="lo.webServices.MyClass"/> </service>
But my class also can throw an exception: lo.webServices.MyFault and I do not know how to add this information to the file server-config.wsdd
If I don´t add the exception info in the WSDD, when the server throws the exception 'MyFault', in the client I receive 'AxisException', not the original exception.
Can anyone help me?
I agree. Here's the link:
axis - Exception FIXME on deploy
Issue when deploying wsdd file
User Defined Objects
org.xml.sax.SAXException: Bad types
How to allow multiple methods in SOAPService