Hi Listers,
in a WSDL I have
<xsd:element name="ID" nillable="true" minOccurs="0">
<xsd:simpleType>
<xsd:restriction>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:minLength value="0"/>
<xsd:maxLength value="40"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
The dev studio offers me only Integer and Attachment fields I could
use to set this field. Why is that? How can I work around it?
Same problem with this kind of field:
<xsd:element name="IMPACT" nillable="true" minOccurs="0">
<xsd:simpleType>
<xsd:restriction>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:whiteSpace value="preserve"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:enumeration value=""/>
<xsd:enumeration value="0"/>
<xsd:enumeration value="1"/>
<xsd:enumeration value="2"/>
<xsd:enumeration value="3"/>
<xsd:enumeration value="4"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
According to the Web service limitations doc:
Supported XML schema constructs ->
Derivation
complexType derived from complexContent by extension
complexType derived from complexContent by restriction
complexType derived from simpleContent by extension
simpleType derived from simpleContent by restriction
simpleType derived from simpleType by restriction (The restriction
is ignored)
Any ideas?
Thanks,
Mark
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug11 www.wwrug.com ARSList: "Where the Answers Are"