$int_obj->setFolderName($content_folder_location); $int_obj->setObjectName($content_folder_file); $set_content_obj->setDocumentParam($int_obj); $set_content_obj->setContentParam($some_random_html); $set_document_response = $instance->execute($set_content_obj); // sample of getDocumentContent $get_content_obj = new getDocumentContent(); $folder_location = $content_folder_location; $object_name = $content_folder_file; $get_content_obj->setDocumentParam($int_obj); $result = $instance->execute($get_content_obj); print_r($result); $set_document_images_obj = new setDocumentImages(); $set_document_images_obj->setDocumentParam($int_obj); $image_1_name = "random_pic1.jpg"; $image_2_name = "random_pic2.jpg"; $image_1 = file_get_contents('pic1.jpg'); $image_2 = file_get_contents('pic2.jpg'); $image_array = array(); $imgData_obj_1 = new ImageData(); $imgData_obj_1->setImage($image_1); $imgData_obj_1->setImageName($image_1_name); $imgData_obj_2 = new ImageData(); $imgData_obj_2->setImage($image_2); $imgData_obj_2->setImageName($image_2_name); $image_array[] = $imgData_obj_1; $image_array[] = $imgData_obj_2; $set_document_images_obj->setImageDataParam($image_array); $set_images_response = $instance->execute($set_document_images_obj); $instance->logout(); }