Get your CodeRanch badge!*
The moose likes Web Services and the fly likes using SOAPFaultException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
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: 39547
    
  27
More detail can be found here.
[ January 17, 2006: Message edited by: Ulf Dittmer ]

Ping & DNS - updated with new look and Ping home screen widget
vijay kumar
Ranch Hand

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

Joined: Mar 22, 2005
Posts: 39547
    
  27
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
Problem in Throwing Exception
Using SOAP fault messages
Proper Exception handling in WebServices
How do I catch a user define exception on the client (SOAP/JAX-RPC/WSDL)
solution for extracting faultstring from SOAP FAULT EXCEPTION