Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / March 2006

Tip: Looking for answers? Try searching our database.

Get Infopath XML data from SPS library via SPS Web Service

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bruce  Lee - 10 Mar 2006 04:28 GMT
Hi,

Is it possible to get Infopath XML data from a SPS library via the SPS
Web Services? I know how to get the list of forms but how about the XML
data?

Thanks a lot,
Bruce
S.Y.M. Wong-A-Ton - 12 Mar 2006 17:31 GMT
I don't think there is an SPS web service to do this, but you could build a
web service yourself. There are two ways you could retrieve the XML data for
an InfoPath form: 1. Use System.Net.WebClient and pass the URL of the form,
or 2. Use the SPS object model to get a file from a library of an SPWeb.
Search the microsoft.public.sharepoint.portalserver newsgroup on
"Programmatically download a document from Sharepoint" for code samples on
how to do this. You download a form in the same way you download a document.
Instead of downloading the form, you would have to read it into a Stream and
then read the XML data from this Stream.
---
S.Y.M. Wong-A-Ton

> Hi,
>
[quoted text clipped - 4 lines]
> Thanks a lot,
> Bruce
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.