FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WEBDEV 2024
→
Calling webservice with parameters from browser
Calling webservice with parameters from browser
Débuté par Alfons, 02 déc. 2016 11:52 - 1 réponse
Connectez-vous…
Alfons
#1
Posté le 02 décembre 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
Signaler
0
0
Fabrice Harari
#2
Posté le 02 décembre 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
Signaler
0
0
→ Revenir à WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte