J
JamesG
Hi all,
I'm developing a web service, and as part of the WSDL I have the
following constraints:
<xsd:simpleType name="consTokenType">
<xsd:restriction base="xsd:string">
<xsdattern value="[a-z0-9]{32}"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="statusType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="enroute"/>
<xsd:enumeration value="delayed"/>
<xsd:enumeration value="instorage"/>
<xsd:enumeration value="pendingcustoms"/>
<xsd:enumeration value="missing"/>
</xsd:restriction>
</xsd:simpleType>
However, these restrictions are not being enforced. It is also the
case with other complexTypes in the document.
Anyone have an idea why this is the case?
Thanks
I'm developing a web service, and as part of the WSDL I have the
following constraints:
<xsd:simpleType name="consTokenType">
<xsd:restriction base="xsd:string">
<xsdattern value="[a-z0-9]{32}"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="statusType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="enroute"/>
<xsd:enumeration value="delayed"/>
<xsd:enumeration value="instorage"/>
<xsd:enumeration value="pendingcustoms"/>
<xsd:enumeration value="missing"/>
</xsd:restriction>
</xsd:simpleType>
However, these restrictions are not being enforced. It is also the
case with other complexTypes in the document.
Anyone have an idea why this is the case?
Thanks