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
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