FOROS PROFESIONALES
WINDEV
,
WEBDEV
y
WINDEV Mobile
Inicio
|
Mensajes recientes
|
Conéctese...
|
Desconectar
|
Español
Inicio
→
WINDEV Mobile 2024
→
[WD20] Can't connect to web service
[WD20] Can't connect to web service
Iniciado por rob, 19,oct. 2015 23:26 - 1 respuesta
Conéctese…
rob
#1
Miembro registrado
105 mensajes
Publicado el 19,octubre 2015 - 23:26
This one has me totally stumped. And it's probably something simple I'm over looking.
I have a WebDev20 WebService I created. I know it works because I call the same functions from a Windows application as well as a Windows Mobile application.
However when trying to connect to it from Android, it fails.
I've double and triple checked my Address property on the imported web service.
Checked to make sure my string variables are the same type.
So out of curiosity, I added the following code to the very first lines of my Initialize code for the project.
IF
SocketConnect
(
"192.168.254.186"
,
80
) =
False
THEN
Info
(
"Unable to connect to port 80"
)
ELSE
Info
(
"Connected to port 80"
)
END
And it fails to connect. I've tried it both from a mobile device, and from the Android Emulator that comes with the SDK.
Same code in a windows application works fine.
I can telnet to port 80 from a different computer, so I know it's not firewall related. (Windows Firewall is turned off too)
I can open the web browser on both the mobile device, and on the SDK emulator, and browse to the web service's pages just fine.
Any insight would be greatly appreciated.
Informar
0
0
rob
#2
Miembro registrado
105 mensajes
Publicado el 21,octubre 2015 - 15:54
Well, it helps if I read the documentation for SocketConnect() correctly.
I can at least verify that I'm connecting to the web server now. Now to figure out why I'm not able to retrieve data from the web service.
Informar
0
0
→ Volver a WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versiones precedentes)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Búsqueda Tipo
Sólo temas
Todos los mensajes
Periodo Buscar
Cualquier fecha
Última hora
Última 24 horas
Última semana
Último mes
Último año
Cancelar
Vista previa del mensaje
Añadiendo una imagen
Importar una imagen desde una URL
Enviar una imagen desde un archivo de su disco
Arrastrar un archivo o click en "Examinar..."
o
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto