I've run into a strange problem where the schema that goes with my webservice does not match what's in my workspace. In my workspace, an element has this definition:
<xsd:element name="checkFooBars" minOccurs="1" nillable="false">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Y"/>
<xsd:enumeration value="N"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
The same element in the schema that's accessible from the application (via this URL: www.myapplication.com/MyApplicationHttpRouter/MyService/MyService_schema1.xsd
) looks like this:
<xs:element name="checkFooBars" type="xs:string" />
This is causing problems where users of the service will look at the online schema and they don't see the restriction I've placed on the element.
Does anyone know what is going on here, or why?