You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Jason Winshell <jw...@bearriver.com> on 2003/01/28 06:30:05 UTC

schema validation of non-nillable element

Hi all,

I have defined schema element in a WSDL to not allow a nil value 
either by the form:

<element name="packageType" type="xsd:string" />
   or
<element name="packageType" type="xsd:string" nillable="false" />

to be used within a soap body request.

I would expect Axis to validate instances of this element,  disallowing:

<packageType xsi:type="xsd:string" xsi:nil="true"/>

in an instance of a the soap body request.

However, I am finding that Axis 1.1 beta does not validate 
non-nillable elements?  What level of schema validation can I expect?

-- 
-------------------------------------------------------------------------
Jason Winshell, Principal Consulting Engineer     jwinshell@bearriver.com
Bear River Associates, Inc.                      http://www.bearriver.com