Call a wcf webservice from iPhone?

Discussion in 'iOS Programming' started by hajira, Jul 28, 2012.

  1. hajira macrumors newbie

    Joined:
    Jul 25, 2012
    #1
    Hello,

    Can anyone assist me how to call wcf webservices from iphone ?
     
  2. hajira thread starter macrumors newbie

    Joined:
    Jul 25, 2012
    #2
    I have a wcf service http://XXX.com/XXX/Services/XXX.XXX.svc?wsdl .In the service I have four methods insert,update,delete,get .I have to insert a user's username,psswrd,address,company....and i want to update the same fields by giving a userid which is autogenerated in database.Smilarly I do want to delete the user details based on userid.I want to get the userdetails based on userid.This is the content of my wcf service.I have written it successfully. Now i want to consume these four methods from iphone .How can I do it ?Can anyone assist me in doing it bcoz I am very much new to iphone development...
     
  3. dalvin200 macrumors 68040

    Joined:
    Mar 24, 2006
    Location:
    Nottingham, UK
    #3
    have you tried a google search?

    in any case, have a look at REST :)
     
  4. hajira thread starter macrumors newbie

    Joined:
    Jul 25, 2012
    #4
    Yes i have gone through google.But couldntget any idea regarding my requirement.By the way i want to ask how could we recognize our service is whether a SOAP service or REST service ? Please provide me a example which is meeting my requirement...
     
  5. hajira thread starter macrumors newbie

    Joined:
    Jul 25, 2012
    #5
    consume SOAP WCF SERVICE in iPhone?

    I have a wcf service which has methods like insert() and get().I am inserting data into database like username,password ,email through insert() method.I am retrieving the details of a user based on username.So for this Am using get() method.Now I want to consume this service in iPhone.How is it possible?
    I have gone through Google and I found examples related just to display some names using 'Hello service' which is not according to my requirement.Moreover my service has two methods where I have gone through Google and couldn't find any of that sort..So I want a solution to how to consume a wcf service which has parameters in methods (insert,get)..

    Any help would be appreciable....

    Thanks!!!
     
  6. old-wiz macrumors G3

    Joined:
    Mar 26, 2008
    Location:
    West Suburban Boston Ma
    #6
    I've never even heard of WCF, and it appears it's not a popular service which is why you don't see any responses. Perhaps no one here uses it. From reading your posts, I can't even figure out what WCF is.

    update.looked it up on wikipedia. WCF stands for Windows Communications Foundation, so it's not too likely that anyone here uses it or knows much about it.

    You would probably get more help on a windows oriented forum.
     

Share This Page