soap client error

From: Date: Thu, 29 Apr 2004 21:08:10 +0000
Subject: soap client error
Groups: php.soap 
Request: Send a blank email to php-soap+get-1506@lists.php.net to get a copy of this message
Can someone tell me why the following script (PHP5-RC2) fails? <html> <head> <title>PDB client</title> </head> <body> <?php // This client works... // $client = new SoapClient("http://services.xmethods.net/soap/urn:xmethods-delayed-quote s.wsdl"); // print($client->getQuote("ibm")); // But not this... // $client = new SoapClient("http://alpha.rcsb.org/jboss-net/services/pdbWebService"); $client = new SoapClient("http://alpha.rcsb.org/jboss-net/services/pdbWebService?wsdl" ); // $ret = $client->pubmedAbstractQuery("luciferase"); ?> </body> </html> This Perl client works fine: use SOAP::Lite; $url = 'http://alpha.rcsb.org/' .'jboss-net/services/pdbWebService'; $ids_ref = SOAP::Lite -> uri($url) -> proxy($url) -> pubmedAbstractQuery($ARGV[0]) -> result; @ids = @{$ids_ref}; print "@ids\n"; % ./ws_test.pl luciferase 1AMU 1BA3 1BKJ 1BRL 1BSL 1EZW 1F07 1H88 1H89 1H8A 1IZY 1IZZ 1J42 1LCI 1LUC 1LX5 1LXI 1M41 1NFP 1PG3 1PG4 1RY2 1XKJ thanks, --Randy

« previous php.soap (#1506) next »