Search found 200 matches

by jonboy49
Fri Nov 10, 2023 10:07 pm
Forum: HTTPAPI
Topic: Special characters in URL
Replies: 8
Views: 7587

Re: Special characters in URL

That URL should be: Servername.company.com:1234/api/ProcessMessage?custID=GPD&facility=01 surely?

The "?" introduces the query string. "&"s separate the parameters.

As it is now the second "?" is being treated as part of the value for custID
by jonboy49
Wed Nov 08, 2023 11:46 pm
Forum: HTTPAPI
Topic: gsk_env_init Error from Iseries to https
Replies: 7
Views: 8894

Re: gsk_env_init Error from Iseries to https

What does the HTTPAPI debug log show? If it is a certificate issue it will show there. Are you certain the service is available? How did you verify that?
by jonboy49
Wed Nov 01, 2023 9:33 pm
Forum: RPG IV
Topic: Using JSON Nested Data Structures in Multiple Programs
Replies: 4
Views: 4613

Re: Using JSON Nested Data Structures in Multiple Programs

I would (and do) do exactly what you have suggested. In fact I go one step further in that the /COPY contains the DS as a template. Like so: Dcl-DS myDS_T Qualified Template; field1 char(10); field2 int(5); Dcl-DS nestedDS Dim(20); field3 varchar(40); End-DS; End-DS; That way you can simply referenc...
by jonboy49
Wed Oct 04, 2023 4:28 pm
Forum: RPG IV
Topic: Debugging a CGI RPG Web Program
Replies: 2
Views: 3197

Re: Debugging a CGI RPG Web Program

Brad Stone has a brief piece on the topic here: https://www.fieldexit.com/forum/display?threadid=48 CNX have a nice on here: https://www.cnxcorp.com/blog/debug-back-end-production-jobs-using-strdbg Jan did a piece for MC Press here: https://www.mcpressonline.com/programming/rpg/techtip-debugging-cgi...
by jonboy49
Sun Sep 17, 2023 9:55 pm
Forum: General
Topic: failed to create command httpapi upon installation of version 1.47
Replies: 1
Views: 2815

Re: failed to create command httpapi upon installation of version 1.47

This issue was addressed here: https://www.scottklement.com/forums/viewtopic.php?t=370

Scott noted at the time that the latest version fixed the problem. I believe 1.49 is the latest.

P.S. This would have been better asked in the HTTPAPI forum.
by jonboy49
Thu Sep 14, 2023 12:54 pm
Forum: HTTPAPI
Topic: return code -1
Replies: 12
Views: 11923

Re: return code -1

That's a pretty old version - I believe the current version is 1.49. So first advice is to update HTTPAPI.

P.S. Might I also suggest using a regular zip file. My Mac thinks rar files are videos and I haven't the time to search for a way to unzip your source.
by jonboy49
Sat Sep 09, 2023 6:13 pm
Forum: YAJL-ILE
Topic: Displaying JSON String in a Subfile using YAJL
Replies: 4
Views: 3266

Re: Displaying JSON String in a Subfile using YAJL

If you have a nested data structure as the source of your JSON why not just use DATA-GEN with YAJLGEN rather than the YAQJL routines directly?
by jonboy49
Wed Sep 06, 2023 11:52 pm
Forum: General
Topic: Help retrieving file data definitions OS v5r4,cif possible
Replies: 3
Views: 3330

Re: Help retrieving file data definitions OS v5r4,cif possible

Well, it looks like Infor themselves had conversion software at one time - and therefore still knew the layouts. Whether they still have the tools and/or would supply the layouts you'll have to anthem. Here's the link I found https://support.infor.com/esknowbase/root/DLPublic/12452/Cross_Application...
by jonboy49
Wed Sep 06, 2023 11:47 pm
Forum: General
Topic: Help retrieving file data definitions OS v5r4,cif possible
Replies: 3
Views: 3330

Re: Help retrieving file data definitions OS v5r4,cif possible

Ah the bad old days! If you are very, very lucky you might find someone who has already done this mapping. Try looking for an internet group that supports MAPICS. You may have to post to multiple locations such as Midrange-L at midrange.com as well as places like Linked In and Facebook - both of whi...
by jonboy49
Thu Aug 24, 2023 4:31 pm
Forum: HTTPAPI
Topic: Error code 415 posting JSON messages
Replies: 6
Views: 7498

Re: Error code 415 posting JSON messages

Are you certain that no code changes have been made to your app? The debug log not only identifes the error as 415 (wrong media type) but the actual response from Saleforce very clearly identifies application/json as an unsupported type. I can't see how the PTFs could have had any impact on that. Ha...