SOAP-ERROR: Parsing Schema: unresolved element 'ref' attribute

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi everybody!

I've got some troubles trying to connect with a WS.

I'd tried that with natives functions:

$web_service="http://url_of_the_webservice.asmx?WSDL<http://url_of_the_webservice.asmx/?WSDL>
";

try {
$client = new SoapClient($web_service, array('soap_version'   => SOAP_1_1,
                                             'encoding'=>'utf-8',
                                             'trace' => TRUE,
                                             'STYLE' => SOAP_DOCUMENT,

                'use'   => SOAP_LITERAL

                                            )
                        );


}
catch (SoapFault $exception) {
        //ERROR!!!
        echo "<h1>A exception has ocurred: </h1> ";
        echo $exception;

}


and i recived this error:

A exception has ocurred:
SoapFault exception: [WSDL] SOAP-ERROR: Parsing Schema: unresolved element
'ref' attribute in /var/www/sites/version_2/SOAPdingus.php:20 Stack trace:
#0 /var/www/sites/version_2/
SOAPexample.php(20): SoapClient->__construct('http://services...', Array) #1
{main}



We are working with PHP 5.1.6 (but we tried too in a server with PHP 5.3.4
with the same error). You must know that we connect with others WS without
any kind of problems.

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux