InfoPath and SharePoint Web Service

C

Chups

Has anybody tried to call the getListItems of the SharePoint Web Service in
the Data Connection Wizard of the InfoPath?

Below are my sample value of the web service call parameters

listName:
myListName

viewName:
<blank> (dunno where i could find the GUID of the view)

query:
<Where><Eq><FieldRef Name="ID"/><Value Type="Text">23</Value></Eq></Where>

viewFields
<FieldRef Name="ID" /><FieldRef Name="Title" />

rowLimit
50

queryOptions
<IncludeMandatoryColumns>FALSE<IncludeMandatoryColumns><DateInUtc>FALSE</DateInUtc>



Here is the error I kept getting.

Exception of type Microsoft.SharePoint.SoapServer.SoapServerException was
thrown.
<detail>
<errorstring
xmlns="http://schemas.microsoft.com/sharepoint/soap/">Element <Query> of
parameter query is missing or invalid.</errorstring>
<errorcode
xmlns="http://schemas.microsoft.com/sharepoint/soap/">0x82000000</errorcode>
</detail>



Is there anything wrong with the parameter query? I think all the parameters
I entered are fairly simple. I really have no clue what's wrong here. Can
somebody help me out please? Thanks a lot.


Joseph
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top