Custom WebService

Topics: Developer Forum, Project Management Forum, User Forum
Apr 21, 2010 at 12:11 AM

Hi All,

Im having trouble getting the current web context in my custom webservice for some reason SPContext.Current.Web and SPContext.GetContext(HttpContext.Current).Web always return the root web {Home}?

Has anyone else had this problem?

Do i have to pass in the web guid and get context that way? Anybody?

Cheers,