Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / August 2004

Tip: Looking for answers? Try searching our database.

Error reading web service

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John - 10 Aug 2004 03:53 GMT
Hi

I am getting the following error when getting a dataset from a web method;

Unhandled Exception: System.InvalidOperationException: There is an error in
XML document (1, 138437). ---> System.IO.IOException: Unable to read data
from the transport connection.

Any idea what it means and how to fix it?

Thanks

Regards
John - 10 Aug 2004 04:22 GMT
The error comes on the indictaed line below;

<System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.o
rg/StaffWS/Service1/GetStaffDiary",
RequestNamespace:="http://tempuri.org/StaffWS/Service1",
ResponseNamespace:="http://tempuri.org/StaffWS/Service1",
Use:=System.Web.Services.Description.SoapBindingUse.Literal,
ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)> _
Public Function GetStaffDiary() As System.Data.DataSet
   Dim results() As Object = Me.Invoke("GetStaffDiary", New Object(-1) {})
' <=== Line with error
   Return CType(results(0),System.Data.DataSet)
End Function

The file is Reference.vb under ...\Project\Web References\<the url in
reverse> folder.

> Hi
>
[quoted text clipped - 9 lines]
>
> Regards

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.