Changeset 22a1a77 for wsdl


Ignore:
Timestamp:
Nov 29, 2011 6:19:24 PM (13 years ago)
Author:
Ted Faber <faber@…>
Branches:
compt_changes, info-ops, master
Children:
b709861
Parents:
57facae
Message:

Checkpoint: untested operations stuff

Location:
wsdl
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wsdl/fedd.wsdl

    r57facae r22a1a77  
    7474  </message>
    7575
     76  <message name="OperationRequestMessage">
     77    <part name="OperationRequestBody" type="xsd1:operationRequestType"/>
     78  </message>
     79
     80  <message name="OperationResponseMessage">
     81    <part name="OperationResponseBody" type="xsd1:operationResponseType"/>
     82  </message>
     83
    7684  <message name="MultiInfoRequestMessage">
    7785    <part name="MultiInfoRequestBody" type="xsd1:multiInfoRequestType"/>
     
    116124    <part name="InfoSegmentResponseBody"
    117125      type="xsd1:infoSegmentResponseType"/>
     126  </message>
     127
     128  <message name="OperationSegmentRequestMessage">
     129    <part name="OperationSegmentRequestBody"
     130      type="xsd1:operationSegmentRequestType"/>
     131  </message>
     132
     133  <message name="OperationSegmentResponseMessage">
     134    <part name="OperationSegmentResponseBody"
     135      type="xsd1:operationSegmentResponseType"/>
    118136  </message>
    119137
     
    214232    </operation>
    215233
     234
     235    <operation name="Operation">
     236      <documentation>
     237        A one-stop request for meta-data on the experiment.  Includes all the
     238        info from a Vtopo and a Vis request.
     239      </documentation>
     240      <input message="tns:OperationRequestMessage"/>
     241      <output message="tns:OperationResponseMessage"/>
     242      <fault name="OperationFeddFault" message="tns:FaultMessage"/>
     243    </operation>
     244
    216245    <operation name="MultiInfo">
    217246      <documentation>
     
    251280    </operation>
    252281
    253 
    254282    <operation name="InfoSegment">
    255283      <documentation>
     
    261289    </operation>
    262290
     291    <operation name="OperationSegment">
     292      <documentation>
     293        Get info about a segment
     294      </documentation>
     295      <input message="tns:OperationSegmentRequestMessage"/>
     296      <output message="tns:OperationSegmentResponseMessage"/>
     297      <fault name="OperationSegmentFeddFault" message="tns:FaultMessage"/>
     298    </operation>
     299
    263300    <operation name="SetValue">
    264301      <documentation>
     
    436473        </fault>
    437474      </operation>
     475      <operation name="Operation">
     476        <documentation>
     477          The bindings of this operation are straightforward SOAP RPC 1.1.
     478        </documentation>
     479        <soap:operation soapAction="Operation"/>
     480        <input>
     481          <soap:body use="literal" parts="tns:OperationRequestBody"
     482            namespace="http://www.isi.edu/fedd.wsdl"
     483            encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
     484        </input>
     485        <output>
     486          <soap:body use="literal" parts="tns:OperationResponseBody"
     487            namespace="http://www.isi.edu/fedd.wsdl"
     488            encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
     489        </output>
     490        <fault name="OperationFeddFault">
     491          <soap:fault use="literal"  name="tns:FeddFault"
     492            namespace="http://www.isi.edu/fedd.wsdl"
     493            encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
     494        </fault>
     495      </operation>
    438496      <operation name="MultiInfo">
    439497        <documentation>
     
    536594        </output>
    537595        <fault name="InfoSegmentFeddFault">
     596          <soap:fault use="literal"  name="tns:FeddFault"
     597            namespace="http://www.isi.edu/fedd.wsdl"
     598            encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
     599        </fault>
     600      </operation>
     601      <operation name="OperationSegment">
     602        <documentation>
     603          The bindings of this operation are straightforward SOAP RPC 1.1.
     604        </documentation>
     605        <soap:operation soapAction="OperationSegment"/>
     606        <input>
     607          <soap:body use="literal" parts="tns:OperationSegmentRequestBody"
     608            namespace="http://www.isi.edu/fedd.wsdl"
     609            encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
     610        </input>
     611        <output>
     612          <soap:body use="literal" parts="tns:OperationSegmentResponseBody"
     613            namespace="http://www.isi.edu/fedd.wsdl"
     614            encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
     615        </output>
     616        <fault name="OperationSegmentFeddFault">
    538617          <soap:fault use="literal"  name="tns:FeddFault"
    539618            namespace="http://www.isi.edu/fedd.wsdl"
  • wsdl/fedd_types.xsd

    r57facae r22a1a77  
    455455  </xsd:complexType>
    456456
     457  <xsd:complexType name="operationStatusType">
     458    <xsd:annotation>
     459      <xsd:documentation>
     460        Result of an operation.  The target, success or failure code and
     461        descriptive text
     462      </xsd:documentation>
     463    </xsd:annotation>
     464    <xsd:sequence>
     465      <xsd:element name="target" type="xsd:string"/>
     466      <xsd:element name="code" type="xsd:int">
     467        <xsd:restriction>
     468          <xsd:enumeration value="0"/>  <!-- success -->
     469          <xsd:enumeration value="1"/>  <!-- access denied -->
     470          <xsd:enumeration value="2"/>  <!-- busy, retry -->
     471          <xsd:enumeration value="3"/>  <!-- not supported -->
     472          <xsd:enumeration value="4"/>  <!-- bad parameter -->
     473          <xsd:enumeration value="5"/>  <!-- internal error -->
     474          <xsd:enumeration value="6"/>  <!-- partial success -->
     475          <xsd:enumeration value="7"/>  <!-- no such target -->
     476          <xsd:enumeration value="8"/>  <!-- federant error -->
     477        </xsd:restriction>
     478      </xsd:element>
     479      <xsd:element name="description" type="xsd:string"
     480        minOccurs="0" maxOccurs="1"/>
     481    </xsd:sequence>
     482  </xsd:complexType>
     483
     484
    457485  <xsd:complexType name="newRequestType">
    458486    <xsd:annotation>
     
    733761  </xsd:complexType>
    734762
     763  <xsd:complexType name="operationRequestType">
     764    <xsd:annotation>
     765      <xsd:documentation>
     766        A request to operate on one or more elements of this experiment
     767      </xsd:documentation>
     768    </xsd:annotation>
     769    <xsd:sequence>
     770      <xsd:element name="experiment" type="tns:IDType"/>
     771      <xsd:element name="operation" type="xsd:string"/>
     772      <xsd:element name="target" type="xsd:string"
     773        minOccurs="1" maxOccurs="unbounded"/>
     774      <xsd:element name="parameter" type="tns:fedAttrType"
     775        minOccurs="0" maxOccurs="unbounded"/>
     776    </xsd:sequence>
     777  </xsd:complexType>
     778
     779  <xsd:complexType name="operationResponseType">
     780    <xsd:annotation>
     781      <xsd:documentation>
     782        A status of requested operations.
     783      </xsd:documentation>
     784    </xsd:annotation>
     785    <xsd:sequence>
     786      <xsd:element name="experiment" type="tns:IDType"/>
     787      <xsd:element name="status" type="tns:operationStatusType"
     788        minOccurs="1" maxOccurs="unbounded"/>
     789      <xsd:element name="proof" type="tns:proofType" />
     790    </xsd:sequence>
     791  </xsd:complexType>
     792
    735793  <xsd:complexType name="terminateRequestType">
    736794    <xsd:annotation>
     
    846904      <xsd:element name="fedAttr" type="tns:fedAttrType" minOccurs="0"
    847905        maxOccurs="unbounded"/>
     906      <xsd:element name="proof" type="tns:proofType" />
     907    </xsd:sequence>
     908  </xsd:complexType>
     909
     910  <xsd:complexType name="operationSegmentRequestType">
     911    <xsd:annotation>
     912      <xsd:documentation>
     913        A request to operate on one or more elements of this segment (or the
     914        whole segment)
     915      </xsd:documentation>
     916    </xsd:annotation>
     917    <xsd:sequence>
     918      <xsd:element name="allocID" type="tns:IDType"/>
     919      <xsd:element name="operation" type="xsd:string"/>
     920      <xsd:element name="target" type="xsd:string"
     921        minOccurs="1" maxOccurs="unbounded"/>
     922      <xsd:element name="parameter" type="tns:fedAttrType"
     923        minOccurs="0" maxOccurs="unbounded"/>
     924    </xsd:sequence>
     925  </xsd:complexType>
     926
     927  <xsd:complexType name="operationSegmentResponseType">
     928    <xsd:annotation>
     929      <xsd:documentation>
     930        A status of requested operations.
     931      </xsd:documentation>
     932    </xsd:annotation>
     933    <xsd:sequence>
     934      <xsd:element name="allocID" type="tns:IDType"/>
     935      <xsd:element name="status" type="tns:operationStatusType"
     936        minOccurs="1" maxOccurs="unbounded"/>
    848937      <xsd:element name="proof" type="tns:proofType" />
    849938    </xsd:sequence>
Note: See TracChangeset for help on using the changeset viewer.