Search found 32 matches

by cesarrafael
Thu Jul 10, 2025 11:05 pm
Forum: Questions & Answers
Topic: WEB API not working
Replies: 11
Views: 386141

Re: WEB API not working

Hi,

checking one of D15PGMLIB web jobs I found this error:
d15pgmlibjoberr.png

Apparently it is creating an object called “N” and trying to create an object called “I” (just one character, without anything else)….Is it possible that the value ‘’ (blank) is causing the error, if so what is ...
by cesarrafael
Thu Jul 03, 2025 9:01 pm
Forum: Questions & Answers
Topic: WEB API not working
Replies: 11
Views: 386141

Re: WEB API not working

Hi Dino,
Many thanks for your help and patience.
xvlwebtst works perfectly! We normally use web apps and framework without any problems.
xvlwebtst.png
Crud also works
CreudWebApp.png
Tried to test locally as well and it seems to be ok..
local_IIS_Test.png

Not sure about what to look for when ...
by cesarrafael
Thu Jul 03, 2025 8:46 am
Forum: Questions & Answers
Topic: WEB API not working
Replies: 11
Views: 386141

Re: WEB API not working

abaout.png
abaout.png (82.2 KiB) Viewed 386081 times
notfound2.png
notfound2.png (32.17 KiB) Viewed 386081 times
Not sure what to check anymore....it simply doesn't work...
I was under the impression this API thing was supposed to be straight forward and simple....

Many thanks for your help..
by cesarrafael
Thu Jul 03, 2025 8:44 am
Forum: Questions & Answers
Topic: WEB API not working
Replies: 11
Views: 386141

Re: WEB API not working

Hi Dino,
Many thanks for your help! But everything seems to be fine!
webmodules.png
webmodules.png (36.05 KiB) Viewed 386081 times
webserver.png
webserver.png (35.74 KiB) Viewed 386081 times
notfound.png
notfound.png (30.85 KiB) Viewed 386081 times
by cesarrafael
Wed Jul 02, 2025 6:35 pm
Forum: Questions & Answers
Topic: WEB API not working
Replies: 11
Views: 386141

Re: WEB API not working

Many thanks Tim!
However, we have multiple installations on our laptops....
But according to your specification it would be "http://localhost:8081/bpx/my1emp/employees?emp=100066", however I get a different error now. It's still a 404 but it's not json. Maybe I'm missing something on my install ...
by cesarrafael
Tue Jul 01, 2025 11:56 pm
Forum: Questions & Answers
Topic: WEB API not working
Replies: 11
Views: 386141

WEB API not working

Hi All,

I've been trying to build a Web API based on the tutorials, learn lansa, etc. but I'm not being able to make it work!
I think I followed all steps, but I also think I may be missing some parametrization....It doesn't work neither locally nor on the iSeries All I get is a" 404 not found ...
by cesarrafael
Sat Mar 15, 2025 5:11 am
Forum: Questions & Answers
Topic: How can I read JSON object containing keyed paired values ?
Replies: 3
Views: 48892

Re: How can I read JSON object containing keyed paired values ?

Hi DEVP,

Take a look at the "xDemoWebJsonViewer". Maybe it helps...
by cesarrafael
Sat Mar 15, 2025 3:17 am
Forum: Questions & Answers
Topic: [Solved] Executing a server module with a Self-Signed Certificate on IBM i
Replies: 4
Views: 46331

Re: Executing a server module with a Self-Signed Certificate on IBM i

Hi Izumi,

Quick search on the web...
The issue was that the request was timing out before the script completed, due to a long-running database query.
So that generic End of script output before headers error can be caused by server timeouts as well as file permissions issues.

Maybe this helps?
by cesarrafael
Sun Nov 24, 2024 10:27 pm
Forum: Questions & Answers
Topic: Message PRR0078
Replies: 3
Views: 52540

Re: Message PRR0078

Are you using Select_sql? I remember I had that error before but don't remeber the context quite well, but I think it was related to select_sql and connection to database...
by cesarrafael
Fri Sep 06, 2024 7:14 pm
Forum: Questions & Answers
Topic: Creating a Custom Message Handling
Replies: 1
Views: 32513

Re: Creating a Custom Message Handling

Hi Casey,

This probably comes to late, however we implemented headers using AGENT_INCLUDE with something like this:
*
Add Request header
*/

