Re: How to enforce maxLength validation in Axis

2008-05-21 Thread sultanat

Did you get an answer to this problem, I am using maxlength too but I am not
getting any error if I am sending more data.

Jeremy Nix wrote:
> 
> My WSDL+XSD constrains all my fields down to specific lengths or
> enumerated values.  I'm noticing however that the maxLength constraints
> are not being validated by my web service.  Is there some sort of option
> you must set to turn on this sort of validation?  
> 
> ___
> Jeremy Nix
> Senior Application Developer
> Southwest Financial Services, LTD.
> (513) 621-6699 x1158
> www.sfsltd.com
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-enforce-maxLength-validation-in-Axis-tp546417p17367682.html
Sent from the Axis - User mailing list archive at Nabble.com.


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



RE: How to enforce maxLength validation in Axis

2005-08-04 Thread Jeremy Nix
Has anyone else done this before?  I can't imagine I'm the 1st person
who has attempted to constrain their web service interface.  I'm not
seeing any Axis handlers that mention validation in them.  Does anyone
have a Handler that I can plugin in that will perform validation based
on my WSDL/XSD?

___
Jeremy Nix
Senior Application Developer
Southwest Financial Services, LTD.
(513) 621-6699 x1158
www.sfsltd.com



-Original Message-
From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 04, 2005 9:29 AM
To: axis-user@ws.apache.org
Subject: Re: How to enforce maxLength validation in Axis


You can use a handler to perform schema validation.

Anne

On 8/3/05, Jeremy Nix <[EMAIL PROTECTED]> wrote:
>  
> 
> My WSDL+XSD constrains all my fields down to specific lengths or 
> enumerated values.  I'm noticing however that the maxLength 
> constraints are not being validated by my web service.  Is there some 
> sort of option you must set to turn on this sort of validation?
> 
> ___
> Jeremy Nix 
> Senior Application Developer 
> Southwest Financial Services, LTD. 
> (513) 621-6699 x1158 
> www.sfsltd.com 
>


Re: How to enforce maxLength validation in Axis

2005-08-04 Thread Anne Thomas Manes
You can use a handler to perform schema validation.

Anne

On 8/3/05, Jeremy Nix <[EMAIL PROTECTED]> wrote:
>  
> 
> My WSDL+XSD constrains all my fields down to specific lengths or enumerated
> values.  I'm noticing however that the maxLength constraints are not being
> validated by my web service.  Is there some sort of option you must set to
> turn on this sort of validation?  
> 
> ___ 
> Jeremy Nix 
> Senior Application Developer 
> Southwest Financial Services, LTD. 
> (513) 621-6699 x1158 
> www.sfsltd.com 
>