string
loginName
= "spread@reasonables.com";
string
loginPassword
= "spread";
Dataset
mySubscriptionsData;
//Create a SpreadWebService
object and use its method.
SpreadWebService MySpread = new
SpreadWebService();
mySubscriptionsData
= MySpread.getAllSubscription (loginName, loginPassword);
|
string
loginName
= "spread@reasonables.com";
string
loginPassword
= "spread";
Dataset
mySubscriptionsData;
//Create a SpreadWebService
object and use its method.
SpreadWebService MySpread = new
SpreadWebService();
mySubscriptionsData
= MySpread.getAllSubscription (loginName, loginPassword);
/**
* @name getAllSubscription
* @function get all contact lists
* @param
* loginEmail Login Email of Spread.
* password Login Password of Spread.
* @return
* dataset.
* DataSet Columns:
* subscription Name,description,status,no.of subscribers
*/
public function getAllSubscription($loginEmail,$password){
$paraArray = array(
'loginEmail' => $loginEmail,
'password' => $password
);
$Client = new SoapClient("http://service.rspread.com/Service.asmx?WSDL");
$subscriptionData = $Client -> getAllSubscription( $paraArray );
return $subscriptionData ;
}
No sample.