Web Services
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...
In CSF 2.5 the Session.config setting ParticipantConfiguration/Pr... is used to specify the directory for the WSDL cache used by CSF when Sessions are created. If you're a developer intent on implementing a particular service contract, forgetting about this cache might cost you a couple of hours of frustration. Let's say I build a service at http://MyMachine/MyVdir/sl.... implementing SOAP action MyAction. I then try to create a Session in which the service is a participant, but...