HTTP/1.1 200 OK
Cache-Control: private
Content-Length: 171
Content-Type: application/xml; charset=utf-8
Server: Microsoft-IIS/8.0
X-Aspnet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Tue, 22 Jul 2014 02:33:21 GMT
101Cannot find table 0.System
Pero no se si esta bien, o que tengo que hacer para recibir el xml si es que lo hay.
Mi codigo es:
Código PHP:
$raw_xml_1 = htmlentities(mi_xml);
$url = 'http://laurldelws';
$headers = array('Content-length: '.strlen($raw_xml_1));
$options = array(headers => $headers, protocol => HTTP_VERSION_1_1);
//create the httprequest object
$httpRequest_OBJ = new httpRequest($url, HTTP_METH_POST, $options);
//add the content type
$httpRequest_OBJ->setContentType = 'Content-Type: application/xml; charset=utf-8';
//add the raw post data
$httpRequest_OBJ->setRawPostData ($raw_xml_1);
//send the http request
$result = $httpRequest_OBJ->send();
//print out the result
echo "<pre>"; print $result; echo "</pre>";