Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Its not working for me, I tried everything and Iam really confused:

This is my soap request :

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<GetListItems xmlns="http://schemas.microsoft.com/sharepoint/soap/">
<listName><ListName>Style Library</ListName></listName>
<viewName><ViewName></ViewName></viewName>
<query></query>
<viewFields>
<ViewFields>
</ViewFields>
</viewFields>
<soap12:queryOptions>
<QueryOptions>
<IncludeMandatoryColumns>TRUE</IncludeMandatoryColumns>
<Folder>http://intranet.go4teams.com/Style Library/de-de</Folder>
<ViewAttributes Scope="Recursive" />
</QueryOptions></soap12:queryOptions>
<rowLimit><RowLimit></RowLimit></rowLimit>
<webID><WebID></WebID></webID>
</GetListItems>
</soap12:Body>
</soap12:Envelope>

Iam always getting the folders from the root "Style Library"

Why????????

Here is a reference to another question which didn`t worked for me: List getListItems WebService to return sub folder contents

The soap Request is taken to ASIHTTPRequest in an Iphone Application.

share|improve this question
    
I am facing same problem. But, i didn't understand your answer. What is the difference between Style Library in line 3 and line 5 in your answer?Any help would be of great help. Thanks –  user11279 Oct 11 '12 at 12:36

1 Answer 1

So finally I figured it you!

The Problem was that there was a namespace issue!

Instead of: Style Library

I had to write:

Style Library

I still don't know why this was the issue but finally its solved.

It took the ListName right but everything after Listname wasnt taken at all.

Hope that this will help somebody with the same issue

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.