Código PHP:
<html>
<head>
<title>Soriana</title>
</head>
<body>
<form action="index.php" method="POST">
<label>Enviar</label><input type="file" name="xml">
<button type="submit">Enviar</button>
</form>
<?php
if(isset($_POST['xml'])){
$xml=$_POST['xml'];
$client=new SoapClient("http://serviciosweb.soriana.com/RecibeCfd/wseDocRecibo.asmx");
$resultado= $client->__doRequest($xml);
echo $resultado;
}
?>
</body>
</html>
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://serviciosweb.soriana.com/RecibeCfd/wseDocRecibo.asmx' : Premature end of data in tag html line 3 in /home/deshoping2014/public_html/deshoping.com/factura/index.php:13 Stack trace: #0 /home/deshoping2014/public_html/deshoping.com/factura/index.php(13): SoapClient->SoapClient('http://servicio...') #1 {main} thrown in /home/deshoping2014/public_html/deshoping.com/factura/index.php on line 13
No se que estoy haciendo mal, pueden ayudarme?