467,116 Members | 1,256 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,116 developers. It's quick & easy.

"Unable to read data from the transport connection" error when consume webservice

Hi all !
I have a webservice that contains a Helloworld() method (This return a string type ) and a asp.net application . I call Helloworld method from webservice , it works fine . but when i call this method again , it have problem with error message following:

Unable to read data from the transport connection. at System.Net.ConnectStream.BeginRead(Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state) at System.Net.ConnectStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.IO.StreamReader.ReadBuffer(Char[] userBuffer, Int32 userOffset, Int32 desiredChars, Boolean& readToUserBuffer) at System.IO.StreamReader.Read(Char[] buffer, Int32 index, Int32 count) at System.Xml.XmlScanner.Read() at System.Xml.XmlScanner.ScanContent() at System.Xml.XmlTextReader.ParseRoot() at System.Xml.XmlTextReader.Read() at System.Xml.XmlReader.MoveToContent() at..............

I configurated proxy in file "web.config" following :
<system.net>
<defaultProxy>
<proxy
usesystemdefault = "false"
proxyaddress="http://myproxy : port"
bypassonlocal="false"
/>
</defaultProxy>
</system.net>

but it didn't work .

If anyone have resolve to this problem , please help me !
Thank you very much
Mar 31 '06 #1
  • viewed: 2307
Share:

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

By using this site, you agree to our Privacy Policy and Terms of Use.