|
I found a solution by
definition a schema for example. Instead of string use
mystring type where this type is validated. <xsd:simpleType name="mystring">
<xsd:restriction base="xsd:string">
<xsd:pattern value="\d{3}-[A-Z]{2}"/>
</xsd:restriction> </xsd:simpleType> However how will axis
know this schema definition? Can I just put it inside
the WEB-INF? I believe I need to refer
to this in the wsdd. Is there an example for this? Also for axis ant tasks
to build this jar since this type will be referred in the java code. From:
I can set up parameters for method calls in wsdd but
can I validate parameters ( for example : validation string of
certain length, dates ( if in string form is 8 chars ), validate float, int
and double values within range of the application and so on. Ramesh |
