BUG 11830 "Remover la funcion WSDL Web Services..." SOLVED
- Remover la funcion WSDL Web Services Functions importProcessFromLibrary() - Problema resuelto, se ha eliminado la Funcion "importProcessFromLibrary()", ya no existe.
This commit is contained in:
@@ -103,7 +103,6 @@
|
||||
$t->is( $methods[18] , 'taskCaseResponse taskCase(taskCaseRequest $parameters)' , 'taskCase');
|
||||
$t->is( $methods[19] , 'systemInformationResponse systemInformation(systemInformationRequest $parameters)', 'systemInformation');
|
||||
$t->is( $methods[20] , 'triggerListResponse triggerList(triggerListRequest $parameters)' , 'triggerList');
|
||||
$t->is( $methods[21] , 'importProcessFromLibraryResponse importProcessFromLibrary(importProcessFromLibraryRequest $parameters)' , 'importProcessFromLibraryRequest');
|
||||
|
||||
$t->diag('--------------- defined WSDL types --------------------' );
|
||||
|
||||
@@ -159,8 +158,6 @@
|
||||
$type47 = "struct triggerListRequest {\n string sessionId;\n}";
|
||||
$type48 = "struct triggerListStruct {\n string guid;\n string name;\n string processId;\n}";
|
||||
$type49 = "struct triggerListResponse {\n triggerListStruct triggers;\n}";
|
||||
$type50 = "struct importProcessFromLibraryRequest {\n string sessionId;\n string processId;\n string version;\n string importOption;\n string usernameLibrary;\n string passwordLibrary;\n}";
|
||||
$type51 = "struct importProcessFromLibraryResponse {\n integer status_code;\n string message;\n string processId;\n string processTitle;\n string category;\n string version;\n}";
|
||||
|
||||
$t->is( $types[0 ] , $type0 , 'login ' );
|
||||
$t->is( $types[1 ] , $type1 , 'loginResponse ' );
|
||||
@@ -256,17 +253,6 @@
|
||||
if ( $foundProcess ) {
|
||||
$t->is( $foundProcess, true, 'Sequential Process is present in this Workspace');
|
||||
}
|
||||
else {
|
||||
$res = ws_importProcessFromLibrary ( PROCESS_UID_LIBRARY , '' );
|
||||
if ( $res->status_code == 0 ) {
|
||||
$t->is( $res->status_code, 0, 'Process imported from Library successfully');
|
||||
$t->diag( ' processTitle ' . $res->processTitle );
|
||||
$t->diag( ' category ' . $res->category );
|
||||
$t->diag( ' version ' . $res->version );
|
||||
}
|
||||
else
|
||||
throw ( new Exception ( $res->message . ". Process '". PROCESS_UID ."' ") );
|
||||
}
|
||||
|
||||
//checking the groupList
|
||||
$groups = ws_groupList() ;
|
||||
@@ -504,9 +490,3 @@
|
||||
$res = ws_getCaseInfo ($caseId, $delIndex);
|
||||
$t->is( $res->status_code , 0 , 'ws_getCaseInfo status_code = 0');
|
||||
$t->is( $res->caseStatus , 'COMPLETED' , 'ws_getCaseInfo caseStatus = ' . $res->caseStatus );
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -46,17 +46,6 @@
|
||||
if ( $foundProcess ) {
|
||||
$t->is( $foundProcess, true, 'Process for' .$uidName[1]. 'is present in this Workspace');
|
||||
}
|
||||
else {
|
||||
$res = ws_importProcessFromLibrary ( $process_uid_library , '' , 3, PML_USER_ID, PML_USER_PASS );
|
||||
if ( $res->status_code == 0 ) {
|
||||
$t->is( $res->status_code, 0, 'Process imported from Library successfully');
|
||||
$t->diag( ' processTitle ' . $res->processTitle );
|
||||
$t->diag( ' category ' . $res->category );
|
||||
$t->diag( ' version ' . $res->version );
|
||||
}
|
||||
else
|
||||
throw ( new Exception ( $res->message . ". Process '". $uid_Process ."' ") );
|
||||
}
|
||||
|
||||
}
|
||||
//creating an user, if this user exists just skip this lines
|
||||
@@ -343,4 +332,3 @@
|
||||
$t->is( $foundUser2, true, 'user2 is present in Group employees');
|
||||
$t->is( $foundUser3, true, 'user3 is present in Group finance');
|
||||
|
||||
|
||||
@@ -616,24 +616,6 @@ function ws_systemInformation() {
|
||||
return $result;
|
||||
}
|
||||
|
||||
function ws_importProcessFromLibrary($processId, $version = '', $importOption = '', $usernameLibrary = '', $passwordLibrary = '') {
|
||||
global $sessionId;
|
||||
global $client;
|
||||
|
||||
$params = array (
|
||||
'sessionId' => $sessionId,
|
||||
'processId' => $processId,
|
||||
'version' => $version,
|
||||
'importOption' => $importOption,
|
||||
'usernameLibrary' => $usernameLibrary,
|
||||
'passwordLibrary' => $passwordLibrary
|
||||
);
|
||||
$result = $client->__SoapCall('importProcessFromLibrary', array (
|
||||
$params
|
||||
));
|
||||
return $result;
|
||||
}
|
||||
|
||||
function ws_InputDocumentList($caseId) {
|
||||
global $sessionId;
|
||||
global $client;
|
||||
|
||||
Reference in New Issue
Block a user