axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "T. Allen" <...@verizon.net>
Subject Re: [Axis2] Schema validation with ADB
Date Mon, 14 Jun 2010 14:16:45 GMT
Can you provide a few more details in your answer?  That may help cut 
down on the follow-up questions.
What do you mean by "validate against it" in your reply?  How do you 
validate?
And what is not 100% accurate?

Thanks.


Amila Suriarachchi wrote:
>
>
> On Sat, Jun 12, 2010 at 9:32 PM, Jack Sprat <rexclaimer2@yahoo.com 
> <mailto:rexclaimer2@yahoo.com>> wrote:
>
>     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?
>
>
> No. ADB data model is generated from the schema so validate against it 
> equals to validates against schema. However this is not 100% accurate.
>
> thanks,
> Amila.
>
>      
>     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
>     /<amilasuriarachchi@gmail.com
>     <mailto:amilasuriarachchi@gmail.com>>/* wrote:
>
>
>         From: Amila Suriarachchi <amilasuriarachchi@gmail.com
>         <mailto:amilasuriarachchi@gmail.com>>
>         Subject: Re: [Axis2] Schema validation with ADB
>         To: java-user@axis.apache.org <mailto:java-user@axis.apache.org>
>         Cc: axis-user@ws.apache.org <mailto:axis-user@ws.apache.org>
>         Date: Saturday, June 12, 2010, 1:38 AM
>
>
>
>
>         On Thu, Jun 10, 2010 at 1:40 AM, Jack Sprat
>         <rexclaimer2@yahoo.com
>         <http://us.mc373.mail.yahoo.com/mc/compose?to=rexclaimer2@yahoo.com>>
>         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
>              
>
>
> <http://amilachinthaka.blogspot.com/>


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org


Mime
View raw message