Jump to content


This topic is now archived and is closed to further replies.



Recommended Posts

I am working with "EVENTINVENTORY WEB SERVICES" I am using php 5.1.1 where is SOAP is enabled and PHP 4.3 where SOAP is not enabled and I am using my own SOAP.
Here is my PHP coad on PHP 5.1.1 and as a result i see following output. Please help me i am stuck with this problem.

Warning: SoapClient::__construct() [function.--construct]: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /opt/lampp/htdocs/projects/Mannan/nutest.php on line 86

Warning: SoapClient::__construct(http://webservices.eventinventory.com/TicketSearch/) [function.--construct]: failed to open stream: Connection refused in /opt/lampp/htdocs/projects/Mannan/nutest.php on line 86

Warning: SoapClient::__construct() [function.--construct]: I/O warning : failed to load external entity "http://webservices.eventinventory.com/TicketSearch/" in /opt/lampp/htdocs/projects/Mannan/nutest.php on line 86

Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://webservices.eventinventory.com/TicketSearch/' in /opt/lampp/htdocs/projects/Mannan/nutest.php:86 Stack trace: #0 /opt/lampp/htdocs/projects/Mannan/nutest.php(86): SoapClient->__construct('http://webservi...') #1 {main} thrown in /opt/lampp/htdocs/projects/Mannan/nutest.php on line 86
// define parameter array
$param = array( 'APPCLIENT_ID' => '2220','EVENT_ID' => '','STARTDATE' => '','INCDAYS' => '');

// define path to server application
// Do not hard code the URL here. Get it from a central place like
// configuration file. The below URL is hard coded just for example
// purpose.
$serverpath ='http://services.Preview.EventInventory.com/webservices/TicketSearch.asmx';

//define method namespace

// create client object
$soapclient = new soapclient($serverpath);

//set soap Action

//to see debug messages
//$soapclient -> debug_flag = 1;

// make the call
$result = $soapclient->call('GetVenueList',$param,$namespace,$soapAction);

// if a fault occurred, output error info
if (isset($fault))
        print "Error: ". $fault;
else if ($result)

        if ($result[faultstring])
        else  //show results
              $data = $root[DATA];
  $row = $data[row];           

                $venueId = $row[$i]['!VID'];
                $venueName = $row[$i]['!Name'];
                $city = $row[$i]['!City'];
                $state = $row[$i]['!State'];
                $zip = $row[$i]['!ZipCode'];
                print"$venueId : $venueName : $city : state :$zip<br>";
else {
        print "No result";
// kill object


Share this post

Link to post
Share on other sites
Problem with EventInventory web services has been resolved

Event Inventory webservices are working fine for me now.

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.