Geeks With Blogs
Wayne Magnum's Blog January 2008 Entries
Custom Collection Parameter in a Web Service
This post below will show you how to pass a custom collection as a parameter to the webservice. Create a custom collection class... public class Person { public int Age; public string FName, LName; public Person() { } public Person(string fname, string lname, int age) { Age = age; FName = fname; LName = lname; } } Create a Web Method... [WebMethod] public void Method(Person[] fields, bool attachmentincluded) { System.Collections.Generic.... people = new List<Person>(fields); ......

Posted On Thursday, January 24, 2008 8:13 AM

Microsoft SharePoint Office Server (MOSS) UserProfiles
Has anyone ever had a problem trying to retrieving the userprofile utilizing the Microsft.SharePoint.UserPro... reference and received an error "Server Context parameter cannot be null". The work around solution that I found out was to make a call to the SharePoint Web Services and retrieving the user’s information... Make a reference to: http://<ServerName>/_... UserProfileSvc.UserProfileS... profileService = new UserProfileSvc.UserProfileS... profileService.UseDefaultCr... ......

Posted On Tuesday, January 15, 2008 2:21 AM

Copyright © Wayne H Magnum | Powered by: GeeksWithBlogs.net | Join free