Skip to content
Snippets Groups Projects
Commit d612a71d authored by Martin Haase's avatar Martin Haase
Browse files

sync wsdl

git-svn-id: https://textgridlab.org/svn/textgrid/trunk/middleware/tgauth@5606 7c539038-3410-0410-b1ec-0f2a7bf1c452
parent 191f87ad
No related branches found
No related tags found
No related merge requests found
......@@ -321,6 +321,17 @@
</xsd:complexType>
</xsd:element>
<!-- #### getUserRole #### //-->
<xsd:element name="getUserRoleRequest">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="auth" type="xsd:string" minOccurs="1" maxOccurs="1" />
<xsd:element name="log" type="xsd:string" minOccurs="0" maxOccurs="1" />
<xsd:element name="project" type="xsd:string" minOccurs="1" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<!-- #### getRights #### //-->
<xsd:element name="getRightsRequest">
......@@ -495,6 +506,23 @@
</xsd:element>
<xsd:element name="getUserRoleResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="userRole" type="tns:userRole" minOccurs="0" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="userRole">
<xsd:sequence>
<xsd:element name="username" type="xsd:string" minOccurs="1" maxOccurs="1" />
<xsd:element name="roles" type="xsd:string" minOccurs="1" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="projectInfo">
<xsd:sequence>
<xsd:element name="id" type="xsd:string" minOccurs="1" maxOccurs="1" />
......@@ -728,6 +756,15 @@
<wsdl:part element="tns:usersetResponse" name="getMembersOutput" />
</wsdl:message>
<!-- #### getUserRole #### //-->
<wsdl:message name="getUserRoleRequest">
<wsdl:part element="tns:getUserRoleRequest" name="getUserRoleInput" />
</wsdl:message>
<wsdl:message name="getUserRoleResponse">
<wsdl:part element="tns:getUserRoleResponse" name="getUserRoleOutput" />
</wsdl:message>
<!-- #### getRights #### //-->
<wsdl:message name="getRightsRequest">
<wsdl:part element="tns:getRightsRequest" name="getRightsInput" />
......@@ -1633,6 +1670,44 @@
<wsdl:fault name="authenticationFault" message="tns:authenticationFault" />
</wsdl:operation>
<!-- #### getUserRole #### //-->
<wsdl:operation name="getUserRole">
<wsdl:documentation>
Returns ePPNs plus Array of Roles of all members in the project,
caller must be member herself.
<ul>
<li><b>Input Parameters</b> getUserRoleRequest, with elements
<ul>
<li>auth - String, SessionID of user that wants to query
for members</li>
<li>log - String for log information, optional</li>
<li>project - String, ProjectID, such as "TGPR123"</li>
</ul>
</li>
<li><b>Output Parameters</b> getUserRoleResponse. It contains 0...n userRoles, which themselves have elements
<ul>
<li>username - String holding ePPN of user </li>
<li>roles - array of Strings with roles the user has (e.g. "Bearbeiter").</li>
</ul>
</li>
<li><b>Faults</b>
<ul>
<li>authenticationFault</li>
<li>unknownProjectFault</li>
</ul>
</li>
</ul>
</wsdl:documentation>
<wsdl:input message="tns:getUserRoleRequest" />
<wsdl:output message="tns:getUserRoleResponse" />
<wsdl:fault name="authenticationFault" message="tns:authenticationFault" />
<wsdl:fault name="unknownProjectFault" message="tns:unknownProjectFault" />
</wsdl:operation>
<!-- #### getRights #### //-->
<wsdl:operation name="getRights">
......@@ -2095,6 +2170,15 @@
<wsdl:fault name="authenticationFault"><soap:fault name="authenticationFault" use="literal"/></wsdl:fault>
</wsdl:operation>
<!-- #### getUserRole #### //-->
<wsdl:operation name="getUserRole">
<soap:operation soapAction="http://textgrid.info/namespaces/middleware/tgauth/getUserRole" />
<wsdl:input><soap:body use="literal" /></wsdl:input>
<wsdl:output><soap:body use="literal" /></wsdl:output>
<wsdl:fault name="authenticationFault"><soap:fault name="authenticationFault" use="literal"/></wsdl:fault>
<wsdl:fault name="unknownProjectFault"><soap:fault name="unknownProjectFault" use="literal"/></wsdl:fault>
</wsdl:operation>
<!-- #### getRights #### //-->
<wsdl:operation name="getRights">
<soap:operation soapAction="http://textgrid.info/namespaces/middleware/tgauth/getRights" />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment