permaculture playing cards
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

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:
subject: Logical Data Validation in Axis2
It's not a secret anymore!