Search found 105 matches

by kno_dk
Sat Nov 23, 2019 5:35 am
Forum: Questions & Answers
Topic: Calculate the lenght of field contens
Replies: 2
Views: 18

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: 2
Views: 18

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: 64

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 34 times
/klaus
by kno_dk
Fri Nov 15, 2019 7:11 am
Forum: Questions & Answers
Topic: weird JSON problem.
Replies: 1
Views: 64

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: 118

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: 63

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: 63

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: 2336

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: 118

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: 220

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: 220

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: 220

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: 220

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: 220

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
by kno_dk
Tue Oct 22, 2019 6:27 pm
Forum: Questions & Answers
Topic: LANSA integrator, SOAP agent and SSl
Replies: 10
Views: 220

Re: LANSA integrator, SOAP agent and SSl

Hi
Okay.

I am not an expert into certificates. Which type of projects should i choose to import the certificate for the server I am trying to connect to?

Thanks.

/Klaus
by kno_dk
Tue Oct 22, 2019 1:03 am
Forum: Questions & Answers
Topic: LANSA integrator, SOAP agent and SSl
Replies: 10
Views: 220

LANSA integrator, SOAP agent and SSl

Hi. we have use the soap agent service to connect to at SAP system from an IBM I. We are now testing their new HTTPS web-service. But I now getting an error trying to use this HTTPS webservice. I get this error: SOAP fault code : {http://schemas.xmlsoap.org/soap/envelope/}Server.userException SOAP f...
by kno_dk
Wed Aug 21, 2019 4:28 pm
Forum: Questions & Answers
Topic: being able to move a pop up panel (SUPPORT ISSUE?)
Replies: 17
Views: 643

Re: being able to move a pop up panel

Hi.

I have just tried the sample code and it worked for me.
by kno_dk
Tue Aug 13, 2019 11:54 pm
Forum: Questions & Answers
Topic: WEB and basic access authentication
Replies: 0
Views: 380

WEB and basic access authentication

Hi. We have an old LANSA for web online shop where the users should login to get access to the site. It is running on an IBM server with Apache http server and LANSA V12. We have this in the http-server PasswdFile qgpl/xxxusrlst Require valid-user AuthName "XXX - E-trade" AuthType Basic Now they wan...
by kno_dk
Thu Jul 25, 2019 11:52 pm
Forum: Questions & Answers
Topic: Dynamic menu in VL WEB (SOLVED)
Replies: 2
Views: 201

Dynamic menu in VL WEB (SOLVED)

Hi. I am trying to build a dynamic menu in Appbar. When I click on the menu icon to the right I should have a pop menu. I have added 3 menu items to the menu but only the last one is shown. I cant see why. Any suggestion? Is this the best way of making a dynamic pop up menu in the appbar? Here is my...
by kno_dk
Thu Jul 25, 2019 8:49 pm
Forum: Questions & Answers
Topic: VL-web layout mobile (SOLVED)
Replies: 12
Views: 515

Re: VL-web layout mobile

Thanks.

it worked.

/klaus