469,964 Members | 1,717 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,964 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 :
usesystemdefault = "false"
proxyaddress="http://myproxy : port"

but it didn't work .

If anyone have resolve to this problem , please help me !
Thank you very much
Mar 31 '06 #1
0 2373

Post your reply

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

Similar topics

1 post views Thread by rainxy | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.