Search found 15 matches

by marcel.heij
Thu Jan 12, 2023 4:13 am
Forum: Questions & Answers
Topic: VLWeb create routes dynamic
Replies: 1
Views: 3908

VLWeb create routes dynamic

I found this link in the Lansa help docs to dynamically create routes:https://docs.lansa.com/15/en/lansa016/C ... eRoute.htm

I am on the latest V15 EPC, but this method doesn't seem to exist, or am I missing something here?
by marcel.heij
Thu Nov 24, 2022 9:52 pm
Forum: Questions & Answers
Topic: Use of .Net Components result in error
Replies: 3
Views: 4695

Re: Use of .Net Components result in error

Via command line all works fine, also with a very large sample size. In Lansa it works with a small sample size, but with a large sample size it is giving the out of memory exception.
by marcel.heij
Thu Nov 24, 2022 12:52 am
Forum: Questions & Answers
Topic: EPC150033 Web Routing issue
Replies: 7
Views: 13399

Re: EPC150033 Web Routing issue

Still having this routing problems on our external Web server (in DMZ), which only acts as a pass through to the Lansa application server on the internal network. The problematic registry entries described before, don't exist here. So we have to add the .html extensions to the URI of the Lansa web ...
by marcel.heij
Wed Nov 23, 2022 2:17 am
Forum: Questions & Answers
Topic: Use of .Net Components result in error
Replies: 3
Views: 4695

Use of .Net Components result in error

We are trying to use a .Net component to determine the file encoding of files we have to process.
We tried two components:
1. https://gist.github.com/TaoK/945127?permalink_comment_id=3448173
2. https://github.com/khalidsalomao/SimpleHelpers.Net

Both components work fine when we use it in a simple C ...
by marcel.heij
Fri Jun 25, 2021 11:44 pm
Forum: Questions & Answers
Topic: EPC150033 Web Routing issue
Replies: 7
Views: 13399

Re: EPC150033 Web Routing issue

This issue is solved by myself. Seemed to be a strayed/lost registry key causing this trouble:

[HKEY_LOCAL_MACHINE\SOFTWARE\LANSA\ %5C%5CSERVERNAME%5CD$%5CLANSA ] ==> this translates to \\SERVERNAME\D$\LANSA

[HKEY_LOCAL_MACHINE\SOFTWARE\LANSA\ %5C%5CSERVERNAME%5CD$%5CLANSA\LANSAWEB ] ==> this ...
by marcel.heij
Thu Jun 24, 2021 7:53 am
Forum: Questions & Answers
Topic: EPC150033 Web Routing issue
Replies: 7
Views: 13399

Re: EPC150033 Web Routing issue

Lansa support is looking in to it. I am still in my DEV environment where IIS is on the same machine. Lansa web plugin is not accepting any URL without .html at the end. Even the demo applications are not working.
Must be something in the configuration on the machine, but cannot find what it is.
by marcel.heij
Mon Jun 14, 2021 7:36 pm
Forum: Questions & Answers
Topic: EPC150033 Web Routing issue
Replies: 7
Views: 13399

Re: EPC150033 Web Routing issue

Is it necessary to install the "URL Rewrite" extension in IIS?
by marcel.heij
Fri Jun 11, 2021 9:06 pm
Forum: Questions & Answers
Topic: EPC150033 Web Routing issue
Replies: 7
Views: 13399

Re: EPC150033 Web Routing issue

Thanks Dominique for the reply. We use a pretty standard IIS (version 10) install on Windows server 2016, so nothing special is done for URL Rewrites. What rules are you referring to?
Regards,
Marcel
by marcel.heij
Fri Jun 11, 2021 8:14 pm
Forum: Questions & Answers
Topic: EPC150033 Web Routing issue
Replies: 7
Views: 13399

EPC150033 Web Routing issue

I am experimenting with the new web routing features in version 15+, but since web pages don't include the .html extension the IIS webserver returns 404 FILE NOT FOUND. When I add the .html extension to the URL the page is loaded correctly and the routing in the web application itself seems to work ...
by marcel.heij
Thu Jan 28, 2021 12:52 am
Forum: Questions & Answers
Topic: Questions about Publish RESTful Web Services
Replies: 6
Views: 26212

Re: Questions about Publish RESTful Web Services

Thanks, much better with this vital argument!
by marcel.heij
Wed Jan 20, 2021 5:31 am
Forum: Questions & Answers
Topic: Rest API (V15) multipart/form-data file upload with JWT not supported?
Replies: 1
Views: 4228

Re: Rest API (V15) multipart/form-data file upload with JWT not supported?

Well, my question is still stands, but I do have a workaround without the TryBind method unfortunately:

* ================================================================================= *
Srvroutine Name(UploadFile) Desc('Save a Blob on de server as a file') Response(*HTTP #Context)
Define Field ...
by marcel.heij
Tue Jan 19, 2021 11:52 pm
Forum: Questions & Answers
Topic: Questions about Publish RESTful Web Services
Replies: 6
Views: 26212

Re: Questions about Publish RESTful Web Services

I am not getting this to work. Using Visual Lansa V15 with the latest EPC's on Windows, but nothing seems to happen after adding the suggested lines to the webmodules.conf and even restarting IIS. Are there any other steps to do or does someone have other suggestions?
by marcel.heij
Tue Jan 19, 2021 2:17 am
Forum: Questions & Answers
Topic: Rest API (V15) multipart/form-data file upload with JWT not supported?
Replies: 1
Views: 4228

Rest API (V15) multipart/form-data file upload with JWT not supported?

I am trying to create a srvroutine for file upload via multipart/form-data in combination with JWT security. However it seems the TryBind method does not support multipart/form-data. Is that correct? Does somebody have an example of a file upload API with JWT security?
by marcel.heij
Sat Aug 24, 2019 10:41 am
Forum: Questions & Answers
Topic: Publishing secured Rest API with UserID and Password (RESOLVED)
Replies: 2
Views: 5559

Re: Publishing secured Rest API with UserID and Password

Thank you for confirming my findings, but I hoped I was doing something wrong. At the moment I am trying to let my Rest API consume a Lansa Web server module that uses sessions, giving the sessionkey back to the Rest API, which is adding a cookie to the response served to the consumer of my Rest API ...
by marcel.heij
Wed Aug 21, 2019 3:34 am
Forum: Questions & Answers
Topic: Publishing secured Rest API with UserID and Password (RESOLVED)
Replies: 2
Views: 5559

Publishing secured Rest API with UserID and Password (RESOLVED)

I created a server module for a client facing Rest API, but the Session(*REQUIRED) parameter of the Srvroutine doesn't seem to do anything. I can access the srvroutine without a session. What is the way to go for publishing a Rest API secured with a userid and password and persisted fields? Can we ...