diff --git a/info.textgrid.middleware.tgauth.rbac/rbacSoap/examples/registerResource.php b/info.textgrid.middleware.tgauth.rbac/rbacSoap/examples/registerResource.php index 8451c1550e0996fe492e467946a46ebfb2b8a4f4..99b3b939fb608d960533accdfe169be98910c94c 100755 --- a/info.textgrid.middleware.tgauth.rbac/rbacSoap/examples/registerResource.php +++ b/info.textgrid.middleware.tgauth.rbac/rbacSoap/examples/registerResource.php @@ -8,28 +8,16 @@ require_once( "../soapTypes.inc.php" ); -require_once( "wsdlDefinition.include.php" ); - // ----------------------------------------------------- // You'll need these services // ----------------------------------------------------- +$soapExtra = new SoapClient( "../wsdl/tgextra.wsdl" ); echo "<BODY><HTML>"; -if( isset( $_POST['wsdl'] ) ) { - - $soapExtra = new SoapClient( $arrExtraWsdl[$_POST['wsdl']]['url'], Array( "trace" => true ) ); - -} -else { - - $soapExtra = new SoapClient( $arrExtraWsdl[0]['url'] ); - -} - if( isset( $_POST['auth'] ) ) { @@ -40,7 +28,7 @@ if( isset( $_POST['auth'] ) ) { // ----------------------------------------------------- $regReq = new registerResourceRequest(); $regReq->auth = $_POST['auth']; - $regReq->secret = "29hsudhf892en11syodw34fh0d"; + $regReq->secret = "XXXXXXXXXXXXXCRUDsecretXXXXXXXXXXXXXXX"; $regReq->log = ""; $regReq->project = $_POST['project']; $regReq->uri = $_POST['uri'];