Files
lazarus-ccr/wst/trunk/tests/test_suite/files/complex_class_default.wsdl

35 lines
1.3 KiB
XML
Raw Normal View History

<?xml version="1.0"?>
<definitions name="wst_test"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns="library1"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
targetNamespace="urn:wst-test">
<types>
<xsd:schema xmlns:n="urn:wst-test"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="urn:wst-test">
<xsd:complexType name="TClassSampleType">
<xsd:sequence>
<xsd:element name="intField" type="xsd:int" default="1210"/>
<xsd:element name="strField" type="xsd:string" minOccurs="1" maxOccurs="1" default="azerty"/>
<xsd:element name="floatField" type="xsd:float" minOccurs="0" maxOccurs="1" default="1234"/>
<xsd:element name="byteField" type="xsd:byte" maxOccurs="1" default="23"/>
<xsd:element name="charField" type="xsd:char" minOccurs="1" default="i"/>
<xsd:element name="longField" type="xsd:long" minOccurs="0" default="567"/>
</xsd:sequence>
<xsd:attribute name="strAtt" type="xsd:string" default="attribute azerty"/>
<xsd:attribute name="intAtt" type="xsd:int" default="789"/>
</xsd:complexType>
</xsd:schema>
</types>
</definitions>