November 8, 2001 - The WSDL's types Element
November 8, 2001 The WSDL's types Element Tips: November 2001
Yehuda Shiran, Ph.D.
|
types
element contains datatype definitions. Usually, this element includes a schema element that defines various datatypes. Here is one of several complexType
element definitions from the interopTest
Web service's types
element:
<types>
<schema xmlns="https://www.w3.org/2001/XMLSchema" targetNamespace="https://soapinterop.org/xsd">
<complexType name="ArrayOfstring">
<complexContent>
<restriction base="SOAP-ENC:Array">
<sequence>
<element name="item" type="string" maxOccurs="unbounded" />
</sequence>
<attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="string[]" />
</restriction>
</complexContent>
</complexType>
</schema>
</types>
You can call Web services from JavaScript. In upcoming tips and columns we'll cover the motivation and the implementation of Web services, and how to use them from JavaScript.