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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T15:39:53+00:00 2026-05-23T15:39:53+00:00

Ok, so I am still relatively new to Java and I’m making pretty good

  • 0

Ok, so I am still relatively new to Java and I’m making pretty good progress. My task is this:

  1. Build a SOAP request to initiate communicates with a web services server (done)
  2. Retrieve the resulting XML which contains a unique session ID which must be used in step 3 (done)
  3. Create another SOAP request using the unique session ID that returns another set of XML containing 100 rows of records (done)
  4. Extract specific data from these results (in progress)

My question is, what is the best way to store this data in Java so that I can sort through it easily? The data portion of my XML looks like this:

<RawData>
<item value="1" anothervalue="2" yetanothervalue="3"/>
<item value="4" anothervalue="5" yetanothervalue="6"/>
<item value="7" anothervalue="8" yetanothervalue="9"/>
</RawData>

I have no problem using XPath and SimpleXPathEngine to retrieve specific values from the XML. But I would really love to be able to store it in some sort of ResultSet type structure so that I could easily retrieve and manipulate it. I’ve used ResultSet with SQL queries so I’m familiar and comfortable with it, however, I’m not sure how to use it outside of an actual DB connection and query. What would be the best way to handle this?

Thanks in advance!

  • 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-23T15:39:53+00:00Added an answer on May 23, 2026 at 3:39 pm

    If the document is not that big, you can use a DOM parser to get all data in-memory. That’s either org.w3c.dom, dom4j or jdom

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

Sidebar

Related Questions

I'm relatively new to Java, eclipse and android so this could be a completely
I'm still relatively new to Python, so if this is an obvious question, I
I'm still relatively new to XCode. I'm trying to build an iPhone application and
I'm a relatively new java programmer and I've been tinkering around with this program
I'm still relatively new to iPhone development but I know this warning is usually
I'm still relatively new to javascript and jQuery and was just wondering this. Suppose
I am still relatively new to web service development and I need to make
I'm an experienced coder, but am still relatively new to the STL, and have
So I am a first time user here, and still relatively new to SQL.
I'm relatively new to Android development and Java (learning both simultaneously sort of...). My

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.