fong01 Posted November 18, 2008 Share Posted November 18, 2008 Hi,I am first time use Jasper product, I put the php-sample I getting this error ,Warning: require_once(SOAP/Client.php) [function.require-once]: failed to open stream: No such file or directory in C:wampwwwjasperclient.php on line 5Fatal error: require_once() [function.require]: Failed opening required 'SOAP/Client.php' (include_path='.;C:php5pear') in C:wampwwwjasperclient.php on line 5How can I slove this case? Thank you.FongCode: $webservices_uri = "http://localhost:8080/jasperserver/services/repository"; $namespace = "http://www.jaspersoft.com/namespaces/php"; require_once('SOAP/Client.php'); define("TYPE_FOLDER","folder"); define("TYPE_REPORTUNIT","reportUnit"); define("TYPE_DATASOURCE","datasource"); Link to comment Share on other sites More sharing options...
yaroslav Posted November 18, 2008 Share Posted November 18, 2008 You must install the PEAR Soap packagehttp://pear.php.net/package/SOAPPost Edited by Yaroslav Zenin at 11/18/08 13:23 Link to comment Share on other sites More sharing options...
jmini Posted June 15, 2009 Share Posted June 15, 2009 In addition, I want to add this precision for people who might have the same problem and land like me on this page. I needed to :* upgrade my Pear SOAP package (0.9.0 was not enought) => http://pear.php.net/package/SOAP* install the Net_Dime package => http://pear.php.net/package/Net_DIME After that the Notice Warning disapears :Notice: Undefined index: content-type in /usr/share/php/SOAP/Transport/HTTP.php on line 395 Link to comment Share on other sites More sharing options...
isaac_1 Posted September 23, 2013 Share Posted September 23, 2013 The PEAR package does not seem to come in a complete package... SOAP is asking for files needed within itself. Warning: require_once(HTTP/Request.php) [function.require-once]: failed to open stream: No such file or directory in /stuff/share/websites/isaac/JasperPHP/SOAP/WSDL.php on line 27 Fatal error: require_once() [function.require]: Failed opening required 'HTTP/Request.php' (include_path='.:/usr/share/pear:/usr/share/php') in /stuff/share/websites/isaac/JasperPHP/SOAP/WSDL.php on line 27 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now