Schema Files
We have talked a bit about Services.wsdl, but it has some friends. If you are brave enough to look inside the Services.wsdl file, you will notice that it imports a file named messages.xsd.
<wsdl:types> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:import namespace=".../messages" schemaLocation="messages.xsd"/> </xs:schema> </wsdl:types>
The types section of a WSDL file defines the various custom types that will be exposed by the service. Rather than embedding these types directly into the WSDL file, we chose to keep them separate and import them into the WSDL file. Now, although messages.xsd is the only schema file that is listed here, messages.xsd actually references another schema file named types.xsd. These two schema ...
Get Inside Microsoft® Exchange Server 2007 Web Services now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.