Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Posting data from infopath into sharepoint list

  Asked By: Carmen    Date: Oct 19    Category: Sharepoint    Views: 4638

I'm trying to post data into a sharepoint list from an infopath form.

Following this
sharepoint-list.aspx on my dev box it works perfectly.

However, I'm trying to use the same technique to post into a list on
another site collection & I keep getting back an error stating that
the web doesn't exist (it does exist as I can browse etc)

basically if I post to a list at http://sharepoint.domain.com/ it
works. If I try to post to http://sharepoint.domain.com/sites/SiteA
(or any other site) I get 'web site does not exist at /sites/SiteA.

Any pointers?



12 Answers Found

Answer #1    Answered By: Alka Sarabhai     Answered On: Oct 19

In my experience, you have to publish your form  to a document library
before it will let you submit items to it.

Answer #2    Answered By: Eashan Nadkarni     Answered On: Oct 19

Not necessarily. If you publish the form  to the site  collection as a
content type, you can add it to any library you wish.

is there a chance that the first site is somehow hard-coded into the
form, and that this residual absolute path is causing some confusion?

Answer #3    Answered By: William Odom     Answered On: Oct 19

It's unlikely that the path is hard coded anywhere. It's just a simple form
with a few fields submitted using a web  services submit function. The only
reference to the list  itself is the guid which is passed to the web
service. I'm at a loss, the form, data  connections work fine... it just
when posting  to site  collections which aren't part of the 'root'.

Answer #4    Answered By: Mia Scott     Answered On: Oct 19

If you're posting  it to a web  service (and the same one each time), where
are you getting the error  message?

Answer #5    Answered By: Kristian Chaney     Answered On: Oct 19

I'm posting  to lists.asmx under http://sharepoint/_vti_bin. I get the error
when I hit the submit button on the form  (which kicks off the rule to submit
to web  service).

Answer #6    Answered By: Alicia Scott     Answered On: Oct 19

In the XML data  that the InfoPath form  is submitting is the list  identified by
name or by GUID? As was reported here in another email recently the webservice
calls expect the list to be identified by GUID.

Answer #7    Answered By: Mike Lamb     Answered On: Oct 19

o far so good. As I recall, you're using a GUID to identify the
list, so no worries there. Can you show a screenshot of the error? Feel
free to send it offlist to me if that helps.

Also, have you gotten anything useful from either (a) the Windows Event
Log or (b) the SharePoint logs in the 12-hive?

Answer #8    Answered By: Jose Scott     Answered On: Oct 19

InfoPath cannot submit the form.
An error  occurred while the form  was being submitted.
The SOAP response indicates that an error occurred on the server:
Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was
<detail><errorstring xmlns="
http://schemas.microsoft.com/sharepoint/soap/" target="_blank" rel="nofollow">http://schemas.microsoft.com/sharepoint/soap/">There<http://schemas.microsoft.co\
no Web named "/sites/bss/infrastructure".</errorstring></detail>

There is nothing in the windows logs & nothing (literally!) in the
sharepoint logs.

Answer #9    Answered By: Taylor Clark     Answered On: Oct 19

There is a screenshot of the error  in the Photos/Screenshots folder.
The full text of the error is below:

InfoPath cannot submit the form.
An error occurred while the form  was being submitted.
The SOAP response indicates that an error occurred on the server:
Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException'
was thrown.
xmlns="http://schemas.microsoft.com/sharepoint/soap/" target="_blank" rel="nofollow">http://schemas.microsoft.com/sharepoint/soap/">There
<http://schemas.microsoft.com/sharepoint/soap/" target="_blank" rel="nofollow">http://schemas.microsoft.com/sharepoint/soap/">There> is no web  named

There's nothing helpful in the windows event logs & nothing (literally
nothing) in the sharepoint  logs.

Answer #10    Answered By: Anthony Rutledge     Answered On: Oct 19

This may sound like a stupid question, but *is* there a site
called /sites/bss/infrastructure ?

Answer #11    Answered By: Heena Nagori     Answered On: Oct 19

Yep .... I'd be getting calls upon calls if that vanished!

Answer #12    Answered By: Aishwarya Karmarkar     Answered On: Oct 19

First off I should think you would want to get your tracing service
back up again. From what I read it sounds like sharepoint  has quit
logging for you. This lack of logging happened to me, and I just went
onto the WFE and stopped/restarted the sharepoint tracing services in
the servfices snap-in and got my logging back  up.

Didn't find what you were looking for? Find more on Posting data from infopath into sharepoint list Or get search suggestion and latest updates.