Commit 36be577338d67f4c2a9f4b2117c09d4e50953b16
1 parent
d871fa29
KTS-1694
"SOAP Webservice Implementation" Updated. Fixed issue in workflow transition and in copy. Reviewed By: Kevin Fourie git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@6496 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
2 additions
and
2 deletions
ktwsapi/php/ktwsapi.inc.php
| ... | ... | @@ -473,7 +473,7 @@ class KTWSAPI_Folder extends KTWSAPI_FolderItem |
| 473 | 473 | assert(!is_null($ktwsapi_target_folder)); |
| 474 | 474 | assert(is_a($ktwsapi_target_folder,'KTWSAPI_Folder')); |
| 475 | 475 | |
| 476 | - $kt_response = $this->ktapi->soapclient->move_folder($this->ktapi->session, $this->folder_id,$ktwsapi_target_folder->get_folderid(), $newname); | |
| 476 | + $kt_response = $this->ktapi->soapclient->move_folder($this->ktapi->session, $this->folder_id,$ktwsapi_target_folder->get_folderid()); | |
| 477 | 477 | if (SOAP_Client::isError($kt_response)) |
| 478 | 478 | { |
| 479 | 479 | return $kt_response; |
| ... | ... | @@ -1004,7 +1004,7 @@ class KTWSAPI_Document extends KTWSAPI_FolderItem |
| 1004 | 1004 | */ |
| 1005 | 1005 | function perform_workflow_transition($transition,$reason) |
| 1006 | 1006 | { |
| 1007 | - $kt_response = $this->ktapi->soapclient->delete_document_workflow($this->ktapi->session, $this->document_id, $transition, $reason); | |
| 1007 | + $kt_response = $this->ktapi->soapclient->perform_workflow_transition($this->ktapi->session, $this->document_id, $transition, $reason); | |
| 1008 | 1008 | if (SOAP_Client::isError($kt_response)) |
| 1009 | 1009 | { |
| 1010 | 1010 | return $kt_response; | ... | ... |