aspose file tools
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


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
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
Rancher

Joined: Mar 22, 2005
Posts: 42952
    
  73
More detail can be found here.
[ January 17, 2006: Message edited by: Ulf Dittmer ]
vijay kumar
Ranch Hand

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

Joined: Mar 22, 2005
Posts: 42952
    
  73
but it's giving error


Which is precisely what you want it do if you're throwing an exception, isn't it?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: using SOAPFaultException