How to call a Web method in objective-c???

Hi! All
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
Code:
 WSMethodInvocationRef soapReq = createSOAPRequest(url, method, namespace, params, paramOrder, reqHeaders);

but it is giving an error for WSMethodInvocationRef is undeclared.

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.

Thank you.
I don't know how many devs are on this forum, but wouldn't this question be more appropriate in a iOS dev forum?
may be you are right but I want to aperform this task in iPhone

Original thread: https://forums.imore.com/threads/how-to-call-a-web-method-in-objective-c.196490/