Connection closed

18/07/2006 - 11:33 por RajeevSekar | Informe spam
Hai Experts,
I am using this

Dim objSoapClient Set objSoapClient =
Server.CreateObject("MSSOAP.SoapClient")
objSoapClient.ClientProperty("ServerHTTPRequest") = True
objSoapClient.mssoapinit("http://localhost/RajeevProjects/F10...WSDL")
str=objSoapClient.LeadCreation(testString)


code to invoke web service written in asp.net from asp page. but this page
throws this exception

"Error Type:
soap:Server (0x80004005)
Server was unable to process request. --> The underlying connection was
closed: An unexpected error occurred on a send."

Can anyone help me to solve this problem.


Thnks & Regards,
S.Rajeev.
 

Leer las respuestas

#1 Matías Iacono
18/07/2006 - 16:35 | Informe spam
This problem can be trigger for many reasons.

Security issues.

Bad formed XML.

Path access error.

Check the access path first. If you are using all in local, be sure you can
access to LOCALHOST. If the web service are in another machine inside of
your network, use the IP address, or the machine name to access.

Matías Iacono
Microsoft MVP ASP/ASP.net
Orador INETA
"RajeevSekar" escribió en el mensaje
news:
Hai Experts,
I am using this

Dim objSoapClient Set objSoapClient =
Server.CreateObject("MSSOAP.SoapClient")
objSoapClient.ClientProperty("ServerHTTPRequest") = True
objSoapClient.mssoapinit("http://localhost/RajeevProjects/F10...WSDL")
str=objSoapClient.LeadCreation(testString)


code to invoke web service written in asp.net from asp page. but this
page throws this exception

"Error Type:
soap:Server (0x80004005)
Server was unable to process request. --> The underlying connection was
closed: An unexpected error occurred on a send."

Can anyone help me to solve this problem.


Thnks & Regards,
S.Rajeev.

Preguntas similares