<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) OASIS(r) 2009. All Rights Reserved.

All capitalized terms in the following text have the meanings assigned to them in the OASIS Intellectual Property Rights Policy (the "OASIS IPR Policy"). The full Policy may be found at the OASIS website.

This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published, and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this section are included on all such copies and derivative works. However, this document itself may not be modified in any way, including by removing the copyright notice or references to OASIS, except as needed for the purpose of developing any document or deliverable produced by an OASIS Technical Committee (in which case the rules applicable to copyrights, as set forth in the OASIS IPR Policy, must be followed) or as required to translate it into languages other than English.

The limited permissions granted above are perpetual and will not be revoked by OASIS or its successors or assigns.

This document and the information contained herein is provided on an "AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY OWNERSHIP RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

OASIS requests that any OASIS Party or any other party that believes it has patent claims that would necessarily be infringed by implementations of this OASIS Committee Specification or OASIS Standard, to notify OASIS TC Administrator and provide an indication of its willingness to grant patent licenses to such patent claims in a manner consistent with the IPR Mode of the OASIS Technical Committee that produced this specification.

OASIS invites any party to contact the OASIS TC Administrator if it is aware of a claim of ownership of any patent claims that would necessarily be infringed by implementations of this specification by a patent holder that is not willing to provide a license to such patent claims in a manner consistent with the IPR Mode of the OASIS Technical Committee that produced this specification. OASIS may include such claims on its website, but disclaims any obligation to do so.

OASIS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on OASIS' procedures with respect to rights in any document or deliverable produced by an OASIS Technical Committee can be found on the OASIS website. Copies of claims of rights made available for publication and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementers or users of this OASIS Committee Specification or OASIS Standard, can be obtained from the OASIS TC Administrator. OASIS makes no representation that any information or list of intellectual property rights will at any time be complete, or that any claims in such list are, in fact, Essential Claims.

The name "OASIS" is trademarks of OASIS, the owner and developer of this specification, and should be used only to refer to the organization and its official outputs. OASIS welcomes reference to, and implementation and use of, specifications, while reserving the right to enforce its marks against misleading uses. Please see http://www.oasis-open.org/who/trademark.php for above guidance.
-->
<wsdl:definitions
    targetNamespace="http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01"
    xmlns:tns="http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01"
    xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
    xmlns:xs="http://www.w3.org/2001/XMLSchema" >
  <wsdl:types>
    <xs:schema>
      <xs:import
          namespace="http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01"
          schemaLocation="http://docs.oasis-open.org/ws-dd/discovery/1.1/os/wsdd-discovery-1.1-schema-os.xsd" />
    </xs:schema>
  </wsdl:types>

  <wsdl:message name="HelloMessage" >
    <wsdl:part name="parameters" element="tns:Hello" />
  </wsdl:message>

  <wsdl:message name="ByeMessage" >
    <wsdl:part name="parameters" element="tns:Bye" />
  </wsdl:message>

  <wsdl:message name="ProbeMessage" >
    <wsdl:part name="parameters" element="tns:Probe" />
  </wsdl:message>

  <wsdl:message name="ProbeMatchMessage" >
    <wsdl:part name="parameters" element="tns:ProbeMatches" />
  </wsdl:message>

  <wsdl:message name="ResolveMessage" >
    <wsdl:part name="parameters" element="tns:Resolve" />
  </wsdl:message>

  <wsdl:message name="ResolveMatchMessage" >
    <wsdl:part name="parameters" element="tns:ResolveMatches" />
  </wsdl:message>

  <wsdl:portType name="TargetService" >
    <wsdl:operation name="HelloOp" >
      <wsdl:output message="tns:HelloMessage"
      wsaw:Action
      ="http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01/Hello"
      />
    </wsdl:operation>
    <wsdl:operation name="ByeOp" >
      <wsdl:output message="tns:ByeMessage"
      wsaw:Action
      ="http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01/Bye"
      />
    </wsdl:operation>
    <wsdl:operation name="ProbeOp" >
      <wsdl:input message="tns:ProbeMessage"
      wsaw:Action
      ="http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01/Probe"
      />
    </wsdl:operation>
    <wsdl:operation name="ProbeMatchOp" >
      <wsdl:output message="tns:ProbeMatchMessage"
      wsaw:Action
      ="http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01/ProbeMatches"
      />
    </wsdl:operation>
    <wsdl:operation name="ResolveOp" >
      <wsdl:input message="tns:ResolveMessage"
      wsaw:Action
      ="http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01/Resolve"
      />
    </wsdl:operation>
    <wsdl:operation name="ResolveMatchOp" >
      <wsdl:output message="tns:ResolveMatchMessage"
      wsaw:Action
      ="http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01/ResolveMatches"
      />
    </wsdl:operation>
  </wsdl:portType>

  <!-- If this portType is included in Types, it indicates the 
       Target Service is a Discovery Proxy operating in a managed mode. 
       Discovery Proxies also implement tns:TargetService in an ad hoc mode.
  -->
  <wsdl:portType name="DiscoveryProxy">
    <wsdl:operation name="HelloOp" >
      <wsdl:input message="tns:HelloMessage"
      wsaw:Action
      ="http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01/Hello"
      />
    </wsdl:operation>
    <wsdl:operation name="ByeOp" >
      <wsdl:input message="tns:ByeMessage"
      wsaw:Action
      ="http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01/Bye"
      />
    </wsdl:operation>
    <wsdl:operation name="ProbeOp" >
      <wsdl:input message="tns:ProbeMessage"
      wsaw:Action
      ="http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01/Probe"
      />
      <wsdl:output message="tns:ProbeMatchMessage"
      wsaw:Action
      ="http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01/ProbeMatches"
      />
    </wsdl:operation>
    <wsdl:operation name="ResolveOp" >
      <wsdl:input message="tns:ResolveMessage"
      wsaw:Action
      ="http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01/Resolve"
      />
      <wsdl:output message="tns:ResolveMatchMessage"
      wsaw:Action
      ="http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01/ResolveMatches"
      />
    </wsdl:operation>
  </wsdl:portType>
</wsdl:definitions>
