0
我有一些WSDL2ObjC的問題。 我生成的代碼從一個WSDL文件,但似乎有一些不正確的方法:由SOAP2ObjC生成的代碼問題
- (void)getInstallationInfoXMLAsyncUsing delegate:(id<ILIASSoapWebserviceBindingResponseDelegate>)responseDelegate;
和
- (void)dealloc
{
if(sid != nil) [sid release];
if(role_type != nil) [role_type release];
if(id != nil) [id release];
[super dealloc];
}
我改變了第一樣品
- (void)getInstallationInfoXMLAsyncUsingDelegate:(id<ILIASSoapWebserviceBindingResponseDelegate>)responseDelegate;
,但我不當然如何處理
if(id != nil) [id release];
file://.../SOAP/ILIASSoapWebservice.m: error: Semantic Issue: Receiver type 'id' is not an Objective-C class
THX提前, OmidH