Hi All,
I have a problem in calling a web service from another class.
I am taking reference from Hello_Soap Example. Whenever I call a web service as shown in example it works fine and calls following methods internally.
-(void)connection
NSURLConnection *)connection didReceiveResponse
NSURLResponse *)response
-(void)connection
NSURLConnection *)connection didReceiveData
NSData *)data
-(void)connectionDidFinishLoading
NSURLConnection *)connection
now I want that the web service should be called by a function call from other class. Whenever I call the function web service gets called but the control goes back to calling class without executing above 3 methods and the parsing.
I want the call to web service and parsing to be in a separate class.
These methods are not getting called. How to do it?
Thanks in advance.
Amit
I have a problem in calling a web service from another class.
I am taking reference from Hello_Soap Example. Whenever I call a web service as shown in example it works fine and calls following methods internally.
-(void)connection
-(void)connection
-(void)connectionDidFinishLoading
now I want that the web service should be called by a function call from other class. Whenever I call the function web service gets called but the control goes back to calling class without executing above 3 methods and the parsing.
I want the call to web service and parsing to be in a separate class.
These methods are not getting called. How to do it?
Thanks in advance.
Amit