simpleType/complexType not being enforced

J

JamesG

Hi all,

In my WSDL, I have several constraints on the data structure. The
problem is, they aren't being enforced.
Take the following two as an example.

<xsd:simpleType name="consTokenType">
<xsd:restriction base="xsd:string">
<xsd:pattern 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>

Am I missing something really simple??
Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,756
Messages
2,569,533
Members
45,007
Latest member
OrderFitnessKetoCapsules

Latest Threads

Top