listen for a http post

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
Posts: 28
Joined: Fri Feb 09, 2018 11:25 pm

listen for a http post

Post by sotos » Wed Jun 05, 2019 11:41 pm

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)?


Re: listen for a http post

Post by tsupartono » Tue Jun 11, 2019 11:16 am

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:

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.

Post Reply