-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: Joseph A Moraes
Message 1 in Discussion
Hi, I want to see to views for a particular list in sharepoint portal server. I have
added web reference to the /_vti_bin/Views.asmx">http://<my
server>/_vti_bin/Views.asmx . I added the following code in code behind page.
Views vService = new Views();
vService.Credentials = System.Net.CredentialCache.DefaultCredentials;
XmlNode XNode;
XNode =
vService.GetView("1A6A3227-6F0C-43DC-B0F1-9FD76993172A","E79569DD-7922-43ED-8662-A29446CBB73B");
On Execution, I am getting the following Error. Can you please help where I made
mistake?
Exception of type Microsoft.SharePoint.SoapServer.SoapServerException was thrown.
Description: An unhandled exception occurred during the execution of the current web
request. Please review the stack trace for more information about the error and where
it originated in the code.
Exception Details: System.Web.Services.Protocols.SoapException: Exception of type
Microsoft.SharePoint.SoapServer.SoapServerException was thrown.
Source Error:
Line 225:
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/sharepoint/soap/GetView",
RequestNamespace="http://schemas.microsoft.com/sharepoint/soap/",
ResponseNamespace="http://schemas.microsoft.com/sharepoint/soap/",
Use=System.Web.Services.Description.SoapBindingUse.Literal,
ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] Line 226:
public System.Xml.XmlNode GetView(string listName, string viewName) { Line 227:
object[] results = this.Invoke("GetView", new object[] { Line 228:
listName, Line 229: viewName});
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/BDOTNET/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you received
this message by mistake, please click the "Remove" link below. On the pre-addressed
e-mail message that opens, simply click "Send". Your e-mail address will be deleted
from this group's mailing list.
mailto:[EMAIL PROTECTED]