Error con PROXY conectando en WebSWervice

07/06/2006 - 22:17 por Gohann | Informe spam
Gracias por la atención.

He realizado un web service el cual en mi compañía funciona correctamente,
pero al llevarlo y colocarlo donde el cliente al ejecutarse me está generando
el siguiente error:

"The request failed with HTTP status 504: Proxy Timeout ( Connection timed
out.
For more information about this event, see ISA Server Help. )."

El código usado es el siguiente:

MyBase.New
Me.Url = "http://www.direccion.com/cliente/we...asmx"
Dim myProxy As New WebProxy("http://172.19.75.43:8080", True)
myProxy.Credentials = New NetworkCredential("usuario", "Clave",
"Dominio")
'Dim myFindService As New FindServiceSoap
'myFindService.Proxy = myProxy
Me.Proxy = myProxy

Les reitero las gracias por la ayuda prestada.
 

Leer las respuestas

#1 fer
08/06/2006 - 09:43 | Informe spam
Hola Gohann:
tuve este mismo problema la semana pasada y lo resolvi cambiando tres
parametros, uno en IIS, otro en el web.config del servicio web y otro
en el codigo.

* en el IIS tienes el "tiempo de espera de la conexion"
* en el web.config debes añadir el elemento <httpRuntime
executionTimeOut="600"> a <system.web>
* en el proxy configurar la propiedad myProxy.TimeOut = 600000; (en
milisegundos)

a mi me sirvio con esto, espero que a ti tambien.
un saludo.

Gohann ha escrito:

Gracias por la atención.

He realizado un web service el cual en mi compañía funciona correctamente,
pero al llevarlo y colocarlo donde el cliente al ejecutarse me está generando
el siguiente error:

"The request failed with HTTP status 504: Proxy Timeout ( Connection timed
out.
For more information about this event, see ISA Server Help. )."

El código usado es el siguiente:

MyBase.New
Me.Url = "http://www.direccion.com/cliente/we...asmx"
Dim myProxy As New WebProxy("http://172.19.75.43:8080", True)
myProxy.Credentials = New NetworkCredential("usuario", "Clave",
"Dominio")
'Dim myFindService As New FindServiceSoap
'myFindService.Proxy = myProxy
Me.Proxy = myProxy

Les reitero las gracias por la ayuda prestada.

Preguntas similares