Hi All,
I am new to PHP and am facing some problems.
I am trying to access the http://ops.espacenet.com/. Its a SOAP based service.
I am trying to access it via PHP (PEAR) from Apache web server on my computer. I connect to the web via a proxy server. I have enclosed the code below and also the error given. Any help will be appreciated.
[PHP]<?php
require_once('S OAP/Client.php');
$client = new SoapClient('htt p://ops.espacenet.c om/OpenPatentServi ces/webService/getPatentData?w sdl');
$request= '<OpenPatent Services ACTION="Biblio" ><WORLDPA TENTDATA>< ;BIBLIO SEED="US7000014 " SEED_FORMAT="E" SEED_TYPE="PN"/></WORLDPATENTDATA ></OpenPatentServi ces>';
$response = $client->getPatentData( $request);
print $response;
?>[/PHP]
Error:
[PHP]Warning: SoapClient::Soa pClient(http://ops.espacenet.c om/OpenPatentServi ces/webService/getPatentData?w sdl) [function.SoapCl ient-SoapClient]: failed to open stream: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. in C:\xampp\htdocs \ops\trail.php on line 3
Warning: SoapClient::Soa pClient() [function.SoapCl ient-SoapClient]: I/O warning : failed to load external entity "http://ops.espacenet.c om/OpenPatentServi ces/webService/getPatentData?w sdl" in C:\xampp\htdocs \ops\trail.php on line 3
Fatal error: Maximum execution time of 60 seconds exceeded in C:\xampp\htdocs \ops\trail.php on line 8[/PHP]