[RESOLVED] issue with EVENTINVENTORY WEB SERVICES

windows

Guest
I am having problem with SOAP:
I am working with "EVENTINVENTORY WEB SERVICES" with 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(<!-- m --><a class="postlink" href="http://webservices.eventinventory.com/TicketSearch/">http://webservices.eventinventory.com/TicketSearch/</a><!-- m -->) [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 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.
// if a fault occurred, output error info
if (isset($fault))
{
print "Error: ". $fault;
}
else if ($result)
{

if ($result[faultstring])
{
print"<h2>Error:</h2>
$result[faultstring]";
}
else //show results
{
$root=$result[ROOT];
$data = $root[DATA];
$row = $data[row];


else {
print "No result";
}
// kill object
unset($soapclient);Well, all the error messages are consequences of the first one:

getaddrinfo failed: Temporary failure in name resolution in /opt/lampp/htdocs/projects/Mannan/nutest.php on line 86

For some reason your DNS server is unable to determine the IP address (204.14.204.53) for services.Preview.EventInventory.com

Does using the address give you any better success? If it does, then your problem lies somewhere upstream of your script.Well, all the error messages are consequences of the first one:

getaddrinfo failed: Temporary failure in name resolution in /opt/lampp/htdocs/projects/Mannan/nutest.php on line 86

For some reason your DNS server is unable to determine the IP address (204.14.204.53) for services.Preview.EventInventory.com

Does using the address give you any better success? If it does, then your problem lies somewhere upstream of your script.


Can you please explain what do you mean by "your DNS server is unable to determine the IP address (204.14.204.53) "
I am testing this code at my local machine i am not testing it at a server etc.Computers don't use domain names, they use IP addresses. Before your computer can connect to another machine on the Internet it needs to know the other machine's address, and for that it needs access to a DNS server so that it can ask "hey, what's the address of services.Preview.EventInventory.com?" and get back the reply (as mine did when it asked) "204.14.204.53".

Whatever service provider you're using to get access to the Internet would be providing the domain name service.Can you please guide me towords the solution of this problem.
I don't know much about DNS stuff, so please tell how to resolve this issue.

Thanks.What file is this code from?What file is this code from?
Unclear questionYes SOLVEDmark it resolved using the "thread tools" menuSolution:
EventInventory : Event Inventory web services problem can be solved:

$erv ='http://services.Preview.EventInventory.com/webservices/TicketSearch.asmx';
$nspace="http://www.eventinventory.com/webservices/";

or

$erv ='http://services.EventInventory.com/webservices/TicketSearch.asmx';
$nspace="http://www.eventinventory.com/webservices/";

I have marked it resolved.thank you dizyn for providing me the solution, though I had to contact him on email but he solved the problem.

thanks again for your good help.

-Kim
 
Back
Top