Hola amigos,
Reduciendo mi duda,
he probado el script que se encuentra en la pagina oficial de php para conectarme a un webservice en .NET y mi codigo queda asi:
Código PHP:
Ver original$wsdl = "http://webservices.tekever.eu/ctt/?wsdl";
$int_zona = 5;
$int_peso = 1001;
$cliente = new SoapClient
($wsdl,array('trace'=>1)); print "<p>Envio Internacional: ";
$vem = $cliente->CustoEMSInternacional(array($int_zona, $int_peso)); print $vem.'<br>';
print "</p>";
Código:
Fatal error: Uncaught SoapFault exception: [HTTP] Not Acceptable in C:\xampp\htdocs\Octubre\WebService asmx\prueba1.php:20 Stack trace: #0 [internal function]: SoapClient->__doRequest('<?xml version="...', 'http://webservi...', 'http://webservi...', 1, 0) #1 [internal function]: SoapClient->__call('CustoEMSInterna...', Array) #2 C:\xampp\htdocs\Octubre\WebService asmx\prueba1.php(20): SoapClient->CustoEMSInternacional(Array) #3 {main} thrown in C:\xampp\htdocs\Octubre\WebService asmx\prueba1.php on line 20
Alguno de ustedes me puede ayudar por que me muestra este error??
Saludos