tags:

views:

35

answers:

0

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)connectionNSURLConnection *)connection didReceiveResponseNSURLResponse *)response

-(void)connectionNSURLConnection *)connection didReceiveDataNSData *)data -(void)connectionDidFinishLoadingNSURLConnection *)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