<?xml version="1.0" encoding="UTF-8"?>
<!--
(c) 2004 Microsoft Corporation, Inc. All rights reserved.

Permission to copy and display the WS-Discovery Specification (the "Specification", which includes WSDL and schema documents), in any medium without fee or royalty is hereby granted, provided that you include the following on ALL copies of the Specification that you make:

1.  A link or URL to the Specification at one of the Co-Developers' websites
2.  The copyright notice as shown in the Specification.

BEA Systems, Canon, Intel, Microsoft, and webMethods, Inc. (collectively, the "Co-developers") each agree to grant you a license, under reasonable, non-discriminatory terms and conditions, to their respective essential Licensed Claims, which reasonable, non-discriminatory terms and conditions may include, for example, the payment of royalties and an affirmation of the obligation to grant reciprocal licenses under any of the licensee's patents that are necessary to implement the Specification.

THE SPECIFICATION IS PROVIDED "AS IS," AND THE CO-DEVELOPERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE SPECIFICATION ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.

THE CO-DEVELOPERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY USE OR DISTRIBUTION OF THE SPECIFICATION.

The name and trademarks of the Co-developers may NOT be used in any manner, including advertising or publicity pertaining to the Specification or its contents without specific, written prior permission. Title to copyright in the Specification will at all times remain with Microsoft.

No other rights are granted by implication, estoppel or otherwise.
-->
<wsdl:definitions
    targetNamespace='http://schemas.xmlsoap.org/ws/2004/10/discovery'
    xmlns:tns='http://schemas.xmlsoap.org/ws/2004/10/discovery'
    xmlns:wsa='http://schemas.xmlsoap.org/ws/2004/08/addressing'
    xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/' 
    xmlns:xs='http://www.w3.org/2001/XMLSchema' >

  <wsdl:types>
    <xs:schema
        targetNamespace='http://schemas.xmlsoap.org/ws/2004/10/discovery' >
      <xs:include schemaLocation='discovery.xsd' />
    </xs:schema>
  </wsdl:types>

  <wsdl:message name='HelloMsg' >
    <wsdl:part name='body' element='tns:Hello' />
  </wsdl:message>

  <wsdl:message name='ByeMsg' >
    <wsdl:part name='body' element='tns:Bye' />
  </wsdl:message>

  <wsdl:message name='ProbeMsg' >
    <wsdl:part name='body' element='tns:Probe' />
  </wsdl:message>

  <wsdl:message name='ProbeMatchMsg' >
    <wsdl:part name='body' element='tns:ProbeMatch' />
  </wsdl:message>

  <wsdl:message name='ResolveMsg' >
    <wsdl:part name='body' element='tns:Resolve' />
  </wsdl:message>

  <wsdl:message name='ResolveMatchMsg' >
    <wsdl:part name='body' element='tns:ResolveMatch' />
  </wsdl:message>

  <wsdl:portType name='TargetService' >
    <wsdl:operation name='HelloOp' >
      <wsdl:output message='tns:HelloMsg'
wsa:Action='http://schemas.xmlsoap.org/ws/2004/10/discovery/Hello'
      />
    </wsdl:operation>
    <wsdl:operation name='ByeOp' >
      <wsdl:output message='tns:ByeMsg'
wsa:Action='http://schemas.xmlsoap.org/ws/2004/10/discovery/Bye'
      />
    </wsdl:operation>
    <wsdl:operation name='ProbeOp' >
      <wsdl:input message='tns:ProbeMsg'
wsa:Action='http://schemas.xmlsoap.org/ws/2004/10/discovery/Probe'
      />
    </wsdl:operation>
    <wsdl:operation name='ProbeMatchOp' >
      <wsdl:output message='tns:ProbeMatchMsg'
wsa:Action='http://schemas.xmlsoap.org/ws/2004/10/discovery/ProbeMatches'
      />
    </wsdl:operation>
    <wsdl:operation name='ResolveOp' >
      <wsdl:input message='tns:ResolveMsg'
wsa:Action='http://schemas.xmlsoap.org/ws/2004/10/discovery/Resolve'
      />
    </wsdl:operation>
    <wsdl:operation name='ResolveMatchOp' >
      <wsdl:output message='tns:ResolveMatchMsg'
wsa:Action='http://schemas.xmlsoap.org/ws/2004/10/discovery/ResolveMatch'
      />
    </wsdl:operation>
  </wsdl:portType>

  <!-- If this portType is included in EndpointReference/Types, it
       indicates the Target Service is a Discovery Proxy. Discovery
       Proxies also implement tns:TargetService and optionally other
       message exchanges defined elsewhere.
  -->
  <wsdl:portType name='DiscoveryProxy' />

</wsdl:definitions>
