diff --git a/info.textgrid.middleware.tgauth.rbac/rbacSoap/examples/getOwner.php b/info.textgrid.middleware.tgauth.rbac/rbacSoap/examples/getOwner.php index cc42db678e2ca1e928d05416ce219cfd5d4374a7..85394c4844abf009c245824677f8548f5f183ba9 100755 --- a/info.textgrid.middleware.tgauth.rbac/rbacSoap/examples/getOwner.php +++ b/info.textgrid.middleware.tgauth.rbac/rbacSoap/examples/getOwner.php @@ -14,7 +14,7 @@ require_once( "../soapTypes.inc.php" ); // ----------------------------------------------------- // You'll need these services // ----------------------------------------------------- -$soapExtra = new SoapClient( "http://rbac.textgrid.daasi.de/wsdl/tgextra.wsdl" ); +$soapExtra = new SoapClient( "../wsdl/tgextra.wsdl" ); echo "<BODY><HTML>"; diff --git a/info.textgrid.middleware.tgauth.rbac/rbacSoap/examples/tgCheckAccess.php b/info.textgrid.middleware.tgauth.rbac/rbacSoap/examples/tgCheckAccess.php index 347e4ece8e1c8940c2376cbed67c722ceb0df1a0..91f5512c2360c2d8ce3f114ea6fab11a6e1331b4 100755 --- a/info.textgrid.middleware.tgauth.rbac/rbacSoap/examples/tgCheckAccess.php +++ b/info.textgrid.middleware.tgauth.rbac/rbacSoap/examples/tgCheckAccess.php @@ -14,7 +14,7 @@ require_once( "../soapTypes.inc.php" ); // ----------------------------------------------------- // You'll need these services // ----------------------------------------------------- -$soapSystem = new SoapClient( "http://rbac.textgrid.daasi.de/wsdl/tgextra.wsdl" ); +$soapSystem = new SoapClient( "../wsdl/tgextra.wsdl", Array( "trace" => true ) ); echo "<BODY><HTML>"; @@ -43,6 +43,8 @@ if( isset( $_POST['auth'] ) ) { $checkResponse = $soapSystem->tgCheckAccess( $regReq ); + echo $soapSystem->__getLastResponse(); + if( $checkResponse->result ) { echo "YES.<BR>"; diff --git a/info.textgrid.middleware.tgauth.rbac/rbacSoap/wsdl-8082/tgextra.wsdl b/info.textgrid.middleware.tgauth.rbac/rbacSoap/wsdl-8082/tgextra.wsdl index 5f6f29717260bb282b7b87c28a125571cb9194cd..39691070860247b005f9d77aa7087692ec9b72c1 100644 --- a/info.textgrid.middleware.tgauth.rbac/rbacSoap/wsdl-8082/tgextra.wsdl +++ b/info.textgrid.middleware.tgauth.rbac/rbacSoap/wsdl-8082/tgextra.wsdl @@ -54,7 +54,6 @@ <xsd:element name="log" type="xsd:string" minOccurs="0" maxOccurs="1" /> <xsd:element name="name" type="xsd:string" minOccurs="1" maxOccurs="1" /> <xsd:element name="description" type="xsd:string" minOccurs="0" maxOccurs="1" /> - <xsd:element name="file" type="xsd:string" minOccurs="0" maxOccurs="1" /> </xsd:sequence> </xsd:complexType> </xsd:element> @@ -223,7 +222,6 @@ <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="level" type="xsd:int" minOccurs="0" maxOccurs="1" /> </xsd:sequence> </xsd:complexType> </xsd:element> @@ -338,19 +336,6 @@ </xsd:element> - <!-- #### setProjectFile #### //--> - <xsd:element name="setProjectFileRequest"> - <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:element name="file" type="xsd:string" minOccurs="1" maxOccurs="1" /> - </xsd:sequence> - </xsd:complexType> - </xsd:element> - - <!-- #### getProjectDescription #### //--> <xsd:element name="getProjectDescriptionRequest"> <xsd:complexType> @@ -443,7 +428,6 @@ <xsd:element name="id" type="xsd:string" minOccurs="1" maxOccurs="1" /> <xsd:element name="description" type="xsd:string" minOccurs="0" maxOccurs="1" /> <xsd:element name="name" type="xsd:string" minOccurs="1" maxOccurs="1" /> - <xsd:element name="file" type="xsd:string" minOccurs="0" maxOccurs="1" /> </xsd:sequence> </xsd:complexType> @@ -669,14 +653,6 @@ <wsdl:part element="tns:booleanResponse" name="isPublicOutput" /> </wsdl:message> - <!-- #### setProjectFile #### //--> - <wsdl:message name="setProjectFileRequest"> - <wsdl:part element="tns:setProjectFileRequest" name="setProjectFileInput" /> - </wsdl:message> - <wsdl:message name="setProjectFileResponse"> - <wsdl:part element="tns:booleanResponse" name="setProjectFileOutput" /> - </wsdl:message> - <!-- #### getProjectDescription #### //--> <wsdl:message name="getProjectDescriptionRequest"> <wsdl:part element="tns:getProjectDescriptionRequest" name="getProjectDescriptionInput" /> @@ -742,13 +718,6 @@ <wsdl:output message="tns:createProjectResponse" /> </wsdl:operation> - <!-- #### setProjectFile #### //--> - <wsdl:operation name="setProjectFile"> - <wsdl:input message="tns:setProjectFileRequest" /> - <wsdl:output message="tns:setProjectFileResponse" /> - <wsdl:fault name="authenticationFault" message="tns:authenticationFault" /> - </wsdl:operation> - <!-- #### getObjects #### //--> <wsdl:operation name="getObjects"> <wsdl:input message="tns:getObjectsRequest" /> @@ -822,7 +791,6 @@ <wsdl:input message="tns:unregisterResourceRequest" /> <wsdl:output message="tns:unregisterResourceResponse" /> <wsdl:fault name="unknownResourceFault" message="tns:unknownResourceFault" /> - <wsdl:fault name="authenticationFault" message="tns:authenticationFault" /> </wsdl:operation> <!-- #### filterBySid #### //--> @@ -933,14 +901,6 @@ <wsdl:output><soap:body use="literal" /></wsdl:output> </wsdl:operation> - <!-- #### setProjectFile #### //--> - <wsdl:operation name="setProjectFile"> - <soap:operation soapAction="http://textgrid.info/namespaces/middleware/tgauth/setProjectFile" /> - <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:operation> - <!-- #### getObjects #### //--> <wsdl:operation name="getObjects"> <soap:operation soapAction="http://textgrid.info/namespaces/middleware/tgauth/getObjects" /> @@ -1026,7 +986,6 @@ <wsdl:input><soap:body use="literal" /></wsdl:input> <wsdl:output><soap:body use="literal" /></wsdl:output> <wsdl:fault name="unknownResourceFault"><soap:fault name="unknownResourceFault" use="literal"/></wsdl:fault> - <wsdl:fault name="authenticationFault"><soap:fault name="authenticationFault" use="literal"/></wsdl:fault> </wsdl:operation> <!-- #### filterBySid #### //-->