By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,988 Members | 1,068 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,988 IT Pros & Developers. It's quick & easy.

simpleType/complexType not being enforced

P: n/a
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

Apr 19 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.