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

right new wsdl

git-svn-id: https://textgridlab.org/svn/textgrid/trunk/middleware/tgauth@5462 7c539038-3410-0410-b1ec-0f2a7bf1c452
parent 1711e03b
No related branches found
No related tags found
No related merge requests found
......@@ -169,6 +169,25 @@
</xsd:element>
<!-- #### getDeactivatedProjects #### //-->
<xsd:element name="getDeactivatedProjectsRequest">
<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:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="getDeactivatedProjectsResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="project" type="tns:projectInfo" minOccurs="0" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<!-- #### tgCheckAccess #### //-->
<xsd:element name="tgCheckAccessRequest">
<xsd:complexType>
......@@ -340,6 +359,18 @@
</xsd:element>
<!-- #### hasPublicResourcesRequest #### //-->
<xsd:element name="hasPublicResourcesRequest">
<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>
<!-- #### setProjectFile #### //-->
<xsd:element name="setProjectFileRequest">
<xsd:complexType>
......@@ -386,6 +417,18 @@
</xsd:element>
<!-- #### reactivateProject #### //-->
<xsd:element name="reactivateProjectRequest">
<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>
<!-- #### deleteProject #### //-->
<xsd:element name="deleteProjectRequest">
<xsd:complexType>
......@@ -480,6 +523,15 @@
</xsd:complexType>
</xsd:element>
<!-- #### unknownProjectFault #### //-->
<xsd:element name="unknownProjectFaultResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="fault" type="xsd:string" minOccurs="1" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<!-- #### rbacFault #### //-->
<xsd:element name="rbacFaultResponse">
<xsd:complexType>
......@@ -604,6 +656,14 @@
<wsdl:part element="tns:getAllProjectsResponse" name="getAllProjectsOutput" />
</wsdl:message>
<!-- #### getDeactivatedProjects #### //-->
<wsdl:message name="getDeactivatedProjectsRequest">
<wsdl:part element="tns:getDeactivatedProjectsRequest" name="getDeactivatedProjectsInput" />
</wsdl:message>
<wsdl:message name="getDeactivatedProjectsResponse">
<wsdl:part element="tns:getDeactivatedProjectsResponse" name="getDeactivatedProjectsOutput" />
</wsdl:message>
<!-- #### getLeader #### //-->
<wsdl:message name="getLeaderRequest">
<wsdl:part element="tns:getLeaderRequest" name="getLeaderInput" />
......@@ -692,6 +752,14 @@
<wsdl:part element="tns:booleanResponse" name="isPublicOutput" />
</wsdl:message>
<!-- #### hasPublicResources #### //-->
<wsdl:message name="hasPublicResourcesRequest">
<wsdl:part element="tns:hasPublicResourcesRequest" name="hasPublicResourcesInput" />
</wsdl:message>
<wsdl:message name="hasPublicResourcesResponse">
<wsdl:part element="tns:booleanResponse" name="hasPublicResourcesOutput" />
</wsdl:message>
<!-- #### setProjectFile #### //-->
<wsdl:message name="setProjectFileRequest">
<wsdl:part element="tns:setProjectFileRequest" name="setProjectFileInput" />
......@@ -716,6 +784,14 @@
<wsdl:part element="tns:booleanResponse" name="deactivateProjectOutput" />
</wsdl:message>
<!-- #### reactivateProject #### //-->
<wsdl:message name="reactivateProjectRequest">
<wsdl:part element="tns:reactivateProjectRequest" name="reactivateProjectInput" />
</wsdl:message>
<wsdl:message name="reactivateProjectResponse">
<wsdl:part element="tns:booleanResponse" name="reactivateProjectOutput" />
</wsdl:message>
<!-- #### deleteProject #### //-->
<wsdl:message name="deleteProjectRequest">
<wsdl:part element="tns:deleteProjectRequest" name="deleteProjectInput" />
......@@ -739,6 +815,11 @@
<wsdl:part element="tns:unknownResourceFaultResponse" name="unknownResourceFault" />
</wsdl:message>
<!-- #### unknownProjectFault #### //-->
<wsdl:message name="unknownProjectFault">
<wsdl:part element="tns:unknownProjectFaultResponse" name="unknownProjectFault" />
</wsdl:message>
<!-- #### rbacFault #### //-->
<wsdl:message name="rbacFault">
<wsdl:part element="tns:rbacFaultResponse" name="rbacFault" />
......@@ -1209,6 +1290,44 @@
<wsdl:output message="tns:getAllProjectsResponse" />
</wsdl:operation>
<!-- #### getDeactivatedProjects #### //-->
<wsdl:operation name="getDeactivatedProjects">
<wsdl:documentation>
Returns all projects stored in this RBAC instance with ID,
name, and description that are deactivated and can be
reactivated by the current user.
<ul>
<li><b>Input Parameters</b> getAllProjectsRequest, with elements
<ul>
<li>auth - String, SessionID of user that wants to query
for projects. Can be omitted as this information can be
reviewed publicly</li>
<li>log - String for log information, optional</li>
</ul>
</li>
<li><b>Output Parameters</b> getDeactivatedProjectsResponse, with element
<ul>
<li>project - projectInfo, can occur multiple
times. <br/>
The type projectInfo consists of the following elements:
<ul>
<li>id - String, project ID, such as "TGPR123"</li>
<li>description - String, project description</li>
<li>name - String, project name</li>
<li>file - String with URI of project file for
project-specific settings. </li>
</ul>
</li>
</ul>
</li>
</ul>
</wsdl:documentation>
<wsdl:input message="tns:getDeactivatedProjectsRequest" />
<wsdl:output message="tns:getDeactivatedProjectsResponse" />
</wsdl:operation>
<!-- #### getLeader #### //-->
<wsdl:operation name="getLeader">
......@@ -1453,7 +1572,7 @@
must have read permission on the resource, or resource must be
public.
<ul>
<li><b>Input Parameters</b> tgRevokePermissionRequest, with elements
<li><b>Input Parameters</b> getOwnerRequest, with elements
<ul>
<li>auth - String, SessionID of user that wants to query
for the owner</li>
......@@ -1489,7 +1608,7 @@
<li><b>Input Parameters</b> getMembersRequest, with elements
<ul>
<li>auth - String, SessionID of user that wants to query
for the owner</li>
for members</li>
<li>log - String for log information, optional</li>
<li>project - String, ProjectID, such as "TGPR123"</li>
</ul>
......@@ -1616,6 +1735,33 @@
<wsdl:output message="tns:isPublicResponse" />
</wsdl:operation>
<!-- #### hasPublicResources #### //-->
<wsdl:operation name="hasPublicResources">
<wsdl:documentation>
Checks if a project has public resources.
<ul>
<li><b>Input Parameters</b> hasPublicResourcesRequest, with elements
<ul>
<li>auth - String, SessionID of user that wants to
query. Can be empty.</li>
<li>log - String for log information, optional</li>
<li>project - String</li>
</ul>
</li>
<li><b>Output Parameters</b> booleanResponse, with element
<ul>
<li>result - boolean, true if project has public
resources.</li>
</ul>
</li>
</ul>
</wsdl:documentation>
<wsdl:input message="tns:hasPublicResourcesRequest" />
<wsdl:output message="tns:hasPublicResourcesResponse" />
</wsdl:operation>
<!-- #### deactivateProject #### //-->
<wsdl:operation name="deactivateProject">
......@@ -1652,6 +1798,41 @@
<wsdl:fault name="authenticationFault" message="tns:authenticationFault" />
</wsdl:operation>
<!-- #### reactivateProject #### //-->
<wsdl:operation name="reactivateProject">
<wsdl:documentation>
Reactivate a hidden and deactivated project. The user must be the
former project leader of the project to be able to reactivate it.
All rights will be restored.
<ul>
<li><b>Input Parameters</b> reactivateProjectRequest, with elements
<ul>
<li>auth - String, SessionID of user that wants publish</li>
<li>log - String for log information, optional</li>
<li>project - String, ProjectID</li>
</ul>
</li>
<li><b>Output Parameters</b> booleanResponse, with element
<ul>
<li>result - boolean, true if operation was successful,
false otherwise</li>
</ul>
</li>
<li><b>Faults</b>
<ul>
<li>authenticationFault</li>
</ul>
</li>
</ul>
</wsdl:documentation>
<wsdl:input message="tns:reactivateProjectRequest" />
<wsdl:output message="tns:reactivateProjectResponse" />
<wsdl:fault name="authenticationFault" message="tns:authenticationFault" />
<wsdl:fault name="unknownProjectFault" message="tns:unknownProjectFault" />
</wsdl:operation>
<!-- #### deleteProject #### //-->
<wsdl:operation name="deleteProject">
......@@ -1937,6 +2118,13 @@
<wsdl:output><soap:body use="literal" /></wsdl:output>
</wsdl:operation>
<!-- #### hasPublicResources #### //-->
<wsdl:operation name="hasPublicResources">
<soap:operation soapAction="http://textgrid.info/namespaces/middleware/tgauth/hasPublicResources" />
<wsdl:input><soap:body use="literal" /></wsdl:input>
<wsdl:output><soap:body use="literal" /></wsdl:output>
</wsdl:operation>
<!-- #### getProjectDescription #### //-->
<wsdl:operation name="getProjectDescription">
<soap:operation soapAction="http://textgrid.info/namespaces/middleware/tgauth/getProjectDescription" />
......@@ -1952,6 +2140,22 @@
<wsdl:fault name="authenticationFault"><soap:fault name="authenticationFault" use="literal"/></wsdl:fault>
</wsdl:operation>
<!-- #### getDeactivatedProjects #### //-->
<wsdl:operation name="getDeactivatedProjects">
<soap:operation soapAction="http://textgrid.info/namespaces/middleware/tgauth/getDeactivatedProjects" />
<wsdl:input><soap:body use="literal" /></wsdl:input>
<wsdl:output><soap:body use="literal" /></wsdl:output>
</wsdl:operation>
<!-- #### reactivateProject #### //-->
<wsdl:operation name="reactivateProject">
<soap:operation soapAction="http://textgrid.info/namespaces/middleware/tgauth/reactivateProject" />
<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>
<!-- #### deleteProject #### //-->
<wsdl:operation name="deleteProject">
<soap:operation soapAction="http://textgrid.info/namespaces/middleware/tgauth/deleteProject" />
......
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