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 D Sledge <va...@yahoo.com> on 2004/11/24 17:57:48 UTC
How much validation does Axis do?
If I define a parameter of a WS port as type xs:any, will it validate any elements that reference
a schema doc? For instance, given the following element passed as a paramter of a call to a WS:
<myElement
xmlns="http://host/path/to/someSchema"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://host/path/to/someSchema
file:someSchema.xsd">
<data><![CDATA[PLASMA!!!]]></data>
</myElement>
will axis validate the element <myElement> and its contents against the schema doc
http://host/path/to/someSchema.xsd
Thanks,
D
__________________________________
Do you Yahoo!?
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com