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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T04:05:07+00:00 2026-06-14T04:05:07+00:00

I have created some lists on my Sharepoint. Next, I’m trying to get data

  • 0

I have created some lists on my Sharepoint.
Next,
I’m trying to get data from Sharepoint with Java :

...
ListsSoap listsSoap = new Lists().getListsSoap();
GetListCollectionResult getListCollectionResult = listsSoap.getListCollection();
System.out.println(getListCollectionResult.getContent().toString());
...

I have no problem for me authenticate but my result is always a empty list :

[[Lists: null]]

Any ideas ?

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-14T04:05:09+00:00Added an answer on June 14, 2026 at 4:05 am

    In fact, we have to get the dom response like this :

    GetListCollectionResult getListCollectionResult = listSoap.getListCollection();
    Object result = getListCollectionResult.getContent().get(0);
    
    if(result != null && result instanceof ElementNSImpl)
    {
        Document document = ((ElementNSImpl)result).getOwnerDocument();
        System.out.println(WebServiceUtils.xml(document));
    }
    

    xml is a method which returns the xml string representation of my dom.
    Finally, I can see my collection of lists :

    <Lists xmlns="http://schemas.microsoft.com/sharepoint/soap/">
        <List AllowDeletion="True" AllowMultiResponses="False" ...
        <List AllowDeletion="True" AllowMultiResponses="False" ...
        ...
    

    Each List node represents a list in my Sharepoint.
    Now, simply browse nodes :

    NodeList list = ((ElementNSImpl)result).getElementsByTagName("List");
    ...
    

    I hope this will help you.

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

Sidebar

Related Questions

I am trying to create a rich text editor. I have created some buttons
I have some event handlers which are tracking list items in my SharePoint lists.
I'm creating a SharePoint application, and am trying some new things to create what
I have a SharePoint site that I created some custom web parts for. One
I have some code which replicates list templates files for new sites in SharePoint
I have dynamically created some list of RadioButtons with some values. pro grammatically I
I have created a repeat control that list some documents. I would like to
I have created some JQuery that will expand a div 'popup' on hover and
I have created some python code which creates an object in a loop, and
I have created some tests in my WPF application. Right now I am working

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.