Hi,
creating a web service using Yii-1.1.13, when defining data types,
/**
* @var date Expire date of Package
* @soap
*/
public $expireDate;
/**
*
* @var string {minOccurs=0, maxOccurs=1}
* @soap
*/
public $firstName;
/**
*
* @var string lastName of Customer
* @soap
*/
public $lastName;
/**
*
* @var string gender of customer
* @soap
*/
public $gender;
/**
*
* @var string can be Passport/NIC NO. of user {minOccurs=0, maxOccurs=1}
* @soap
*/
public $idNo;
defined those as above.Bt fot expire_date if i put a string it get the data in to serverside. But after returning data it shows string value for that expire_date element. Please help, why is this occured?