Skip to content
Snippets Groups Projects
Commit c22544ab authored by Stefan E. Funk's avatar Stefan E. Funk
Browse files

Here is the tgextra-crud WSDL file for tgcrud-public and more...

git-svn-id: https://textgridlab.org/svn/textgrid/trunk/middleware/tgauth@11560 7c539038-3410-0410-b1ec-0f2a7bf1c452
parent c1039698
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://textgrid.info/namespaces/middleware/tgauth-crud"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
name="tgextra" targetNamespace="http://textgrid.info/namespaces/middleware/tgauth-crud">
<!-- #################### # Typ-Definitionen # #################### // -->
<wsdl:types>
<xsd:schema targetNamespace="http://textgrid.info/namespaces/middleware/tgauth-crud">
<!-- #### nearlyPublish #### // -->
<xsd:element name="nearlyPublishRequest">
<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="resource" type="xsd:string"
minOccurs="1" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="booleanResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="result" type="xsd:boolean"
minOccurs="1" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<!-- #### authenticationFault #### // -->
<xsd:element name="authenticationFaultResponse" type="tns:TextGridFaultType" />
<!-- #### rbacFault #### // -->
<xsd:element name="rbacFaultResponse" type="tns:TextGridFaultType" />
<!-- #### unknownResourceFault #### // -->
<xsd:element name="unknownResourceFaultResponse" type="tns:TextGridFaultType" />
<!-- #### TextGridFaultType #### // -->
<xsd:complexType name="TextGridFaultType">
<xsd:sequence>
<xsd:element name="faultNo" type="xsd:int" minOccurs="0"
maxOccurs="1" />
<xsd:element name="faultMessage" type="xsd:string"
minOccurs="0" maxOccurs="1" />
<xsd:element name="cause" type="xsd:string" minOccurs="0"
maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
</wsdl:types>
<!-- ################# # WSDL-Messages # ################# // -->
<!-- #### nearlyPublish #### // -->
<wsdl:message name="nearlyPublishRequest">
<wsdl:part element="tns:nearlyPublishRequest" name="nearlyPublishInput" />
</wsdl:message>
<wsdl:message name="nearlyPublishResponse">
<wsdl:part element="tns:booleanResponse" name="nearlyPublishOutput" />
</wsdl:message>
<!-- #### authenticationFault #### // -->
<wsdl:message name="authenticationFault">
<wsdl:part element="tns:authenticationFaultResponse" name="authenticationFault" />
</wsdl:message>
<!-- #### unknownResourceFault #### // -->
<wsdl:message name="unknownResourceFault">
<wsdl:part element="tns:unknownResourceFaultResponse" name="unknownResourceFault" />
</wsdl:message>
<!-- ########################## # Port-Type-Definitionen # ##########################
// -->
<wsdl:portType name="port_tgextra_crud">
<!-- #### nearlyPublish #### // -->
<wsdl:operation name="nearlyPublish">
<wsdl:documentation>
Sets the isPublic flag of a TextGridObject identified by its
URI to
TRUE. The resource will then be world-readable. This is
irreversible
(only by manual modification of the database) and
needs the publish
right, which by default is granted to
project leaders. The difference
to the publish method is that
some rights are preserved to allow
deletion and publication.
<ul>
<li>
<b>Input Parameters</b>
nearlyPublishRequest, with elements
<ul>
<li>auth - String, SessionID of user that wants publish</li>
<li>log - String for log information, optional</li>
<li>resource - String, URI of TgObject</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:nearlyPublishRequest" />
<wsdl:output message="tns:nearlyPublishResponse" />
<wsdl:fault name="authenticationFault" message="tns:authenticationFault" />
<wsdl:fault name="unknownResourceFault" message="tns:unknownResourceFault" />
</wsdl:operation>
</wsdl:portType>
<!-- ########### # Binding # ########### // -->
<wsdl:binding name="binding_tgextra_crud" type="tns:port_tgextra_crud">
<!-- #### nearlyPublish #### // -->
<soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="nearlyPublish">
<soap:operation
soapAction="http://textgrid.info/namespaces/middleware/tgauth-crud/nearlyPublish" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="authenticationFault">
<soap:fault use="literal" name="authenticationFault" />
</wsdl:fault>
<wsdl:fault name="unknownResourceFault">
<soap:fault use="literal" name="unknownResourceFault" />
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<!-- ##################### # Servicedefinition # ##################### // -->
<wsdl:service name="tgextra_crud">
<wsdl:port binding="tns:binding_tgextra_crud" name="tgextra_crud">
<soap:address location="https://textgridlab.org/dev/tgauth/tgextra-crud.php" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
\ No newline at end of file
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