[Mono-dev] Error consuming web services
jblais at perinfo.biz
Thu Oct 27 03:17:33 EDT 2005
Yes, you're right, actually it doesnot work either on dotnet.
I etherealed a few requests, what is the "expected : 100-continue" in
the header of the request ?
Thanks for your reply, i'm starting to getting somewhere.
Gonzalo Paniagua Javier a écrit :
>On Wed, 2005-10-26 at 14:16 +0200, Johann BLAIS wrote:
>>System.Net.WebException: Error getting response stream (ReadDone4): ServerProtocolViolation ---> System.FormatException: Invalid format.
>>in <0x00103> System.UInt32:Parse (System.String s, Boolean tryParse, System.UInt32 result)
>>in <0x0001a> System.UInt32:Parse (System.String s)
>>in <0x0019a> System.Net.WebConnection:GetResponse (System.Byte buffer, Int32 max)
>>in <0x0019b> System.Net.WebConnection:ReadDone (IAsyncResult result)--- End of inner exception stack trace ---
>>in <0x00158> System.Net.HttpWebRequest:EndGetResponse (IAsyncResult asyncResult)
>>in <0x00047> System.Net.HttpWebRequest:GetResponse ()
>>in <0x0004d> System.Web.Services.Protocols.WebClientProtocol:GetWebResponse (System.Net.WebRequest request)
>>I get this error on every call. It seems that the connection is closed
>>from the client side (mono) because i get a "Broken pipe" on my server
>>The error appears straight after the call, but usually the webmethod i
>>invoke take 10 sec to execute.
>>I wonder why Mono closes the connection so early.
>>I'm using mono 22.214.171.124 compiled from source under linux.
>>Any idea ?
>The connection is closed from the mono side of the story because your
>server is sending something that is not an integer as status code.
>That's all I can say with the information you provided.
>What happens if you run your client from MS.NET? My take is that you'll
>get an error too. If not, please, file a bug report attaching the
>simplest test case you can get.
>Mono-devel-list mailing list
>Mono-devel-list at lists.ximian.com
More information about the Mono-devel-list