TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
ali raza
NA
80
0
Unable to run SharePoint internal Web Service "List" from Web Part
May 3 2010 4:08 AM
Hi all, I am new to SharePoint development and stuck with the problem in which i need to run SSharePoint internal web service 'List'. When ever I call the GetList('MyListName') method of this web service I got following exception
Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown.
Followin is the Code that I am using
----------------------------------------------------------------
ListWS.
Lists
list =
new
ListWS.
Lists
();
string
strUserId =
"administrator";
string
strPassword =
"123456"
;
System.Net.
NetworkCredential
credential =
new
System.Net.
NetworkCredential
(strUserId, strPassword,
"techerz-01"
);
list.Credentials = credential;
list.Timeout = System.Threading.
Timeout
.Infinite;
XmlNode
listResponse = list.GetList(
"Sites"
);
----------------------------------------------------------------
Any Idea how to get this issue resolve?
Reply
Answers (
2
)
Sharepoint development in Visual Studio 2010
Deploy a master page using Feature and Solution on Moss 2007