지금 문제가 있습니다. 나는 transactionID와 사용자 암호를 나머지 서비스에 전달해야하며, XML 값으로 true/false 값을 반환한다고 가정한다. 그러나, 그것은 지속적으로 나를 돌려 보내고 있습니다. (null).iphone에 웹 서비스가 남아 있습니다.
NSString *urlString = [NSString stringWithFormat:@"https://10.124.128.93:8443/axis2/services/C3WebService/completeWithdrawal Transaction?transactionId=%@&password=%@", _transactionID.text, _userPassword.text];
NSURL *url = [[NSURL alloc] initWithString:urlString];
NSString *result = [[NSString alloc] initWithContentsOfURL:url];
NSLog(@"%@",result);
내 결과는 계속 null을 반환합니다. 여기서 어떻게 계속합니까?
[이] (http://stackoverflow.com/questions/2005448/how-to :
그럼 당신은 오류, 데이터 및 기타 세부 사항을 얻을 수있는 대리자 메서드를 구현할 수 있습니다 -use-nsxmlparser-to-parse-parent-child-elements-that-same-name/2005630 # 2005630) 구문 분석에 대한 적절한 아이디어를 제공합니다. –