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 Logical Data Validation in Axis2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Logical Data Validation in Axis2" Watch "Logical Data Validation in Axis2" New topic
Author

Logical Data Validation in Axis2

Nathan Hook
Ranch Hand

Joined: Jan 10, 2005
Posts: 81
We need to do logical data validation for our published web services and we're not exactly sure where to put this logic.

For example we have a web service that will add new users to our system, but each user must have a unique username. So when adding a new user we must check to see if the new username is available (requiring a database hit). If not, we need to send be an error or a fault.

I was thinking of using an Axis2 Handler for the job, but I don't seem to be able to return an error or a fault inside of the Handlers.

Any friendly help or a push in the right direction is appreciated.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Logical Data Validation in Axis2
 
Similar Threads
Axis2 - issue in getting the faultmessage and memory issue
How to create UsernameToken in Java WS client to compatble with .Net (.asmx) web service
Text Box Validation
Basic SOAP fault question
Web Service Client: Can't read fault instead an IOException is read.