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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T11:59:30+00:00 2026-06-09T11:59:30+00:00

Using a Java application and the Rally WS API (XML) I’d like to make

  • 0

Using a Java application and the Rally WS API (XML) I’d like to make a query that returns me only a subsite of attributes for the object HierarchicalRequirement.

What I’ve written is:

 QueryResult result = new QueryResult();
 result = service.query(ws, resultType, query, null, false, 0, 100);

where resultType = HierarchicalRequirement e query is

(Project.Name = “Sample Project”)& fetch=”Name,FormattedID”

Am I doing something wrong or is it not a supported function?

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-06-09T11:59:31+00:00Added an answer on June 9, 2026 at 11:59 am

    SOAP works a bit differently from REST insofar as there is no Fetch parameter. It either fully hydrates the objects returned from Rally with their data fields, or it doesn’t. The function prototype for a query looks like this:

        queryResult = rallyService.query(workspace, artifactType, queryString, order, 
                        fetchFullObjects, start, pageSize);
    

    So in your query you have specified “false” for fetchFullObjects. This is certainly more efficient in terms of data transfer because you are only fetching Object shells. If you want to hydrate a specific returned object with data, you can do an additional service.read() on it, i.e.

        DomainObject myObject = (DomainObject) queryResult.Results[0];
        DomainObject myFullObject = service.read(myObject);
    

    Alternatively, you could just set fetchFullObject = true; recognizing there will be a performance impact in terms of the amount of data serialized and returned to your client.

    From there, you can use the object’s get methods to pull data out of its fields.

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

Sidebar

Related Questions

I'm writing a Java application using Struts 2, but now I'd like to make
I am developing a Java web application that bases it behavior through large XML
I've been asked to make a JAVA application for sending frames using sockets, my
How to get money from users phone using Java application? So I want to
I'm thinking about using the java application object to implement a simple cache, to
i can connect mysql with java using eclipse in a java application with these
I am scraping data from web site using my java application and want to
We are using a Java EE application and we are right now using Informix
i'm developing a java application using the jstun library (hxxp://jstun.javawi.de/), and i need to
I have a java-application using JDBC for database interaction. I want to do a

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.