Microsoft.SharePoint.SoapServer.SoapServerException

H

HC

I have tried to access the custom list in Sharepoint 2007 server from
Infopath 2007 form.

Following is my code.

Dim ws As New my123server.Lists
ws.Credentials = System.Net.CredentialCache.DefaultNetworkCredentials
Dim anode As Xml.XmlNode = ws.GetList("Production Engineer Team")

I have received the following SoapExcepion when executing the last statment.
The detail error message is listed below. Has anyone had the similar
experience?



System.Web.Services.Protocols.SoapException was unhandled by user code
Actor=""
Lang=""
Message="Exception of type
'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown."
Node=""
Role=""
Source="System.Web.Services"
StackTrace:
at
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters)
at chvpkntah3e0171.Lists.GetList(String listName) in
E:\Application\HoTest\Publish\HCTest\Web
References\chvpkntah3e0171\Reference.vb:line 215
at HCTest.FormCode.getPETList() in
E:\Application\HoTest\Publish\HCTest\FormCode.vb:line 49
at HCTest.FormCode.CTRL3_5_Clicked(Object sender, ClickedEventArgs e)
in E:\Application\HoTest\Publish\HCTest\FormCode.vb:line 42
at
Microsoft.Office.InfoPath.Internal.ButtonEventHost.OnButtonClick(DocActionEvent pEvent)
at
Microsoft.Office.Interop.InfoPath.SemiTrust._ButtonEventSink_SinkHelper.OnClick(DocActionEvent pEvent)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top