Skip to content
Snippets Groups Projects
xacml.wsdl 2.69 KiB
<?xml version="1.0" encoding="UTF-8"?>

<wsdl:definitions name="xacml" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
  xmlns:tns="http://daasi.de/namespaces/rbac/xacml" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  targetNamespace="http://daasi.de/namespaces/rbac/xacml"
  xmlns:xacml-samlp="urn:oasis:xacml:2.0:saml:protocol:schema:os"
  xmlns:xacml-saml="urn:oasis:xacml:2.0:saml:assertion:schema:os">

  <!--
  ####################
  # Typ-Definitionen #
  ####################
  //-->
  <wsdl:types>
    <xsd:schema targetNamespace="http://daasi.de/namespaces/rbac/xacml">
      <xsd:import namespace="urn:oasis:xacml:2.0:saml:assertion:schema:os"
        schemaLocation="http://www.daasi.de/schema/oasis/access_control-xacml-2.0-saml-assertion-schema-os.xsd"/>
      <xsd:import namespace="urn:oasis:xacml:2.0:saml:protocol:schema:os"
        schemaLocation="http://www.daasi.de/schema/oasis/access_control-xacml-2.0-saml-protocol-schema-os.xsd"
      />
    </xsd:schema>
  </wsdl:types>

  <!--
  #################
  # WSDL-Messages #
  #################
  //-->

  <!-- #### checkXACMLaccess #### //-->
  <wsdl:message name="checkXACMLaccessRequest">
    <wsdl:part element="xacml-samlp:XACMLAuthzDecisionQuery" name="checkXACMLaccessInput"/>
  </wsdl:message>
  <wsdl:message name="checkXACMLaccessResponse">
    <wsdl:part element="xacml-saml:XACMLAuthzDecisionStatement" name="checkXACMLaccessOutput"/>
  </wsdl:message>

  <!--
  ##########################
  # Port-Type-Definitionen #
  ##########################
  //-->
  <wsdl:portType name="port_xacml">
    <!-- #### checkXACMLaccess #### //-->
    <wsdl:operation name="checkXACMLaccess">
      <wsdl:input message="tns:checkXACMLaccessRequest"/>
      <wsdl:output message="tns:checkXACMLaccessResponse"/>
    </wsdl:operation>
  </wsdl:portType>

  <!--
  ###########
  # Binding #
  ###########
  //-->
  <wsdl:binding name="binding_xacml" type="tns:port_xacml">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>

    <!-- #### checkXACMLaccess #### //-->
    <wsdl:operation name="checkXACMLaccess">
      <soap:operation soapAction="http://daasi.de/rbac/xacml/checkXACMLaccess"/>
      <wsdl:input>
        <soap:body use="literal"/>
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal"/>
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>

  <!--
  #####################
  # Servicedefinition #
  #####################
  //-->
  <wsdl:service name="xacml">
    <wsdl:port binding="tns:binding_xacml" name="xacml">
      <soap:address location="http://ingrid.sub.uni-goettingen.de/rbac-8082/xacml.php"/>
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>