File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes using SOAPFaultException Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "using SOAPFaultException" Watch "using SOAPFaultException" New topic
Author

using SOAPFaultException

vijay kumar
Ranch Hand

Joined: Nov 05, 2005
Posts: 58
How to throw SOAPFaultException explicitly at the server side.
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
Did you read the article http://www-128.ibm.com/developerworks/library/ws-tip-jaxrpc.html mentioned by Ulf for your previous posts ?

that article will get you started.


Spritle Software Blogs
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35253
    
    7
More detail can be found here.
[ January 17, 2006: Message edited by: Ulf Dittmer ]

Android appsImageJ pluginsJava web charts
vijay kumar
Ranch Hand

Joined: Nov 05, 2005
Posts: 58
but it's giving error
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35253
    
    7
but it's giving error


Which is precisely what you want it do if you're throwing an exception, isn't it?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: using SOAPFaultException
 
Similar Threads
How do I catch a user define exception on the client (SOAP/JAX-RPC/WSDL)
Proper Exception handling in WebServices
Using SOAP fault messages
solution for extracting faultstring from SOAP FAULT EXCEPTION
Problem in Throwing Exception