Home All Groups Group Topic Archive Search About

IOException (WSE2149) Write Failure when sending Soap/TCP messages

Author
12 Oct 2006 5:10 PM
GS
We occasionally encounter this exception while trying to send soap/tcp messages:

MySender.Sender - System.IO.IOException: WSE2149: Write Failure.    
  at Microsoft.Web.Services3.Messaging.SoapTcpNetworkStream.EndWrite(IAsyncResult asyncResult)    
  at Microsoft.Web.Services3.Messaging.SoapTcpNetworkStream.Write(Byte[] buffer, Int32 offset, Int32
count)    
  at System.IO.Stream.WriteByte(Byte value)    
  at Microsoft.Web.Services3.Messaging.Framing.FramingRecord.WriteMessageEndRecord()    
  at Microsoft.Web.Services3.Messaging.Framing.FramingRecord.Close(Boolean endOfMessage)    
  at Microsoft.Web.Services3.Messaging.Framing.FramingWriter.Close()    
  at
Microsoft.Web.Services3.Messaging.SoapMtomFormatterWithFraming.Microsoft.Web.Services3.Messaging.ISoapFormatter.Serialize(SoapEnvelope
envelope, Stream stream)    
  at Microsoft.Web.Services3.Messaging.SoapTcpConnection.SerializeMessage(SoapEnvelope envelope)    
  at Microsoft.Web.Services3.Messaging.SoapTcpOutputChannel.Send(SoapEnvelope message)    
  at Microsoft.Web.Services3.Messaging.SoapSender.Send(SoapEnvelope envelope)    
  at VA4kGCommsServer.DSMessageSender.SendMessage(String message, String uri_send_to, String
uri_reply_to, Boolean bRegistrationMessage)    


Can anyone help in resolving this?

Author
14 Nov 2006 9:37 PM
laported
Did you figure anything out with this? I'm starting to see the same
error (on soap.tcp messages to a custom (non .net) tcp server.

GS wrote:
Show quote
> We occasionally encounter this exception while trying to send soap/tcp messages:
>
> MySender.Sender - System.IO.IOException: WSE2149: Write Failure.
>   at Microsoft.Web.Services3.Messaging.SoapTcpNetworkStream.EndWrite(IAsyncResult asyncResult)
>   at Microsoft.Web.Services3.Messaging.SoapTcpNetworkStream.Write(Byte[] buffer, Int32 offset, Int32
> count)
>   at System.IO.Stream.WriteByte(Byte value)
>   at Microsoft.Web.Services3.Messaging.Framing.FramingRecord.WriteMessageEndRecord()
>   at Microsoft.Web.Services3.Messaging.Framing.FramingRecord.Close(Boolean endOfMessage)
>   at Microsoft.Web.Services3.Messaging.Framing.FramingWriter.Close()
>   at
> Microsoft.Web.Services3.Messaging.SoapMtomFormatterWithFraming.Microsoft.Web.Services3.Messaging.ISoapFormatter.Serialize(SoapEnvelope
> envelope, Stream stream)
>   at Microsoft.Web.Services3.Messaging.SoapTcpConnection.SerializeMessage(SoapEnvelope envelope)
>   at Microsoft.Web.Services3.Messaging.SoapTcpOutputChannel.Send(SoapEnvelope message)
>   at Microsoft.Web.Services3.Messaging.SoapSender.Send(SoapEnvelope envelope)
>   at VA4kGCommsServer.DSMessageSender.SendMessage(String message, String uri_send_to, String
> uri_reply_to, Boolean bRegistrationMessage)
>
>
> Can anyone help in resolving this?

AddThis Social Bookmark Button