1. kkapilchoubisa's Avatar
    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.
    08-13-2010 02:11 AM
  2. lorin.bute's Avatar
    I don't know how many devs are on this forum, but wouldn't this question be more appropriate in a iOS dev forum?
    08-13-2010 02:58 AM
  3. kkapilchoubisa's Avatar
    may be you are right but I want to aperform this task in iPhone
    08-13-2010 07:50 AM
LINK TO POST COPIED TO CLIPBOARD