Changeset 7a1918e


Ignore:
Timestamp:
Jul 2, 2009 11:52:50 AM (15 years ago)
Author:
Jay Jacobs <Jay.Jacobs@…>
Branches:
axis_example, compt_changes, info-ops, master, version-1.30, version-2.00, version-3.01, version-3.02
Children:
67c0e15
Parents:
f76d3d7
Message:

Initial version of abac.wsdl with ant file for building java classes from
the wsdl and schemas.

Location:
fedd/wsdl
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • fedd/wsdl/abac.wsdl

    rf76d3d7 r7a1918e  
    3030  </message>
    3131
     32  <message name="AccessRequestMessage">
     33    <part name="NegotiationContext" type="xsd1:negotiationRequest"/>
     34  </message>
     35
     36  <message name="AccessResponseMessage">
     37    <part name="NegotiationResult" type="xsd1:negotiationResult"/>
     38  </message>
     39
     40  <message name="CreateContextRequestMessage">
     41    <part name="ContextIn" type="xsd1:contextInfo"/>
     42  </message>
     43
     44  <message name="CreateContextResponseMessage">
     45    <part name="ContextOut" type="xsd1:contextInfo"/>
     46  </message>
     47
    3248  <portType name="feddABACPortType">
    3349    <operation name="Negotiate">
     
    3753      <input message="tns:NegotiateRequestMessage"/>
    3854      <output message="tns:NegotiateResponseMessage"/>
     55      <fault name="NegotiateFeddFault" message="tns:FaultMessage"/>
     56    </operation>
     57    <operation name="CreateContext">
     58      <documentation>
     59        Add a new negotiation context
     60      </documentation>
     61      <input message="tns:CreateContextRequestMessage"/>
     62      <output message="tns:CreateContextResponseMessage"/>
     63      <fault name="NegotiateFeddFault" message="tns:FaultMessage"/>
     64    </operation>
     65    <operation name="AccessRequest">
     66      <documentation>
     67        Request access to a resource on behalf of a principal
     68      </documentation>
     69      <input message="tns:AccessRequestMessage"/>
     70      <output message="tns:AccessResponseMessage"/>
    3971      <fault name="NegotiateFeddFault" message="tns:FaultMessage"/>
    4072    </operation>
     
    6799        </fault>
    68100      </operation>
     101      <operation name="CreateContext">
     102        <soap:operation soapAction="CreateContext"/>
     103        <input>
     104          <soap:body use="literal" parts="tns:CreateContextRequestBody"
     105            namespace="http://www.isi.edu/faber/fedd.wsdl"
     106            encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
     107        </input>
     108        <output>
     109          <soap:body use="literal" parts="tns:CreateContextResponseBody"
     110            namespace="http://www.isi.edu/faber/fedd.wsdl"
     111            encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
     112        </output>
     113        <fault name="NegotiateFeddFault">
     114          <soap:fault use="literal"  name="tns:FeddFault"
     115            namespace="http://www.isi.edu/faber/fedd.wsdl"
     116            encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
     117        </fault>
     118      </operation>
     119      <operation name="AccessRequest">
     120        <soap:operation soapAction="AccessReqest"/>
     121        <input>
     122          <soap:body use="literal" parts="tns:AccessRequestBody"
     123            namespace="http://www.isi.edu/faber/fedd.wsdl"
     124            encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
     125        </input>
     126        <output>
     127          <soap:body use="literal" parts="tns:AccessResponseBody"
     128            namespace="http://www.isi.edu/faber/fedd.wsdl"
     129            encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
     130        </output>
     131        <fault name="NegotiateFeddFault">
     132          <soap:fault use="literal"  name="tns:FeddFault"
     133            namespace="http://www.isi.edu/faber/fedd.wsdl"
     134            encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
     135        </fault>
     136      </operation>
    69137    </binding>
    70138
  • fedd/wsdl/abac_types.xsd

    rf76d3d7 r7a1918e  
    3232  </xsd:complexType>
    3333 
     34  <xsd:complexType name="negotiationRequest">
     35    <xsd:sequence>
     36      <xsd:element name="context" type="tns:contextInfo"
     37        minOccurs="1" maxOccurs="1"/>
     38      <xsd:element name="goal" type="xsd:string"
     39        minOccurs="1" maxOccurs="1"/>
     40    </xsd:sequence>
     41  </xsd:complexType>
     42
     43  <xsd:complexType name="negotiationResult">
     44    <xsd:sequence>
     45      <xsd:element name="goal" type="xsd:string"
     46        minOccurs="1" maxOccurs="1"/>
     47      <xsd:element name="result" type="xsd:string"
     48        minOccurs="1" maxOccurs="1"/>
     49      <xsd:element name="provenance" type="xsd:string"
     50        minOccurs="0" maxOccurs="1"/>
     51    </xsd:sequence>
     52  </xsd:complexType>
     53
     54  <!--Context info can be: the context data, a file pointing to the data, or
     55        a uid handle to the data-->
     56  <xsd:complexType name="contextInfo">
     57    <xsd:choice>
     58      <xsd:element name="context" type="tns:negotiationContext"/>
     59      <xsd:element name="contextFile" type="xsd:string"/>
     60      <xsd:element name="contextID" type="xsd:string"/>
     61    </xsd:choice>
     62  </xsd:complexType>
     63
    3464  <xsd:complexType name="negotiationContext">
    3565    <xsd:sequence>
Note: See TracChangeset for help on using the changeset viewer.