This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Web Services and the fly likes Logical Data Validation in Axis2 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Web Services
Reply 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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Logical Data Validation in Axis2
 
Similar Threads
Web Service Client: Can't read fault instead an IOException is read.
How to create UsernameToken in Java WS client to compatble with .Net (.asmx) web service
Basic SOAP fault question
Axis2 - issue in getting the faultmessage and memory issue
Text Box Validation