我正在尝试使用复杂对象访问wcf方法
我的WCF:
[OperationContract]
List<acclist> ccAcc(cList cll);
Clist class:
public class cList
{
[DataMember]
public string state { get; set; }
[DataMember]
public string city { get; set; }
[DataMember]
public string street { get; set; }
}
从Android我需要调用cccAcc以便我传递复杂的对象 cList customList = new cList();
PropertyInfo pi = new PropertyInfo();
customList.setState("tn");
customList.setCity("chennai");
pi.setName("cll");
pi.setValue(customList);
pi.setType(cList.class);
request.addProperty(pi);
但我的回答是: ccAccResponse {ccAccResult = anyType的{};如何解决此错误。