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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T02:49:10+00:00 2026-05-23T02:49:10+00:00

i am working on application for events listing , the application get the events

  • 0

i am working on application for events listing , the application get the events from the database , the events arrive to the application throw webservice correctly , but my problem is to bind the soap object in adapter of the listview , i do this

try {
        aht.call(SOAP_ACTION, envelope);
        resultsRequestSOAP = (SoapObject) envelope.getResponse();
        // rs = (SoapPrimitive) envelope.getResponse();

//           resultString = (List<UBAEvent>)envelope.getResponse();
    } catch (Exception e) {
        e.printStackTrace();
    }
    int x = resultsRequestSOAP.getPropertyCount();
    adapter = new MyArrayAdapter(this);
    UBAEvent ubaEvent = new UBAEvent();
    for (int i = 0; i < x; i++) {

        ubaEvent = (UBAEvent) resultsRequestSOAP.getProperty(i);
        adapter.add(ubaEvent);
    }

but it is not work can any one help me how to bind the soap object into adapter ?

  • 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-23T02:49:10+00:00Added an answer on May 23, 2026 at 2:49 am

    You first need to parse the answer ok that is in soapobjects in your case is resultsRequestSOAP. If you enable debug, in variable aht you have the XML response. And that xml is already parsed in resultsRequestSOAP object. To retreview you do these :

    SoapObject s5 = (SoapObject)resultsRequestSOAP.getProperty(0);
    String same=s5.getProperty("name").toString();
    

    after these you build the object ubaEvent you trying complex types so best way i know is these one or you can try the hard way with serialization

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

Sidebar

Related Questions

I am using below code to get calendar events in my application. It's working
I am working on a calendar application that outputs a list of events in
I've try to implement integration tests for a working application (spring, hibernate, soap, cxf).
I have pretty much finished my first working Symbian application, but in my hastened
I'm running CentOS 5, and am trying to get a django application working with
Im working on an application that needs to talk to a database. The application
I'm working on swing application that relies on an embedded H2 database. Because I
I am working on an application surrounding sporting events. There are different types of
I am working on an application for an organization. Here i have some events
I'm working on an application in WCF and want to receive events in the

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.