Search found 131 matches

by kno_dk
Thu Dec 19, 2019 10:54 pm
Forum: Questions & Answers
Topic: VL-WEB, SSL and pending request
Replies: 4
Views: 947

VL-WEB, SSL and pending request

Hi. I have a weird issue. I have for the past several years had a customer running a VL-WEB application on port 8080 on an IBM I. Now we have added a new http-server on the same box, with the same VL-WEB application but now with HTTPS. It works most of the time perfect. But if I open the application...
by kno_dk
Wed Dec 04, 2019 8:21 pm
Forum: Questions & Answers
Topic: Input fields in VL Web List
Replies: 5
Views: 617

Re: Input fields in VL Web List

Hi I have this Define_Com Class(#PRIM_LABL) Name(#Vare2KurvAntalPlus) Caption('+') Displayposition(2) Ellipses(Word) Height(25) Left(0) Parent(#Vare2KurvAntalPanel) Tabposition(2) Tabstop(False) Top(8) Verticalalignment(Center) Width(15) Alignment(Center) Themedrawstyle('Link') Define_Com Class(#PRI...
by kno_dk
Mon Dec 02, 2019 8:34 pm
Forum: Questions & Answers
Topic: JSON - XPRIM_HttpRequest vs PRIM_WEB.HttpRequest
Replies: 1
Views: 447

JSON - XPRIM_HttpRequest vs PRIM_WEB.HttpRequest

Hi I have this small solution where I integrate with a service using JSON. It is right now called from a server module. I am using XPRIM_HttpRequest like this: Define_Com Class(#XPRIM_HttpRequest) Name(#HttpRequest) where I am setting some parameters like this: #HttpRequest.Options.AddBasicAuthoriza...
by kno_dk
Thu Nov 28, 2019 1:36 am
Forum: Questions & Answers
Topic: PRIM_MD.List selected entry
Replies: 1
Views: 354

PRIM_MD.List selected entry

Hi. I have a list where I want to highlight the selected entry. I works fine when i add it to the list. But I am having problems when I select a new entry in the list. I also want the firste one to be unselected. I have done some test but I am a bit lost right now. Here is my code: Begin_Com Role(*E...
by kno_dk
Mon Nov 25, 2019 6:13 pm
Forum: Questions & Answers
Topic: Calculate the lenght of field contens
Replies: 6
Views: 847

Re: Calculate the lenght of field contens

Hi

Thanks

That was what I needed.

/klaus
by kno_dk
Sat Nov 23, 2019 10:02 am
Forum: Questions & Answers
Topic: Calculate the lenght of field contens
Replies: 6
Views: 847

Re: Calculate the lenght of field contens

Hi thanks But I still need to change the width of the labels so it is like Home page > Services > About Us > Home page > Latest Newsletter > Home page > Page currently being viewed and not like : Home page > Services > About Us > Home page > Latest Newsletter > Home page > Page currently being viewe...
by kno_dk
Sat Nov 23, 2019 5:35 am
Forum: Questions & Answers
Topic: Calculate the lenght of field contens
Replies: 6
Views: 847

Re: Calculate the lenght of field contens

Hi Thanks. it gives me the numbers of letters in the field. I need the size in the format of width. I need it to make some kind of breadcrum, like: Home page > Services > About Us > Home page > Latest Newsletter > Home page > Page currently being viewed If i just put the fields after each other I wi...
by kno_dk
Sat Nov 23, 2019 1:30 am
Forum: Questions & Answers
Topic: Calculate the lenght of field contens
Replies: 6
Views: 847

Calculate the lenght of field contens

Hi.

Is it possible to calculate the lenght of the content in field so I can set the width of the field in a RP?

/Klaus
by kno_dk
Mon Nov 18, 2019 10:50 pm
Forum: Questions & Answers
Topic: weird JSON problem.
Replies: 1
Views: 378

Re: weird JSON problem.

Hi.

I found the reason of the problem.

It was the ccsid settings of the Http-server (see table below). I can get it to work, but I will not have any € sign in the JSON response
Udklip.PNG
Udklip.PNG (10.79 KiB) Viewed 348 times
/klaus
by kno_dk
Fri Nov 15, 2019 7:11 am
Forum: Questions & Answers
Topic: weird JSON problem.
Replies: 1
Views: 378

weird JSON problem.

Hi. I have 3 wam which deliver som JSON in the response. I have tested the 3 wam's in POSTMAN (tool) and they works as expected on our development server (IBM I ) and when installed on the customers server (IBM I). I have then created a Server module on my development pc which integrate with these 3...
by kno_dk
Thu Nov 14, 2019 7:17 am
Forum: Questions & Answers
Topic: Servermodule log
Replies: 2
Views: 571

Re: Servermodule log

Hi

I found this
https://docs.lansa.com/14/en/lansa018/c ... 1_0395.htm

And it gave me what i needed.

/Klaus
by kno_dk
Wed Nov 06, 2019 4:29 am
Forum: Questions & Answers
Topic: Json and list
Replies: 2
Views: 359

Re: Json and list

Hi.

Thanks.

Reader.EndObject did the job.

/klaus
by kno_dk
Tue Nov 05, 2019 10:30 pm
Forum: Questions & Answers
Topic: Json and list
Replies: 2
Views: 359

Json and list

Hi I have created a wam which create a JSON respons (see below) I have tested the wam in POSTMAn and it Works fine. I have then created a servermodule and a VL-web page to test the Wam. Here are the code from my Servermodule: #HttpRequest.Dopost Url(#Url) If (#HttpRequest.Response.IsSuccessfulReques...
by kno_dk
Tue Nov 05, 2019 1:27 am
Forum: Questions & Answers
Topic: #XPRIM_HttpRequest
Replies: 10
Views: 2801

Re: #XPRIM_HttpRequest

Hi.

You are refering to request.body.log. What is that and where do you find this?

/klaus
by kno_dk
Mon Nov 04, 2019 7:06 pm
Forum: Questions & Answers
Topic: Servermodule log
Replies: 2
Views: 571

Servermodule log

Hi I am trying to integrate with a WAm modul on an IBM I. The WAM is usig JSON. It works fine from POSTMAN - I can send and receive data. In my VL-web on my pc I can call the wam from a server module, the requested data is empty. So how do I log/trace what the server module is sending to the wam? I ...
by kno_dk
Tue Oct 29, 2019 1:11 am
Forum: Questions & Answers
Topic: LANSA integrator, SOAP agent and SSl
Replies: 10
Views: 999

Re: LANSA integrator, SOAP agent and SSl

Hi

It works.

Thanks for the input!

/Klaus
by kno_dk
Mon Oct 28, 2019 12:50 am
Forum: Questions & Answers
Topic: LANSA integrator, SOAP agent and SSl
Replies: 10
Views: 999

Re: LANSA integrator, SOAP agent and SSl

Hi

I tried to move the cacerts.jks file to PKI folder and the change the manager.properties file to point to pki folder.

I think it works better, because now it says HTTP (401)Unauthorized"

So now I can test a bit more.

Thanks.
/klaus
by kno_dk
Fri Oct 25, 2019 4:36 am
Forum: Questions & Answers
Topic: LANSA integrator, SOAP agent and SSl
Replies: 10
Views: 999

Re: LANSA integrator, SOAP agent and SSl

Hi I have now tested this. And I get an different error now: Service : SALESORDERSAPVERSION3 Operation : SALESORDER_SIMULATE Past pivot : false Optimization : false SOAP Action : http://sap.com/xi/WebService/soap1.1 Message form : FORM_SOAPENVELOPE Create trace file : SOAP_REQUEST000001.XML No servi...
by kno_dk
Thu Oct 24, 2019 8:52 pm
Forum: Questions & Answers
Topic: LANSA integrator, SOAP agent and SSl
Replies: 10
Views: 999

Re: LANSA integrator, SOAP agent and SSl

hi. I have dowloaded the cacerts from QOpenSys\QIBM\ProdData\JavaVM\jdk626\32bit\jre\lib\security on my IBM I. Opened it in the LANSA integrator studio in the PKI editor. Imported the certificate of the server I am trying to connect with, and the intermediate and root CAs into the cacerts.jks . Shou...
by kno_dk
Thu Oct 24, 2019 5:39 am
Forum: Questions & Answers
Topic: LANSA integrator, SOAP agent and SSl
Replies: 10
Views: 999

Re: LANSA integrator, SOAP agent and SSl

Hi

I have now created the Keystore file, imported the Ca and the intermediate and root CAs into the cacerts.jks file.
I have restarted the JSM but I still get the same error.

Do I need to make some settings in the manager.properties file in the jsm?

/klaus