O'Reilly logo

Inside Microsoft® Exchange Server 2007 Web Services by Huw Upshall, Mark Taylor, Ben Spain, Michael Mainer, David Sterling

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required