A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Configure WSDD with exceptions info
Joined: Jun 04, 2009
May 14, 2012 14:33:41
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Configure WSDD with exceptions info
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
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015