I am new in iPhone development. I has been stuck up. I am trying to call a web method from an .asmx web service. I know it will return xml and I have to parse the xml.
But the problem is How can I call that method in Objective-c. I need to get login with a userName and password. I need to send those to the webservice and it will renturn me a value.
Please help me by telling how can I call a Web Method?
How can I give reference to the web service.
What I had done is....
Creates the objects and passed them in WSMethodInvocationRef like
but it is giving an error for WSMethodInvocationRef is undeclared.
WSMethodInvocationRef soapReq = createSOAPRequest(url, method, namespace, params, paramOrder, reqHeaders);
I had tried to import <coreServices/CoreServices.h> but it is giving error too.
Please suggest a way by which I can Call a web Service and Pass parameter in web method and get the xml.