Out variables from a webservice

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Joejoe79sa
Forum Newbie
Posts: 1
Joined: Tue Jul 20, 2010 8:01 am

Out variables from a webservice

Post by Joejoe79sa »

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??
Post Reply