"); } // Create the client instance $client = new soapclient( $ns . 'admin/soap/dkpsoap.php'); // Call the SOAP method $output = $client->call('AddRaid', array('user' => $soap_user, 'password' => $soap_password, 'event_name' => $event_name)); // Display the result print_r($output); echo '

Request

'; echo '
' . htmlspecialchars($client->request, ENT_QUOTES) . '
'; echo '

Response

'; echo '
' . htmlspecialchars($client->response, ENT_QUOTES) . '
'; ?>