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 7554009
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T11:13:12+00:00 2026-05-30T11:13:12+00:00

I am getting below respond when I am use the: NSString *jobSearchUrlString = [NSString

  • 0

I am getting below respond when I am use the:

NSString *jobSearchUrlString = [NSString stringWithFormat:@"http://infra2appsmobile.cloudapp.net/Infra2Apps.svc/Countries"];
NSLog(@"url for new articles is = %@",jobSearchUrlString);
NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:jobSearchUrlString]];   

[[NSURLConnection alloc] initWithRequest:request delegate:self];
if( request )
{
    RoutData = [[NSMutableData alloc] init];

}
else
{
NSLog(@"RoutConnection is NULL");

}   
}

-(void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)response
{   
    [RoutData setLength: 0];
}

-(void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data
{
    [RoutData appendData:data];   
    NSString *thexml = [[NSString alloc] initWithData:RoutData encoding:NSUTF8StringEncoding];

NSLog(@">>>>>>>>>> laxman Route data <<<<<<<<<<<<<<<<< %@",thexml);

xmlParser = [[NSXMLParser alloc] initWithData: RoutData];
[xmlParser setDelegate: self];
[xmlParser setShouldResolveExternalEntities: YES];
[xmlParser parse];
result = [soapResults dataUsingEncoding:NSUTF8StringEncoding]; 
webdataParser  = [[NSXMLParser alloc]initWithData:result];
[webdataParser setDelegate:self];
[webdataParser setShouldResolveExternalEntities:YES];
[webdataParser parse];


NSLog(@"---------->>>>>>>><<<<<<<<<<<--------- %@",resultData);




<xml version="1.0" encoding="utf-8" standalone="yes"?>
<feed xml:base="http://infra2appsmobile.cloudapp.net/Infra2Apps.svc/" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns="http://www.w3.org/2005/Atom">
  <title type="text">Countries</title>
  <id>http://infra2appsmobile.cloudapp.net/Infra2Apps.svc/Countries</id>
  <updated>2012-02-25T09:36:30Z</updated>
  <link rel="self" title="Countries" href="Countries" />
  <entry>
    <id>http://infra2appsmobile.cloudapp.net/Infra2Apps.svc/Countries(14)</id>
    <title type="text"></title>
    <updated>2012-02-25T09:36:30Z</updated>
    <author>
      <name />
    </author>
    <link rel="edit" title="Country" href="Countries(14)" />
    <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Region" type="application/atom+xml;type=entry" title="Region" href="Countries(14)/Region" />
    <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Contact_
2012-02-25 15:06:29.393 SampleTest[335:f803] ---------->>>>>>>><<<<<<<<<<<--------- (null)
2012-02-25 15:06:29.395 SampleTest[335:f803] >>>>>>>>>> laxman Route data <<<<<<<<<<<<<<<<< <?xml version="1.0" encoding="utf-8" standalone="yes"?>
<feed xml:base="http://infra2appsmobile.cloudapp.net/Infra2Apps.svc/" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns="http://www.w3.org/2005/Atom">
  <title type="text">Countries</title>
  <id>http://infra2appsmobile.cloudapp.net/Infra2Apps.svc/Countries</id>
  <updated>2012-02-25T09:36:30Z</updated>
  <link rel="self" title="Countries" href="Countries" />
  <entry>
    <id>http://infra2appsmobile.cloudapp.net/Infra2Apps.svc/Countries(14)</id>
    <title type="text"></title>
    <updated>2012-02-25T09:36:30Z</updated>
    <author>
      <name />
    </author>
    <link rel="edit" title="Country" href="Countries(14)" />
    <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Region" type="application/atom+xml;type=entry" title="Region" href="Countries(14)/Region" />
    <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Contact_Country" type="application/atom+xml;type=feed" title="Contact_Country" href="Countries(14)/Contact_Country" />
    <category term="HpSalesPortalMobileDBModel.Country" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
    <content type="application/xml">
      <m:properties>
        <d:Id m:type="Edm.Int16">14</d:Id>
        <d:RegionId m:type="Edm.Byte">1</d:RegionId>
        <d:CountryName>France</d:CountryName>
      </m:properties>
    </content>
  </entry>
  <entry>
    <id>http://infra2appsmobile.cloudapp.net/Infra2Apps.svc/Countries(15)</id>
    <title type="text"></title>
    <updated>2012-02-25T09:36:30Z</updated>
    <author>
      <name />
    </author>
    <link rel="edit" title="Country" href="Countries(15)" />

How to parse the data to get the “Id”, “RegionId” and “CountryName”?

Is there a way to parse the data for one element?

  • 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-30T11:13:15+00:00Added an answer on May 30, 2026 at 11:13 am
    - (void)parser:(NSXMLParser *)parser foundCharacters:(NSString *)string 
    {
         //U can Catch Ur data in this delegate And Set Condition Get data Witch U Want.
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i'm getting the below error, When compiling the Asp.Net web deploy project Could not
I'm getting the error below for this SQL statement in VB.Net 'Fill in the
How can I parse this data to use it: I am getting below data
I am calling a webservice using Http Post method and getting below text in
I am getting below EAccessViolation Exception in C++ Builder 2010 project. StackTrace is not
I was changing the vc++ include directory with new paths suddenly getting below error
I am getting the below error when executing my application on a Windows XP
Please bear with me, newbie just learning the ropes. I am getting the below
I am getting the error below when I call my WCF service. What am
We are getting the error below calling c:\windows\syswow64\regsvr32.exe on Windows Server 2008 R2 x64.

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.