NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
php soap call issue


Joined: 21 Nov 2012
Posts: 1
Reply with quote
-3 down vote favorite


I am using this soap call function to get values from wsdl .I got response ,but not any data from the server. here is my code please help.
Code:

$client = new SoapClient("http://www.alphamax3.com/AM3WebApp/services/PropertySearchServiceSoap?wsdl", array('trace' => 1));
$result = $client->searchInstrument( array('instrumentSearchRequest' =>array('searchInstrument'=>array('number'=>1)) ));

//$property = $client->searchMap();
//$property = $client->searchInstrument();
//echo "REQUEST:\n" . $client->__getLastResponse() . "\n";
echo "RESPONSE:\n" . htmlentities($client->__getLastResponse()) . "\n";





I am using this soap call function to get values from wsdl .I got response ,but not any data from the server. here is my code please help.

$client = new SoapClient("http://www.alphamax3.com/AM3WebApp/services/PropertySearchServiceSoap?wsdl", array('trace' => 1));
$result = $client->searchInstrument( array('instrumentSearchRequest' =>array('searchInstrument'=>array('number'=>1)) ));

//$property = $client->searchMap();
//$property = $client->searchInstrument();
//echo "REQUEST:\n" . $client->__getLastResponse() . "\n";
echo "RESPONSE:\n" . htmlentities($client->__getLastResponse()) . "\n";

Response from the server is:

<?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><searchInstrumentResponse xmlns="http://dataChekWebService.dserve.net"><searchInstrumentReturn><clientInfo xsi:nil="true"/><instrumentSearchResult xsi:nil="true"/><responseInfo><code>-3</code><dataChekRequestId>44073F9D-2352-447B-839A-930D830999CF</dataChekRequestId><message xsi:nil="true"/><version>AlphaMax3</version></responseInfo></searchInstrumentReturn></searchInstrumentResponse></soapenv:Body></soapenv:Envelope>

I want to know there is any authentication required or api key to access this service, i don't find any documentation with the service provider(www.alphamax3.com) . Anybody please help
View user's profileFind all posts by anusankerSend private message
php soap call issue
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic