SOAP 응답을 둘러싼 봉투를 제거 할 방법을 찾고 있습니다. 데이터는 JSON이지만 실제로는 레벨이 없기 때문에 json 파일에 데이터를 저장하고 파서가 데이터를 처리하기 때문에 필자가 봉투를 제거 할 수 있다고 생각합니다. 내 유일한 문제는 서버에서 응답을 얻을 때 데이터를 둘러싼 봉투입니다.초보자 아이폰 비누 봉투 제거
나는 많이 보았지만 대답을 찾을 수없는 것 같습니다. 어떤 도움 및 샘플 코드도 감사하겠습니다!
이 내가이 당겨 찾고
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<AuthenticateUserResponse xmlns="http://tempuri.org/">
<AuthenticateUserResult>{"isValid":true,"isContractor":false,"isExpired":false,"isApproved":true,"userID":"e2be94cb-2e74-4eae-91a9-d874735b8647","userType":"DUMP ","trucks":1}</AuthenticateUserResult>
</AuthenticateUserResponse>
</s:Body>
</s:Envelope>
내 비누 반응이다.
{"isValid":true,"isContractor":false,"isExpired":false,"isApproved":true,"userID":"e2be94cb-2e74-4eae-91a9-d874735b8647","userType":"DUMP ","trucks":1}
나는 잘못된 접근법을 취할 수 있지만 도움이된다면 크게 도움이 될 것입니다.
감사합니다. – mike