Trouble with SharePoint UpdateListItems web service

L

lsinnett

Been on this for a while and not really getting anywhere. I have an
InfoPath 2007 form that I'm trying to get to update the Sharepoint
calendar.

InfoPath form has 2 datasources, one (Read) to the CAML file and one
(Submit) to the Sharepoint Lists webservice, method 'UpdateListItems'

EventCAML file:
'<?xml version="1.0" encoding="UTF-8" ?>
<Batch>
<Method ID="1" Cmd="New">
<Field Name="Title">LAURIE TEST</Field>
<Field Name="Location">LAURIE LOCATION</Field>
<Field Name="Description">LAURIE DESCRIPTION</Field>
<Field Name="EventDate">2008-09-23 </Field>
<Field Name="EndDate">2008-09-25</Field>
<Field Name="fAllDayEvent">0</Field>
</Method>
</Batch>'

The InfoPath error I'm getting is:
'InfoPath cannot submit the form.
An error occurred while the form was being submitted.
The form definition (.xsf) file has an invalid mapping from the
document to the submit Web service.'

When I take the same web reference and the same CAML file and do a
simple c# console app to do a submit the entry gets added to the
Sharepoint calendar correctly, which to me indicates the CAML and the
web reference are correct.

Anyone any ideas as to what is causing the InfoPath error?

Thanks
Laurie Sinnett
 
R

RE: Trouble with SharePoint UpdateListIt

Make sure you change the name of the data connection to "Web Service Submit",
instead of the default "Submit". I had the same problem. However, I still
have gotten the form to make. Now have am getting other errors I am working
through.
 

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