Hi all, I am having difficulties in making connection via soap, follows the code below.
<?php
ini_set('soap.wsdl_cache_enabled', 0);
ini_set('soap.wsdl_cache_ttl', 0);
$client = new SoapClient('CmapWebService.wsdl');
// print_r($client->__getFunctions());
print_r($client->checkPermission());
Displays the following error:
Fatal error: Uncaught SoapFault exception: [HTTP] Could not connect to host in /Library/WebServer/Documents/tests/soap.php:9 Stack trace: #0 [internal function]: SoapClient->__doRequest('<?xml version="...', 'http://server-a...', 'checkPermission', 1, 0) #1 /Library/WebServer/Documents/tests/soap.php(9): SoapClient->__call('checkPermission', Array) #2 /Library/WebServer/Documents/tests/soap.php(9): SoapClient->checkPermission() #3 {main} thrown in /Library/WebServer/Documents/tests/soap.php on line 9
Problems with the connection of the webservice (PHP)
Forum rules
Before you post a problem or bug, please be sure you have included the version number of IHMC CmapServer, the operating system and version, the amount of RAM, and any other information that allows us to be able to replicate the problem you are having. (i.e. what were you doing when the problem occur? were you running another program (application) by the time you have the problem?)
Before you post a problem or bug, please be sure you have included the version number of IHMC CmapServer, the operating system and version, the amount of RAM, and any other information that allows us to be able to replicate the problem you are having. (i.e. what were you doing when the problem occur? were you running another program (application) by the time you have the problem?)
-
- Posts: 1
- Joined: Tue Sep 24, 2013 9:30 am