/* stub._setProperty ( org.apache.axis.MessageContext.HTTP_TRANSPORT_VERSION ,
org.apache.axis.transport.http.HTTPConstants.HEADER_PROTOCOL_V10 ) ;
*/

org ...
by cesarrafael
Mon Jun 03, 2024 7:17 pm
Forum: Questions & Answers
Topic: 2 SQLs lock the file
Replies: 2
Views: 9690

Re: 2 SQLs lock the file

Hi,
Never had that problem, however you may try to play around with the CRTSQLRPG or CRTSQLRPGI command options e.g. Close SQL cursor(CLOSQLCSR).
Changing command defaults for those commands and compiling again...It may also depend on the sequence they're being executed (first selec_sql and then ...
by cesarrafael
Wed May 29, 2024 7:06 pm
Forum: Questions & Answers
Topic: iSeries VL Web Session expiring after downloading file
Replies: 4
Views: 18352

Re: iSeries VL Web Session expiring after downloading file

Hi Jimmy,

Many thanks! That worked perfectly!
I wonder why that happens....We're using the Target(Current) on other different pages with no problem at all!

Anyway, that was very helpfull.

Cheers,
by cesarrafael
Sat May 18, 2024 1:26 am
Forum: Questions & Answers
Topic: iSeries VL Web Session expiring after downloading file
Replies: 4
Views: 18352

Re: iSeries VL Web Session expiring after downloading file

Nope....Still get a session expired after downloading the file....it's very strange...something is causing the session to expire or, maybe, starting a new Lweb_job and causing the session to be invalid...
by cesarrafael
Fri May 17, 2024 8:42 pm
Forum: Questions & Answers
Topic: iSeries VL Web Session expiring after downloading file
Replies: 4
Views: 18352

iSeries VL Web Session expiring after downloading file

Hi All,

Has anyone had issues with sessions expiring after downloading a document from an iSeries using VL Web?
We're using VL150040, iSeries V7R5M0 and our routine looks something like this (we have others similar):

Srvroutine Name(GetPDFFile) Response(*RESOURCE #Response)
Field_Map For(*INPUT ...
by cesarrafael
Fri Jan 05, 2024 11:04 pm
Forum: Questions & Answers
Topic: Copy data from one IDE to another
Replies: 2
Views: 69849

Re: Copy data from one IDE to another

Can't you just ignore the RRNO on the import?
by cesarrafael
Thu Dec 07, 2023 9:34 pm
Forum: Questions & Answers
Topic: AS400 subit error
Replies: 3
Views: 75337

Re: AS400 subit error

Hi Stefano,

I've never seen that error before, but I would put my money on the object not beeing available....Maybe it's not be there at the time of processing or it may be allocated by other process or the auhtorities for the path were not set correctly.... It also depends on what the function is ...
by cesarrafael
Thu Dec 07, 2023 9:30 pm
Forum: Questions & Answers
Topic: Global Variables
Replies: 3
Views: 63552

Re: Global Variables

Hi jtaljaard,

It depends of what you're trying to achieve and the type of application....You can use Data areas (dtaara) objects to store information, you can create "user space" objects, you can save lists, you can create reusable parts that can use the "scope application" and will hold values in ...
by cesarrafael
Thu Nov 16, 2023 3:02 am
Forum: Questions & Answers
Topic: Fetch data on multiple files
Replies: 6
Views: 40248

Re: Fetch data on multiple files

It's true.
To use the Select_sql in that way, you'll need to call a server function and pass data from the server function in a list to your local function
e.g. Use Builtin(CALL_SERVER_FUNCTION) With_Args(*SSERVER_SSN MYSERVFN Y Y #MYLIST) To_Get(#IO$STS)
by cesarrafael
Thu Nov 16, 2023 1:52 am
Forum: Questions & Answers
Topic: Fetch data on multiple files
Replies: 6
Views: 40248

Re: Fetch data on multiple files

Hi FBuckham,

Can you be a little bit more specific? What are you trying to achieve? Is it client/server data fetch? Is it OTHER File data?
by cesarrafael
Sat Jul 15, 2023 12:51 am
Forum: Questions & Answers
Topic: *LIBL on Sqlserver
Replies: 3
Views: 8762

Re: *LIBL on Sqlserver

Is it possible to use the "OTHER" file concept?