Actually, that's not quite accurate. Axis2 does not automatically
validate messages -- at least not from a true schema validation
perspective. If are using a data binding framework, then the data
binding framework will generate errors if required elements are
missing or the element content doesn't conform to the expected schema
type. But that's not the same as schema validation. If you have
constraints on an element (patterns, occurrence, referential
integrity, etc), the data binding framework won't catch them. And, if
you aren't using a data binding framework, then Axis2 won't do any
type of message validation.

If you really want to validate messages before or after processing,
you should engage a module to validate the messages using schema
validation. Please bear in mind, though, that schema validation is a
very expensive process, so use this option with discretion.

Anne

On 10/22/07, Lahiru Sandakith <[EMAIL PROTECTED]> wrote:
> Its a core feature hence Do in both,
> but always better to use the latest (1.3)
>
> Thanks
> Lahiru
>
>
> On 10/22/07, Wenshuang Sun < [EMAIL PROTECTED]> wrote:
> > Hi,
> > Thanks. what's the version of axis2 that support what you said? 1.2 or
> 1.3?
> >
> > Best Regards.
> >
> > Wenshuang
> >
> > 2007/10/22, keith chapman <[EMAIL PROTECTED]>:
> > >
> > >
> > >
> > > On 10/22/07, Wenshuang Sun < [EMAIL PROTECTED]> wrote:
> > > > Hi,
> > > >
> > > > How to use WSDL to validate the soap message in axis2, is the API
> > > > about the function  provided?
> > >
> > > Axis2 validates your SOAP message according  to the  schema defined in
> your
> > > WSDL. This is done by default hence you dont need to do anything
> > > specifically to get this done.
> > >
> > > Thanks,
> > > Keith.
> > >
> > > > Thanks.
> > > >
> > > >
> > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail:
> > > [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Keith Chapman
> > > WSO2 Inc.
> > > Oxygen for Web Services Developers.
> > > http://wso2.org/
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
>
> --
> Thanks
> Lahiru Sandakith
>
> http://sandakith.wordpress.com/
> GPG Key Fingerprint : 8CD8 68E0 4CBC 75CB 25BC  1AB1 FE5E 7464 1F01 9A0F

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to