function ws_cancelQuotaAssignment($assignments)
{
    try {
        if ($payment) {
            $p = true;
        } else {
            $p = false;
        }
        if ($rollback) {
            $r = true;
        } else {
            $r = false;
        }
        $params = array('assignment' => $assignments);
        $client = new SoapClient(WSDL_QS, array('location' => LOCATION_QS));
        $result = $client->cancelQuotaAssignments($params);
        $response = $result->assignment;
    } catch (Exception $e) {
        $response = $assignments;
    } catch (SoapFault $soapfault) {
        $response = $assignments;
    }
    return $response;
}