2010-06-04 15 views
0

我已經這樣做有沒有什麼錯誤由我執行?
NSURL * url = [NSURL URLWithString:@「http://111.111.111.111/BattleEmpire.Service/ApplicationService.svc?wsdl」]; NSMutableURLRequest * theRequest = [NSMutableURLRequest requestWithURL:url]; [theRequest setHTTPMethod:@「GET」]; NSURLConnection * theConnection = [[NSURLConnection alloc] initWithRequest:theRequest delegate:self]; (連接) webData = [[NSMutableData data] retain]; NSLog(@「建立連接」); } 其他{ NSLog(@「theConnection is NULL」); }什麼是在iphone中執行wsdl解析的過程?

+0

這取決於什麼你的期望。如果你期望它解析wsdl,那麼你需要添加更多的代碼來進行解析。 您發佈的代碼片段只負責啓動加載內容。 – 2010-06-04 11:13:10

回答

5

對於WSDL Web服務引薦的解析這個網站:http://sudzc.com/Default.aspx 它還提供視頻如何解析這類的網站Service.It的真正有用的,因此很容易實現..