Search found 68 matches

by LANSAGuru
Fri Oct 21, 2016 4:36 am
Forum: Questions & Answers
Topic: Sum Cclculation in Lansa
Replies: 2
Views: 1549

Re: Sum Cclculation in Lansa

Whether you do this on the server or on the client does not matter. You can a) do it on the server and return the sum or b) do the sum in the browser So you have the values in a list. Simply spin the list and accumulate the sum. #sum := 0 Selectlist #listname #sum += #yourfield endselect Now #sum ha...
by LANSAGuru
Sat Oct 01, 2016 1:46 am
Forum: Questions & Answers
Topic: Do I need to close the SOAP service
Replies: 2
Views: 3614

Re: Do I need to close the SOAP service

It depends. If this is an INBOUND service, then you should NOT UNLOAD the service. If you do the unload, the response will not be sent. ================================== For a SOAP AGENT (pseudo code) ================================== jsm open load soapagent open webservice(xxxxxx) call operation(...
by LANSAGuru
Fri Sep 16, 2016 8:51 am
Forum: Questions & Answers
Topic: Running in VLF and VL for Web
Replies: 8
Views: 5481

Re: Running in VLF and VL for Web

This has two parts. On the server side you would have Function A Server_Module B RP C You would call either of Function A or B depending on platform and then A and B would both call C and then pass back a response. The reason for this is so all of the business logic is in one place, and only one pla...
by LANSAGuru
Thu Jul 21, 2016 3:11 am
Forum: Tips and Techniques
Topic: Searching LANSA documentation
Replies: 0
Views: 2243

Searching LANSA documentation

If you want to search google for a specific website use the following search command. site:docs.lansa.com (what you are searching for) e.g. site:docs.lansa.com 'JVM=' You can do this in the chrome omni bar. If not using chrome, go to http://www.google.com and type this in the google search field. Yo...
by LANSAGuru
Fri Mar 25, 2016 7:14 am
Forum: Questions & Answers
Topic: How to get response from Integrator HTTP POST
Replies: 8
Views: 3046

Re: How to get response from Integrator HTTP POST

This one is in the documentation. http://docs.lansa.com/140/en/lansa093/index.htm#lansa/INTB5_0140.htm?Highlight=service_exchange There are some examples in the appendix of the Integrator guide that use this specific keyword. http://docs.lansa.com/140/en/lansa093/index.htm#lansa/INTBJ_0001.htm I lea...
by LANSAGuru
Fri Mar 25, 2016 1:55 am
Forum: Questions & Answers
Topic: How to get response from Integrator HTTP POST
Replies: 8
Views: 3046

Re: How to get response from Integrator HTTP POST

There are two ways to get data to be mapped between the JSM subsystem and your job (via socket). First way is via a list with field definitions as you saw. def_list name(#Response) fields(#STD_TEXTL) type(*WORKING) entrys(*MAX) #jsmxcmd := '<command> service_list(STD_TEXTL)' use builtin(JSMX_COMMAND...
by LANSAGuru
Thu Mar 24, 2016 7:09 am
Forum: Questions & Answers
Topic: How to get response from Integrator HTTP POST
Replies: 8
Views: 3046

Re: How to get response from Integrator HTTP POST

Please zip up the entire CLIENT folder trace and upload it here. I will take a look.
by LANSAGuru
Thu Mar 24, 2016 6:00 am
Forum: Questions & Answers
Topic: How to get response from Integrator HTTP POST
Replies: 8
Views: 3046

Re: How to get response from Integrator HTTP POST

1) The send is wrong. Missing the list of name value pairs (#content) should be use builtin(JSMX_COMMAND) with_args(#JSMXHDLE1 #JSMXCMD) to_get(#JSMXSTS #JSMXMSG #content) 2) When debugging Integrator always do this #JSMCMD := 'SERVICE_LOAD SERVICE(HTTPService) SERVICE_CONTENT(*HTTP) TRACE(*YES)' Th...