WEB-Services / SOAP

Moderators: None (Apply to moderate this forum)
Number of threads: 97
Number of posts: 124

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Configure WSDD with exceptions info Posted by marta_casais on 15 May 2012 at 1:56 AM
Hello,

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?



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.