Error on QSoap example

Login or register to post comments
1 reply [Last post]
Steven Warren's picture
Offline
Joined: 11/06/2008

When accessing the QSoap example I am getting the following error in FireFox 3.0.10:

Error in PHP Script
/assets/_core/php/examples/communication/soap.php PHP Version: 5.2.4-2ubuntu5.6;  Zend Engine Version: 2.2.0;  Qcubed Version: 1.1 (QCubed 1.1)
Application: Apache/2.2.8 (Ubuntu) DAV/2 SVN/1.4.6 mod_python/3.3.1 Python/2.5.2 PHP/5.2.4-2ubuntu5.6 with Suhosin-Patch;  Server Name: examples.qcu.be
HTTP User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 FirePHP/0.3
SoapClient::SoapClient(http://examples.qcu.be/assets/_core/php/examples/communication/example_s...) [<a href='function.SoapClient-SoapClient'>function.SoapClient-SoapClient</a>]: failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error

Error Type:   E_WARNING

Rendered Page:   Click here to view contents able to be rendered

Source File:   /var/www/examples.qcu.be/htdocs/assets/_core/php/examples/communication/soap.php     Line:   52

Line 47:    $strUrl = sprintf('http://%s%s/communication/example_service.php',
Line 48:    $_SERVER['HTTP_HOST'],
Line 49:    __VIRTUAL_DIRECTORY__ . __EXAMPLES__);
Line 50:   
Line 51:    $strWsdlUrl = sprintf('%s?wsdl', $strUrl);
Line 52:    $objClient = new SoapClient($strWsdlUrl);
Line 53:    ?>
Line 54:    <div>
Line 55:    To <b>view</b> the webservice, please go to <a href="<?php _p($strUrl); ?>"><?php _p($strUrl); ?></a>
Line 56:    <br/>
Line 57:    To <b>use</b> the webservice, use any SOAP compatible client and import the WSDL file at


Call Stack:

#0 (): QcodoHandleError()
#1 /var/www/examples.qcu.be/htdocs/assets/_core/php/examples/communication/soap.php(52): SoapClient->SoapClient()

alex94040's picture
Offline
Joined: 11/06/2008

This is now fixed.