Thanks for the answer.
What I don't understand is that when I was with Axis1 (and rpc/lit style 
for this WS) this kind of validation was impossible.
Anyway, I'm going to deploy a module validating the request body. Some 
newbie questions about this module:
- My WS is defined in a wsdl including several xsd: what file to I load to 
have my scheme loaded?
- Does the AXIS2 classloader have access to the files inside the AAR? (my 
wsdl and xsd are in META-INF folder of the aar)

Thanks in advance,

Pierre




"Anne Thomas Manes" <[EMAIL PROTECTED]> 
07/09/2007 00:00
Veuillez répondre à
[email protected]


A
[email protected]
cc

Objet
Re: [AXIS2] Request validation






That's normal. You could also set up a module to validate incoming 
messages.

Anne

On 9/6/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I am using Axis2 1.3 and JAXB databinding.
> My WS is using doc/lit style and I have a problem with the incoming 
request:
> Axis2 rejects the requests if the xml is malformed (missing tags for
> example) but it forwards the request to the WS even if the value in the 
tag
> are incorrect.
> For example, in my xsd, I define a tag as a positive Integer
> (xs:positiveInteger) and if I send a request with a negative integer, 
the
> request is forwarded to the WS.
> Is this normal?
> Is it up to the WS to check the value inside the body tags?
>
> Thanks in advance,
>
> Pierre

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


Reply via email to