Search found 6 matches

by ColinP
Wed Jan 23, 2019 3:14 am
Forum: Questions & Answers
Topic: How do I pass a parameter into a jsmproxy RESTful web service via the URL?
Replies: 1
Views: 1237

Re: How do I pass a parameter into a jsmproxy RESTful web service via the URL?

This has now been answered by Karen from Lansa support. The URL syntax is:- https://MYSERVER.com/cgi-bin/jsmproxy.exe?MYFUNCTION+auth(123) Then:- - define field #auth in the web service function - add BIND(*FIELD) SERVICE_EXCHANGE(*FIELD) to the HTTPInboundJSONBindService service load command:- DEFI...
by ColinP
Tue Jan 22, 2019 3:23 am
Forum: Questions & Answers
Topic: How do I specify the return status code passed back to a RESTful web service
Replies: 1
Views: 1290

Re: How do I specify the return status code passed back to a RESTful web service

This has now been solved by Theo from Lansa Support.

The code need is:

Code: Select all

SEND RESPONSE(*EMPTY)
by ColinP
Mon Jan 21, 2019 11:31 pm
Forum: Questions & Answers
Topic: How do I pass a parameter into a jsmproxy RESTful web service via the URL?
Replies: 1
Views: 1237

How do I pass a parameter into a jsmproxy RESTful web service via the URL?

Hi Lansa Forum Sorry; another question about Lansa Integrator RESTful web services. I have written an RDMLX function that uses Lansa Integrator to process some data sent to us from a business partner in JSON format via a RESTful web service. They can use a URL in the format:- https://MYSERVER.com/cg...
by ColinP
Sat Jan 19, 2019 3:09 am
Forum: Questions & Answers
Topic: How do I specify the return status code passed back to a RESTful web service
Replies: 1
Views: 1290

How do I specify the return status code passed back to a RESTful web service

We have just had a jsmproxy/jsmdirect server set up to enable our business partners to send us data via a RESTful web service. I have written a new function in RDMLX using JSMX functions to process the JSON data that is sent via the web service. The basic outline of the function is:- USE BUILTIN(JSM...
by ColinP
Mon May 21, 2018 6:50 pm
Forum: Questions & Answers
Topic: Integrator-Processing unknown JSON fragments
Replies: 2
Views: 722

Re: Integrator-Processing unknown JSON fragments

Hi
Sorry to bump this post but the project I am working on is getting near to the delivery deadline.
I was just wondering if anybody had come across this situation before and how they solved this issue? or if Integrator simply does not allow for this situation?
Thanks in advance
Colin
by ColinP
Wed May 02, 2018 8:33 pm
Forum: Questions & Answers
Topic: Integrator-Processing unknown JSON fragments
Replies: 2
Views: 722

Integrator-Processing unknown JSON fragments

Hi All I have been using Lansa for about 10 years; mostly to produce intranet websites using WAMS. I am currently using Lanas v13SP2. I have been using Lansa Integrator for about 6 months and have had a lot of success with some basic RESTful web services sending a receiving some straightforward JSON...