I missed this the first time I posted...
One - Errors are not being displayed....
error_reporting(E_ALL) - Goes at the very top of the page!
You should be getting a parse error..
Don't open and close tags so much.
Try this:
<?php
error_reporting(E_ALL);
$SuperServiceNumber = $_REQUEST['SuperServiceNumber'];
echo $pf_date
if ($SuperServiceNumber == "") {
// Suspend the customer service and place on DEACTIATED status
$XPost = "<?xml version='1.0' encoding='UTF-8'?>";
$XPost .= "<ProvisionRequest xmlns=\"http://tempuri.org/ProvisionRequest.xsd\">";
$XPost .= "<Credentials>";
$XPost .= "<Token>39809</Token>";
$XPost .= "<TokenKey>9888jjj</TokenKey>";
$XPost .= "</Credentials>";
$XPost .= "<DisconnectService>";
$XPost .= "<ServiceNumber>$SuperServiceNumber</ServiceNumber>";
$XPost .= "</DisconnectService>";
$XPost .= "</ProvisionRequest>";
$url = "https://orders.testsite.net/osiriswebservice/schema/v1/osirisrequest.xsd"; // enter the URL to post to here
$ch = curl_init(); // initialize curl handle
curl_setopt($ch, CURLOPT_URL,$url); // set url to post to
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); // return into a variable
curl_setopt($ch, CURLOPT_HEADER, 1); // capture the returned headers
curl_setopt($ch, CURLOPT_TIMEOUT, 100); // times out after 4s
curl_setopt($ch, CURLOPT_POSTFIELDS, $XPost); // add POST fields
$runit = curl_exec($ch); // run the whole process
$message = preg_replace('/[^0-9]/', '', $runit);
echo $runit;
echo $message;
echo $SuperServiceNumber;
}
echo $runit
?>
I left the parse error in there so you can see that there was an error the whole time.