What do you mean when you say validates the inbound request?  I can see the 
"unexpected subelement" message when a request is received that does not 
conform to the schema.  I would not call that valdiation.  I want to be able to 
return the actual error messages from the parser, similar to the #validate() 
method in XMLBeans.
Is this possible?
 
The only alternative I can see is to pull out the body and send that through a 
parser, which is not ideal.
 
Thanks,
J

--- On Sat, 6/12/10, Amila Suriarachchi <[email protected]> wrote:


From: Amila Suriarachchi <[email protected]>
Subject: Re: [Axis2] Schema validation with ADB
To: [email protected]
Cc: [email protected]
Date: Saturday, June 12, 2010, 1:38 AM





On Thu, Jun 10, 2010 at 1:40 AM, Jack Sprat <[email protected]> wrote:






Is there a simple way to perform schema validation when using ADB?  Examples 
would be quite helpful.
I know this is simple with XMLBeans but have a service using ADB where I need 
to validate the inbound request.

ADB validates the incoming request while parsing the request.

thanks,
Amila. 






 
Thanks.
J
 



      

Reply via email to