<?xml version="1.0"?>
<definitions name="Exceptions"
             targetNamespace="http://www.hep.ucl.ac.uk/~pdm/e2epipes/admin/schema/20030708/Exceptions.wsdl"
             xmlns:tns="http://www.hep.ucl.ac.uk/~pdm/e2epipes/admin/schema/20030708/Exceptions.wsdl"
             xmlns:exc="http://www.hep.ucl.ac.uk/~pdm/e2epipes/admin/schema/20030708/Exceptions.xsd"
             xmlns:mrq="http://www.hep.ucl.ac.uk/~pdm/e2epipes/admin/schema/20030708/MeasurementRequest.xsd"
             xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
             xmlns="http://schemas.xmlsoap.org/wsdl/">

 <annotation>
  <documentation>
   These are the faults that can be thrown by the RequestInterface.
   Note that no bean/stub is generated for faults by Axis, a matching Java Exception type must be introduced.
  </documentation>
 </annotation>

 <types>
  <schema targetNamespace="http://www.hep.ucl.ac.uk/~pdm/e2epipes/admin/schema/20030708/Exceptions.xsd"
          xmlns="http://www.w3.org/2001/XMLSchema">

   <complexType name="PermissionDeniedException">
    <annotation>
     <documentation>
      Permission has been denied for some reason. The message may contain more information.
     </documentation>
    </annotation>
    <sequence>
     <element name="message" nillable="true" type="string"/>
    </sequence>
   </complexType>

   <complexType name="MalformedRequestException">
    <annotation>
     <documentation>
      If the request is malformed in some way (but which still matches the XML schema),
      then this fault will be thrown.
      The message element contains details of what was wrong.
     </documentation>
    </annotation>
    <sequence>
     <element name="message" nillable="true" type="string"/>
    </sequence>
   </complexType>

   <complexType name="ToolUnavailableException">
    <annotation>
     <documentation>
      If no tool of those specified is available for use, this exception will be thrown.
     </documentation>
    </annotation>
    <sequence>
     <!--<element name="request" nillable="true" type="mrq:MeasurementRequest"/>-->
     <element name="message" nillable="true" type="string"/>
    </sequence>
   </complexType>

   <complexType name="CharacteristicUnavailableException">
    <annotation>
     <documentation>
      If the characteristic specified is not available this fault is thrown.
      ToolUnavailableException may be thrown instead if the sink PMP doesn't support this characteristic..
     </documentation>
    </annotation>
    <sequence>
     <!--<element name="request" nillable="true" type="mrq:MeasurementRequest"/>-->
     <element name="message" nillable="true" type="string"/>
    </sequence>
   </complexType>

   <complexType name="TimeUnavailableException">
    <annotation>
     <documentation>
      This fault occurs if the time specified in the request is not available.
      The "when" indicates a preferred new time slot.
     </documentation>
    </annotation>
    <sequence>
     <!--<element name="request" nillable="true" type="mrq:MeasurementRequest"/>-->
     <element name="when" nillable="true" type="mrq:TimeSpec"/>
     <element name="message" nillable="true" type="string"/>
    </sequence>
   </complexType>

  </schema>
 </types>
</definitions>

