androidHttpTransport.call(SOAP_ACTION + GetPersonnel_METHOD, envelope);
SoapObject result = (SoapObject)envelope.getResponse();
これは私が得た石鹸の応答です
anyType{EntityKey=anyType{EntityContainerName=DSS_SOTUBIEntities;
EntityKeyValues=anyType{EntityKeyMember=anyType{Key=PersonnelID; Value=2; }; };
EntitySetName=Personnels; }; Adresse=ariana; CAB=784555584; CodeCommande=1; CommandeID=5;
CommercialID=2; DateCreation=2013-12-13T00:00:00;
プロパティを表示
String res=null;
SoapObject pii = (SoapObject)result.getProperty(0);
res = pii;
res は次の結果を表示します。
anyType{EntityContainerName=DSS_SOTUBIEntities;
EntityKeyValues=anyType{EntityKeyMember=anyType{Key=PersonnelID; Value=2; }; };
EntitySetName=Personnels;
および getProperty(1) の場合
SoapObject pii = (SoapObject)result.getProperty(1);
res show「未定義」
Adresse、CAB、CodeCommande の値を回復する方法...
助けてくれてありがとう。