Out variables from a webservice
Posted: Wed Jul 21, 2010 12:12 am
Good day all. I am fairly new to php development and kind of stuck at the moment. I ave a webservice that can be used with standard soap wsdl file or Remobjects Bin or XmlRpc. You can see the service at http://www.smartfin.co.za:8099/ . You will find the Bin, WSDL and XmlRpc parts there. Now i can use this service from my php page but only if the functions result return what you need. You will note that there are 3 functions, GetServerTime, CDVDetailCheck, and IDCheck. Now the GetServerTime works 100% since it returns The date and time as the result but the IDCheck i can not use since youy get the result from 2 out variables called ReplyResult and Gender. How can i display those results.
With XmlRpc i have used XmlRpc and the standard new SoapClient :
EG:
require('jgfunctions.php'); //Just a date display and conversion function
$client = new SoapClient("http://localhost:8099/SmartcdvWSDL");
print convertDate2String($client->GetServerTime(),2);
This works fine but i can not use the IDCheck that returns the result in the out variables.
And i use Apache and PHP 5.3.0 at the moment.
Any help??
With XmlRpc i have used XmlRpc and the standard new SoapClient :
EG:
require('jgfunctions.php'); //Just a date display and conversion function
$client = new SoapClient("http://localhost:8099/SmartcdvWSDL");
print convertDate2String($client->GetServerTime(),2);
This works fine but i can not use the IDCheck that returns the result in the out variables.
And i use Apache and PHP 5.3.0 at the moment.
Any help??