FOROS PROFESIONALES
WINDEV
,
WEBDEV
y
WINDEV Mobile
Inicio
|
Mensajes recientes
|
Conéctese...
|
Desconectar
|
Español
Inicio
→
WEBDEV 2024
→
Calling webservice with parameters from browser
Calling webservice with parameters from browser
Iniciado por Alfons, 02,dic. 2016 11:52 - 1 respuesta
Conéctese…
Alfons
#1
Publicado el 02,diciembre 2016 - 11:52
Hello,
I have a webservice with two parameters and I want that from a browser (without having to fill a form) you can make a call such as:
Http: //arm-pc/CFSATV30_WEBSERVICES_WEB/awws/ServicesToRouteAssignation.htm? SUser = ALBERTO & sRouteCode = 02
The problem is that this syntax is not accepted by the WebService created with WebDev. What should be the call to run the WebService with parameters directly?
Thank you very much
Alfons
Informar
0
0
Fabrice Harari
#2
Publicado el 02,diciembre 2016 - 14:05
Hi Alfons,
Http:
//arm-pc/CFSATV30_WEBSERVICES_WEB/awws/ServicesToRouteAssignation.htm?
SUser = ALBERTO & sRouteCode = 02
This type of call is for REST type webservice. The ones created with
windev or webdev are SOAP type and use something completely diferent and
not directly callable from browser.
To do what you want, you need to forget the webservice mode proposed by
webdev, and instead simply create an awp page accepting your parameter
and returning whatever you need to return with stringdisplay. That is in
fact a REST type webservice.
I'm using that system in wxreplication, and also on my web site to
confirm a user account creation.
Best regards
--
Fabrice Harari
Consultant WinDev, WebDev et WinDev Mobile International
A votre disposition : WXShowroom.com, WXReplication (open source) et
maintenant WXEDM (open source)
Plus d'information sur
http://fabriceharari.com
Informar
0
0
→ Volver a WEBDEV 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