-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: Elenix4
Message 1 in Discussion
Hi all,
I am trying to access a remote SMS service using a proxy. Although
there is a connection established between the server and the client,
and the application posts a valid SOAP message, the connection is
broken and the following exception is thrown (see below end of
message).
>From TCP level traces I've done it seems that, although a connection is established
>and the client sends a valid SOAP message, the connection is broken and the server
>fails to respond. I've confirmed, though, that there's is no issues with it, since
the same messages were delivered OK from a VB.NET application
that hard-codes the message and sends it over to the server. However,
since I moved location last week, the windows application is failing
with the same error.
There is both client and server authentication performed, and the
procedure of loading the certificates is the same on both
applications. I'm not using an internet proxy.
Hope you can help!
Server Error in '/WebApplication1' Application.
The underlying connection was closed: An unexpected error occurred
on a receive.
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.
Exception Details: System.Net.WebException: The underlying
connection was closed: An unexpected error occurred on a receive.
Source Error:
Line 68:
<System.Web.Services.Protocols.SoapRpcMethodAttribute
("urn:Genie/SMSOA/Listener/Dispatcher",
RequestNamespace:="urn:Genie/SMSOA/Listener/Dispatcher",
ResponseNamespace:="urn:Genie/SMSOA/Listener/Dispatcher")> _Line
69: Public Function sendsimplemessage(ByVal Request As
simplemessageRequest, ByRef ErrorMessage As String, ByRef
Failed_MSISDN() As Object, ByRef RequestID As Integer) As
<System.Xml.Serialization.SoapElementAttribute("ErrorCode")>
IntegerLine 70: Dim results() As Object = Me.Invoke
("sendsimplemessage", New Object() {Request})Line 71:
ErrorMessage = CType(results(1), String)Line 72:
Failed_MSISDN = CType(results(2), Object())
Source File: c:\inetpub\wwwroot\WebApplication1\Web
References\BrokerService\Reference.vb Line: 70
Stack Trace:
[WebException: The underlying connection was closed: An unexpected
error occurred on a receive.]
System.Web.Services.Protocols.WebClientProtocol.GetWebResponse
(WebRequest request) +58
System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse
(WebRequest request) +5
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters) +183
WebApplication1.BrokerService.BrokerService.sendsimplemessage
(simplemessageRequest Request, String& ErrorMessage, Object[]&
Failed_MSISDN, Int32& RequestID) in
c:\inetpub\wwwroot\WebApplication1\Web
References\BrokerService\Reference.vb:70
WebApplication1.WebForm1.Button1_Click(Object sender, EventArgs e)
in c:\inetpub\wwwroot\WebApplication1\WebForm1.aspx.vb:70
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.
RaisePostBackEvent(String eventArgument) +57
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
sourceControl, String eventArgument) +18
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
+33 System.Web.UI.Page.ProcessRequestMain() +1277
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/BDotNet/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you received
this message by mistake, please click the "Remove" link below. On the pre-addressed
e-mail message that opens, simply click "Send". Your e-mail address will be deleted
from this group's mailing list.
mailto:[EMAIL PROTECTED]