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.
In fact, we have to get the dom response like this :
xml is a method which returns the xml string representation of my dom.
Finally, I can see my collection of lists :
Each List node represents a list in my Sharepoint.
Now, simply browse nodes :
I hope this will help you.