Partager via


Types Element (Windows Embedded CE 6.0)

1/6/2010

The <types> element in a Web Services Description Language (WSDL) file is a container for defining the various data types used in exchanging messages.

The following code example from Calc.wsdl contains the <types> element:

<types>
  <schema targetNamespace='http://tempuri.org/type'
    xmlns='http://www.w3.org/2001/XMLSchema'
    xmlns:SOAP-ENC='https://schemas.xmlsoap.org/soap/encoding/'
    xmlns:wsdl='https://schemas.xmlsoap.org/wsdl/'>
  </schema>
</types>

In this example, the schema in the <types> element is simple and does not define data types because the <message> elements in the WSDL file define the data types of various message parts exchanged in a SOAP message.

See Also

Concepts

About the Calc.wsdl File
Message Element
PortType Element
Binding Element
Service Element