Php5 SOAP WSDL parsing

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

 



I'm trying to get PHP5 to talk to a web service that I am developing.

I have created a wsdl for the service (http://www.symgate.com/symgate/symgate.wsdl) and am trying to get PHP to parse it. (The wsdl validates in a number of tools I've pointed at it, including mindreef soapscope and the wsdl analyser on xmethods.net)

When I try and get PHP5 to read the file, I get an error that it not very helpful. My code says:

try
{
 $client = new SoapClient ( "http://www.symgate.com/symgate/symgate.wsdl"; ) ;
} catch ( SoapFault $fault ) {
 echo $fault ;
 exit ;
}

The output says:

SoapFault exception: [WSDL] SOAP-ERROR: Parsing Schema: unexpected in complexType in /var/www/localhost/htdocs/soap1.php:5 Stack trace: #0 /var/www/localhost/htdocs/soap1.php(5): SoapClient->__construct('http://www.symg...') #1 {main}

This is obviously truncated. I've tried looking at the apache2 error_log but I can't see any further detail.

I'd really like to know what PHP's problem is with my wsdl. How can I see the full output of this error?

Thanks,
Simon

--
Simon Detheridge
SEN Developer, Widgit Software






This message has been scanned for viruses by BlackSpider MailControl - www.blackspider.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[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