私は次のコードを持っています
DownloadOperations *DataObj=[[DownloadOperations alloc]init];
[DataObj ID];
NSString *body=[NSString stringWithFormat:@"<?xml version='1.0' encoding='utf-8'?><soap:Envelope xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/'><soap:Body><GetDocumentUpdatedInfo xmlns='http://tempuri.org/'><DocumentID>%@</DocumentID></GetDocumentUpdatedInfo></soap:Body></soap:Envelope>", [DataObj ID]];
NSLog(@"Body %@", body);
このコード[DataObj ID]
の はNsMutablearray
で、NSString
(本体) は値soap Request
を必要とするstring
です。soap request
の各要素に対してこれを繰り返し実行するにはどうすればよいarray
ですか?