Changeset 1c59925


Ignore:
Timestamp:
Jul 2, 2010 9:17:39 AM (14 years ago)
Author:
Jay Jacobs <Jay.Jacobs@…>
Branches:
axis_example, compt_changes, info-ops, master, version-3.01, version-3.02
Children:
8aaf8f8
Parents:
a452f3c
Message:

Added sanity function for quick test.

Location:
wsdl
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wsdl/abac.wsdl

    ra452f3c r1c59925  
    4949  </message>
    5050
     51  <message name="AddCredentialRequestMessage">
     52    <part name="AddCredentialRequestBody" type="xsd1:addCredentialRequest"/>
     53  </message>
     54
     55  <message name="AddCredentialResponseMessage">
     56    <part name="AddCertificateResponseBody" type="xsd1:addCredentialResponse"/>
     57  </message>
     58
    5159  <message name="AddCertificateRequestMessage">
    5260    <part name="AddCertificateRequestBody" type="xsd1:addCertificateRequest"/>
     
    6674  </message>
    6775
     76  <message name="TrustRequestMessage">
     77    <part name="AccessRequestBody" type="xsd1:trustRequest"/>
     78  </message>
     79
     80  <message name="TrustResponseMessage">
     81    <part name="AccessResponseBody" type="xsd1:trustResult"/>
     82  </message>
     83
    6884  <message name="AccessRequestMessage">
    6985    <part name="AccessRequestBody" type="xsd1:negotiationRequest"/>
     
    107123      <fault name="NegotiateFeddFault" message="tns:FaultMessage"/>
    108124    </operation>
     125    <operation name="Trust">
     126      <documentation>
     127        Request access to a resource on behalf of a principal
     128      </documentation>
     129      <input message="tns:TrustRequestMessage"/>
     130      <output message="tns:TrustResponseMessage"/>
     131      <fault name="NegotiateFeddFault" message="tns:FaultMessage"/>
     132    </operation>
    109133    <operation name="CredentialUpdate">
    110134      <documentation>
     
    129153      <input message="tns:AddCertificateRequestMessage"/>
    130154      <output message="tns:AddCertificateResponseMessage"/>
     155      <fault name="NegotiateFeddFault" message="tns:FaultMessage"/>
     156    </operation>
     157    <operation name="AddCredential">
     158      <documentation>
     159        Publishes a new X.509 identity certificate globally
     160      </documentation>
     161      <input message="tns:AddCredentialRequestMessage"/>
     162      <output message="tns:AddCredentialResponseMessage"/>
    131163      <fault name="NegotiateFeddFault" message="tns:FaultMessage"/>
    132164    </operation>
     
    197229            encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
    198230        </output>
     231      </operation>
     232      <operation name="Trust">
     233        <soap:operation soapAction="TrustRequest"/>
     234        <input>
     235          <soap:body use="literal" parts="tns:TrustRequestBody"
     236            namespace="http://www.isi.edu/fedd.wsdl"
     237            encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
     238        </input>
     239        <output>
     240          <soap:body use="literal" parts="tns:TrustResponseBody"
     241            namespace="http://www.isi.edu/fedd.wsdl"
     242            encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
     243        </output>
    199244        <fault name="NegotiateFeddFault">
    200245          <soap:fault use="literal"  name="tns:FeddFault"
     
    230275        <output>
    231276          <soap:body use="literal" parts="tns:AddCertificateResponseBody"
     277            namespace="http://www.isi.edu/fedd.wsdl"
     278            encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
     279        </output>
     280        <fault name="NegotiateFeddFault">
     281          <soap:fault use="literal"  name="tns:FeddFault"
     282            namespace="http://www.isi.edu/fedd.wsdl"
     283            encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
     284        </fault>
     285      </operation>
     286      <operation name="AddCredential">
     287        <soap:operation soapAction="AddCredential"/>
     288        <input>
     289          <soap:body use="literal" parts="tns:AddCredentialRequestBody"
     290            namespace="http://www.isi.edu/fedd.wsdl"
     291            encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
     292        </input>
     293        <output>
     294          <soap:body use="literal" parts="tns:AddCredentialResponseBody"
    232295            namespace="http://www.isi.edu/fedd.wsdl"
    233296            encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  • wsdl/abac_types.xsd

    ra452f3c r1c59925  
    5151      <xsd:element name="provenance" type="xsd:string"
    5252        minOccurs="0" maxOccurs="1"/>
     53    </xsd:sequence>
     54  </xsd:complexType>
     55
     56  <xsd:complexType name="trustRequest">
     57    <xsd:sequence>
     58      <xsd:element name="context" type="tns:contextInfo"/>
     59      <xsd:element name="peerURL" type="xsd:string"/>
     60      <xsd:element name="peerContext" type="tns:contextInfo"/>
     61      <xsd:element name="selfURL" type="xsd:string"/>
     62      <xsd:element name="goal" type="tns:flatGoalType"/>
     63    </xsd:sequence>
     64  </xsd:complexType>
     65
     66  <xsd:complexType name="trustResult">
     67    <xsd:sequence>
     68      <xsd:element name="goal" type="tns:flatGoalType"/>
     69      <xsd:element name="result" type="xsd:string"/>
     70      <xsd:element name="provenance" type="xsd:string"
     71        minOccurs="0" maxOccurs="1"/>
     72    </xsd:sequence>
     73  </xsd:complexType>
     74
     75  <xsd:complexType name="addCredentialRequest">
     76    <xsd:sequence>
     77      <xsd:element name="type" type="xsd:string"/>
     78      <xsd:element name="cred" type="xsd:string"/>
     79      <xsd:element name="context" type="tns:contextInfo"/>
     80    </xsd:sequence>
     81  </xsd:complexType>
     82
     83  <xsd:complexType name="addCredentialResponse">
     84    <xsd:sequence>
     85      <xsd:element name="result" type="xsd:string"/>
     86      <xsd:element name="context" type="tns:contextInfo"/>
    5387    </xsd:sequence>
    5488  </xsd:complexType>
     
    272306  </xsd:complexType>
    273307
     308  <xsd:complexType name="flatGoalType">
     309    <xsd:sequence>
     310      <xsd:element name="Verifier"   type="xsd:string"/>
     311      <xsd:choice>
     312        <xsd:element name="TrustTarget" type="xsd:string"/>
     313        <xsd:element name="LinkingTarget" type="xsd:string"/>
     314      </xsd:choice>
     315      <xsd:element name="Subject"   type="xsd:string"/>
     316      <!-- The type string confirms whether this is a LinkingGoal or TT -->
     317      <xsd:element name="Type"     type="xsd:string"/>
     318    </xsd:sequence>
     319  </xsd:complexType>
     320
     321
    274322  <!-- Here are the new credential descriptions -->
    275323
Note: See TracChangeset for help on using the changeset viewer.