How to read a local server web page
(using B4A Version 4 beta 1) registered version
if I use a port...
URL = "http://192.168.1.104:88/xmloc?F=Sxml&S=L&M=PES&Z=1"
Java Error:
java.lang.IllegalArgumentException: Illegal character in scheme at index 0: 192.168.1.104:88/xmloc?F=Sxml&S=L&M=PES&Z=1
or
URL = "192.168.1.104:88/xmloc?F=Sxml&S=L&M=PES&Z=1"
Java Error:
java.lang.IllegalArgumentException: Illegal character in scheme at index 0: 192.168.1.104:88/xmloc?F=Sxml&S=L&M=PES&Z=1
Using no port:
URL = "http://192.168.1.104/xmloc?F=Sxml&S=L&M=PES&Z=1"
or
URL = "192.168.1.104/xmloc?F=Sxml&S=L&M=PES&Z=1"
The JobDone gives the following error:
Job.ErrorMessage=
java.lang.IllegalStateException: Target host must not be null, or set in parameters. scheme=null, host=null, path=192.168.1.104/xmloc
If I use an external IP like
URL = "http://200.68.94.242/xoc?F=A&T=ERAR&M=PES"
all is ok
Thanks
(using B4A Version 4 beta 1) registered version
if I use a port...
URL = "http://192.168.1.104:88/xmloc?F=Sxml&S=L&M=PES&Z=1"
Java Error:
java.lang.IllegalArgumentException: Illegal character in scheme at index 0: 192.168.1.104:88/xmloc?F=Sxml&S=L&M=PES&Z=1
or
URL = "192.168.1.104:88/xmloc?F=Sxml&S=L&M=PES&Z=1"
Java Error:
java.lang.IllegalArgumentException: Illegal character in scheme at index 0: 192.168.1.104:88/xmloc?F=Sxml&S=L&M=PES&Z=1
Using no port:
URL = "http://192.168.1.104/xmloc?F=Sxml&S=L&M=PES&Z=1"
or
URL = "192.168.1.104/xmloc?F=Sxml&S=L&M=PES&Z=1"
The JobDone gives the following error:
Job.ErrorMessage=
java.lang.IllegalStateException: Target host must not be null, or set in parameters. scheme=null, host=null, path=192.168.1.104/xmloc
If I use an external IP like
URL = "http://200.68.94.242/xoc?F=A&T=ERAR&M=PES"
all is ok
Thanks