The SOAP specs are confusing, numerous, and available in multiple versions, and my soap library's WSDL generator is buggy. What's the correct WSDL for an array of integers? Could it be:
<element name="ArrayOfIntegers">
<complexType base="SOAP-ENC:Array">
<element name="integer" type="xsd:integer" maxOccurs="unbounded"/>
</complexType>
<anyAttribute/>
</element>
or is it (from the wsdl spec):
<complexType name="ArrayOfFloat">
<complexContent>
<restriction base="soapenc:Array">
<attribute ref="soapenc:arrayType"
wsdl:arrayType="xsd:integer[]"/>
</restriction>
</complexContent>
</complexType>
Or how about:
<element name="ArrayOfIntegers">
<complexType>
<sequence>
<element maxOccurs="unbounded" name="integer" type="xsd:int"/>
</sequence>
</complexType>
</element>
Or something else?
What is a WSDL? WSDL, or Web Service Description Language, is an XML based definition language. It's used for describing the functionality of a SOAP based web service. WSDL files are central to testing SOAP-based services. SoapUI uses WSDL files to generate test requests, assertions and mock services.
The WSDL document defines XSD types (data types). IEP data types, as observable and editable from the property editor for a specific operator, have their counterparts in XSD data types.
A WSDL is an XML document that describes a web service. It actually stands for Web Services Description Language. SOAP is an XML-based protocol that lets you exchange info over a particular protocol (can be HTTP or SMTP, for example) between applications.
First two versions are using SOAP Encoding. Third one is normal way of defining arrays when using XML schema.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With