<?xml version="1.0" encoding="UTF-8"?>
<definitions name="ProtocolDefManager" 
             targetNamespace="urn:ihe:qrph:rpe:2009" 
             xmlns:rpe="urn:ihe:qrph:rpe:2009"
             xmlns="http://schemas.xmlsoap.org/wsdl/" 
             xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
 <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
	TYPE DEFINITION - List of services participating in this BPEL process
	The default output of the BPEL designer uses strings as input and 
	output to the BPEL Process. But you can define or import any XML 
	Schema type and use them as part of the message types.
	~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
 <types>
  <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:ihe:qrph:rpe:2009">
   <include schemaLocation="RPE.xsd"/>
  </schema>
 </types>
 <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
	MESSAGE TYPE DEFINITION - Definition of the message types used as 
	part of the port type defintions
	~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
 <message name="RetrieveProtocolDefRequestMessage">
  <part name="payload" element="rpe:RetrieveProtocolDef"/>
 </message>
 <message name="RetrieveProtocolDefResponseMessage">
  <part name="payload" element="rpe:RetrieveProtocolDef"/>
 </message>
 <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
	PORT TYPE DEFINITION - A port type groups a set of operations into
	a logical service unit.
	~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
 <!-- portType implemented by the ProtocolDefManager BPEL process -->
 <portType name="ProtocolDefManager">
  <operation name="RetrieveProtocolDef">
   <input message="rpe:RetrieveProtocolDefRequestMessage"/>
   <output message="rpe:RetrieveProtocolDefResponseMessage"/>
  </operation>
  <!-- Below are not defined/included for now
  <operation name="AgreeToParticipateInProtocolDef">
   <input message="rpe:AgreeToParticipateInProtocolDefRequestMessage"/>
   <output message="v:AgreeToParticipateInProtocolDefResponseMessage"/>
  </operation>
  <operation name="SubmitProtocolDefRegulatoryDocumentation">
   <input message="rpe:SubmitProtocolDefRegulatoryDocumentationRequestMessage"/>
   <output message="rpe:SubmitProtocolDefRegulatoryDocumentationResponseMessage"/>
  </operation>
  -->
 </portType>
 <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
	PARTNER LINK TYPE DEFINITION
	the ProtocolDefManager partnerLinkType binds the provider and
	requester portType into an asynchronous conversation.
	~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
 <plnk:partnerLinkType name="ProtocolDefManager">
  <plnk:role name="ProtocolDefManagerProvider">
   <plnk:portType name="rpe:ProtocolDefManager"/>
  </plnk:role>
 </plnk:partnerLinkType>
</definitions>
