<?php

$soapURL = "http://localhost:8080/ws/services/AssetOperationService?wsdl";
$client = new SoapClient($soapURL, array('trace' => 1, 'location' => str_replace('?wsdl', '', $soapURL)));
$auth = array('username' => 'admin', 'password' => 'admin');
$identifier = array('path' => array('path' => '/my-xml-block'), 'type' => 'block');
$readParams = array('authentication' => $auth, 'identifier' => $identifier);
$reply = $client->read($readParams);
if ($reply->readReturn->success == 'true') {
    echo "Success. Block's xml: " . $reply->readReturn->asset->xmlBlock->xml;
} else {
    echo "Error occurred: " . $reply->readReturn->message;
}
<?php

include "web_services_util.php";
$client = new SoapClient("http://localhost:8080/ws/services/AssetOperationService?wsdl", array('trace' => 1));
$auth = array('username' => 'admin', 'password' => 'admin');
$id = array('type' => 'page', 'id' => '9e14f5d50a00019501d593b987275f82');
$params = array('authentication' => $auth, 'identifier' => $id);
// Read asset
$reply = $client->read($params);
if ($reply->readReturn->success == 'true') {
    $asset = (array) $reply->readReturn->asset->page;
    print_r($asset);
    // Get its title
    $metadata = $asset["metadata"];
    $title = $metadata->title;
    // Null values
    nullPageValues($asset);
    // Update title
    $title = date('l dS \\of F Y h:i:s A');
    $metadata->title = $title;
    // Edit page
    $params = array('authentication' => $auth, 'asset' => array('page' => $asset));
    try {
        $reply = $client->edit($params);
    } catch (Exception $e) {
        echo "\r\nProblem: {$e->getMessage()}\n";
    }
    $result = $client->__getLastResponse();
    if (!isSuccess($result)) {
        echo "\r\nError occured:";
        echo "\r\n" . extractMessage($result) . "\r\n";