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

  • SEARCH
  • Home
  • 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 1087727
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T22:58:33+00:00 2026-05-16T22:58:33+00:00

I have some XML data that I want to transmit to a web server

  • 0

I have some XML data that I want to transmit to a web server and the response is also in XML.

I am trying to use Cocoa to parse the XML. I have followed this document to create the XML and transmit it, but the document doesn’t explain very well how you can receive the XML response from the server.

I haven’t been able to find any good examples using google either. Can someone point me to some good resources to integrate XML and Cocoa? Thanks

  • 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-16T22:58:34+00:00Added an answer on May 16, 2026 at 10:58 pm

    The article that you posted looks pretty comprehensive. Did you implement the three connection delegate methods? Once you execute transmitXMLRequest:, the NSURLConnection object will automatically start loading in data. Your delegate will see the following:

    connection:didReceiveResponse:
    connection:didReceiveData:
    connection:didReceiveData:
    connection:didReceiveData:
    ...
    connectionDidFinishLoading:
    

    The code that you place in each of those delegate methods is critical. Without it, no data is ever retreived from the server.

    In your article, on page 3, it describes how to create an NSXMLDocument from the received data. NSXMLDocument simplifies the process of parsing an XML file. For details, see Apple’s Tree-Based XML Programming Guide.

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

Sidebar

Related Questions

I have some XML data that I want to convert to HTML with XSLT
I have a .net web service that takes some xml data. From within the
I have some data in a database that I need represented in an XML
I have a file which is an XML representation of some data that is
I have one problem , I want to get some data from XML file
I have some data that I export into an XML file and put in
I have xml data that is retrieved from a server and I need to
I'm trying to parse some XML data using jQuery, and as it stands I
I am trying to parse some XML that looks similar to this: <document> <headings>
I have some WCF methods that are used to transmit information from a server

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.