SharePoint 2007
SharePoint 2007 and related technologies: InfoPath, Forms Server, Business Data Catalog, etc.
Uploading a file to a Windows SharePoint Services 3.0 document library from external applications can be done in 2 steps using a combination of HTTP PUT and the Lists Web service. Firstly, for the HTTP PUT side of things, check out: http://blogs.msdn.com/rohit... . In the code to follow, I use a variation of Rohit's helper class that takes a byte[]. Secondly, use the Lists Web service UpdateListItems() method to...
Having just gone through this, I thought I'd share the basic procedure when calling WSS 3.0 Web services such as lists.asmx and views.asmx from a WCF client. As you may know, the exceptions returned by the WSS Web services are terse. Hopefully, this post will help someone trying to avoid those in their own project. Step 1 - Add a Service Reference to the WCF service you want to call (Duh) Note that I included the "?wsdl". If you don't VS will be redirected to /_vti_bin/Lists.asmx. That doesn't matter...