|
| Iniciado por dsprosystems, 26,jul. 2018 12:41 - 3 respuestas |
| |
| | | |
|
| |
| Publicado el 26,julio 2018 - 12:41 |
Hi all
I am struggling with the process of creating a webservice. I have a windev solution and i need to create an API so that external systems can create controlled data. The data needs to be passed as XML in HTMLrequest body
I presume i need to create a REST webservice in WebDev and link the webservice URL to a shared/stored procedure? how do i identify the difference between URL line parameters which a presume are parameters/value of the procedure and the XML body ? or am i going down the wrong road totally ?
Can seem to find any examples to work from
Any help would be greatly appreciated
Kind regards Dave |
| |
| |
| | | |
|
| | |
| |
| Publicado el 26,julio 2018 - 14:19 |
Hi Dave,
you -CAN- use the new REST webservices provided in windev/webdev -OR- you can simply use an awp page in webdev... There is a full example of that in my open source WXReplication, as I'm using such a REST webservice for the communication layer.
Best regards
-- Fabrice Harari International WinDev, WebDev and WinDev mobile Consulting
Free Video Courses, free WXShowroom.com, open source WXReplication, open source WXEDM.
More information on http://www.fabriceharari.com
On 7/26/2018 4:41 AM, Dave Summers wrote:
Hi all
I am struggling with the process of creating a webservice. I have a windev solution and i need to create an API so that external systems can create controlled data. The data needs to be passed as XML in HTMLrequest body
I presume i need to create a REST webservice in WebDev and link the webservice URL to a shared/stored procedure? how do i identify the difference between URL line parameters which a presume are parameters/value of the procedure and the XML body ? or am i going down the wrong road totally ?
Can seem to find any examples to work from Any help would be greatly appreciated
Kind regards Dave |
| |
| |
| | | |
|
| | |
| |
| Publicado el 26,julio 2018 - 14:43 |
Thanks for the reply Fabrice,
i was just watching a youtube video that demos that exact option 
One quick question, if the httprequest sends the request data (in XML) in the header, how do i reference that within the HTML page ? i can see that pageparameter can be used to get URL data but i want to avoid data payload on the URL
i cant find the method to examine contents of the the client httprequest (POST) cheers Dave |
| |
| |
| | | |
|
| | |
| |
| Publicado el 26,julio 2018 - 15:29 |
Hi Dave,
it's pageparameter too, only with the 'post' specific syntax (see help or my WXreplication, as this is what I'm using too, for size reasons)
Best regards
-- Fabrice Harari International WinDev, WebDev and WinDev mobile Consulting
Free Video Courses, free WXShowroom.com, open source WXReplication, open source WXEDM.
More information on http://www.fabriceharari.com
On 7/26/2018 6:43 AM, Dave Summers wrote:
Thanks for the reply Fabrice, i was just watching a youtube video that demos that exact option  One quick question, if the httprequest sends the request data (in XML) in the header, how do i reference that within the HTML page ? i can see that pageparameter can be used to get URL data but i want to avoid data payload on the URL i cant find the method to examine contents of the the client httprequest (POST) cheers Dave |
| |
| |
| | | |
|
| | | | |
| | |
|