PHP CURL Soap请求打印响应

PHP CURL Soap请求打印响应,php,soap,curl,xmlhttprequest,Php,Soap,Curl,Xmlhttprequest,您好,我正在尝试向powerpay.biz发送Soap请求,但没有收到响应,另外,当我使用测试url时 我得到这个错误 Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 1: parser error : Start tag expected, '<' not found in /home/content/g/k/i/gkic1848/html/admin/class

您好,我正在尝试向powerpay.biz发送Soap请求,但没有收到响应,另外,当我使用测试url时

我得到这个错误

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 1: parser error : Start tag expected, '<' not found in /home/content/g/k/i/gkic1848/html/admin/classes/submit_applicant.class.php on line 299

警告:SimpleXMLElement::u construct()[SimpleXMLElement.-construct]:实体:第1行:解析器错误:应为开始标记,“不要在输出中包含响应头。删除此行:

curl_setopt($curl, CURLOPT_HEADER, true); 

错误消息表示您得到的响应格式不正确-您是否尝试回显
$xml\u result
以查看实际得到的结果?以下是我回显得到的结果:HTTP/1.1 100 Continue HTTP/1.1 200 OK Date:Thu,2013年4月18日17:06:27 GMT服务器:Apache内容长度:0内容类型:text/htmlen问题是您没有收到服务器的响应-您能否从服务器获取任何信息以查看那里发生了什么?他们说他们没有看到来自我的任何新请求。
curl_setopt($curl, CURLOPT_HEADER, true);