We are doing an http post request (using XPRIM_HttpRequest) to a third party webserver sending some information.
After this initial post the 3rd party webserver is supposed to sent us some information by making a post
to our webserver through a url that we have already sent them with the first post as a parameter.
Is there any way to listen for their post with lansa or even integrator within a time frame
(they are sending us back some fields within an encoded string)?
listen for a http post
-
tsupartono
Re: listen for a http post
You can create an RDML server module that's exposed as web services.
Have a look at this guide for details on publishing web services:
https://apps.lansa.com/lansav14sp2/dem/xdemow_12.html
The guide explains how to create service endpoints (URLs from where the service can be accessed), and how to extract query string & form variables from any HTTP (e.g. POST) requests.
Try that out and see if that would do what you need.
Any questions just ask on this forum.
Have a look at this guide for details on publishing web services:
https://apps.lansa.com/lansav14sp2/dem/xdemow_12.html
The guide explains how to create service endpoints (URLs from where the service can be accessed), and how to extract query string & form variables from any HTTP (e.g. POST) requests.
Try that out and see if that would do what you need.
Any questions just ask on this forum.