Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6766639
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T14:51:20+00:00 2026-05-26T14:51:20+00:00

How might I go about using a web service in an iPhone app? For

  • 0

How might I go about using a web service in an iPhone app? For example, if I wanted to use a web service that you can use to convert a value into a different unit, how would I go about doing that? For example: http://www.webqc.org/balance.php

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T14:51:21+00:00Added an answer on May 26, 2026 at 2:51 pm

    It depends what sort of ‘web service’ it is. If it is a stateless REST style API, passing data in the URL and/or data encoded Json or XML it couldn’t be easier, just use NSURLConnection.

    Using examples I found on the web I made an application (server and iOS client) – using the NSURLConnection & NSMutableURLRequest, and encoded/decoded data using YAJL. This was pretty easy to get going.

    If you don’t want to do this using the core libraries directly- there are some frameworks you can use, e.g. RestKit. I’ve not used it, but it looks good and comes recommended.

    If it is a SOAP style web service, this is a lot more complicated as SOAP services often expose a stateful API.

    I should say that the example that you show here is not a web-service, whilst it does come with a way of calling it just using a URL – it returns an html page which makes it hard for you to use the results. I presume that you are more interested in a service that returns results encoded as XML or Json or the like.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In another question I was worried about using a web service that takes a
Typically I use E_ALL to see anything that PHP might say about my code
I'm about to start developing a web-based application that I can best describe as
I recently posted a question about a WCF Restful web service that I am
I just got off a small project using a WCF/REST Web Service that used
Can someone give me some info/background info on how I might go about writing
Yes, as you might guess, I want to ask about Cloud-computing. I doubt that
I'm planning an XML web service that takes an XML request and returns an
I have been using WCF web services for around about a year now and
I'm connecting to a web service over HTTPS. I've done all that I think

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.