I'm using wcf web service which returns Schedule type arraylist (I
developed Schedule type)
up to
HttpTransportSE at = new HttpTransportSE(URL);
at.call(SOAP_ACTION, envelope);
SoapObject so = (SoapObject)envelope.getResponse();
up to this OK. but i could not reads this object from android client side,
My Schedule class is this
namespace UtilsLibrary.Entities
{
[DataContract(Namespace = Constant.NAMESPACE)]
public class Schedule
{
[DataMember]
public int ScheduleId { get; set; }
[DataMember]
public int DoctorId { get; set; }
[DataMember]
public string DoctorPhone { get; set; }
[DataMember]
public string DoctorRefNo { get; set; }
[DataMember]
public int PractiseLocationId { get; set; }
[DataMember]
public string PractiseLocationName { get; set; }
[DataMember]
public DateTime ScheduleDate { get; set; }
[DataMember]
public DateTime StartTime { get; set; }
[DataMember]
public DateTime EndTime { get; set; }
[DataMember]
public int NumberOfPatients { get; set; }
[DataMember]
public bool UssdAllowed { get; set; }
[DataMember]
public int NumberOfUssdPatients { get; set; }
[DataMember]
public int CurrentBooking { get; set; }
[DataMember]
public int AreaId { get; set; }
[DataMember]
public int StatusId { get; set; }
/* Temp fields*/
[DataMember]
public string PractiseLocation { get; set; }
[DataMember]
public string DoctorFirstName { get; set; }
[DataMember]
public string DoctorLastName { get; set; }
[DataMember]
public string LocationName { get; set; }
[DataMember]
public string PractiseLocationPhone { get; set; }
}
}
please give me sample code to read this Soap object from android client
side , wcf service not give any JSON object , please help me ...
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en