Search found 674 matches

by Scott Klement
Wed Aug 11, 2021 1:05 am
Forum: HSSFR4
Topic: Apache POI 3.6 - Help with RowShift
Replies: 10
Views: 38085

Re: Apache POI 3.6 - Help with RowShift

Unfortunately, I have not used RowShift. (That's why there wasn't prototypes for it in the HSSF download.) Doing a quick Google, I can see that there is both the RowShift routine that you pointed to, as well as a whole class called "RowShifter", the docs seem to say that the RowShifter cla...
by Scott Klement
Tue Aug 10, 2021 7:46 pm
Forum: YAJL-ILE
Topic: YAJL_BUF_LOAD_TREE Handling Null Values
Replies: 3
Views: 10633

Re: YAJL_BUF_LOAD_TREE Handling Null Values

This is an invalid JSON document. If unsure, you can use the website https://jsonlint.com/ to check your document and see if it's valid.

It's not valid to have a json element with no value like this: "trdate9": ,

You would need to change that to: "trdate9": null,
by Scott Klement
Tue Aug 10, 2021 5:06 pm
Forum: HSSFR4
Topic: Apache POI 3.6 - Help with RowShift
Replies: 10
Views: 38085

Re: Apache POI 3.6 - Help with RowShift

They say talking to yourself is a sign of high intelligence :)
by Scott Klement
Tue Aug 10, 2021 1:24 am
Forum: HTTPAPI
Topic: Problem Getting Connected (I think)
Replies: 13
Views: 27507

Re: Problem Getting Connected (I think)

Is the entire document there if you look at the IFS file that you're putting it (before sending it)?
by Scott Klement
Mon Aug 09, 2021 9:56 pm
Forum: HTTPAPI
Topic: Problem Getting Connected (I think)
Replies: 13
Views: 27507

Re: Problem Getting Connected (I think)

http_stmf() has a limit of, I believe, 2 gb. For sure its nothing close to as small as 177,000 -- that's a very small document, actually.
by Scott Klement
Mon Aug 09, 2021 9:51 pm
Forum: HTTPAPI
Topic: Problem Getting Connected (I think)
Replies: 13
Views: 27507

Re: Problem Getting Connected (I think)

I've not heard of a certificate causing an error like this... It could be a cipher error -- like, a bug in the cryptography is causing things to go awry, so it disconnects. ...but I can't see how it'd be a certificate? The certificate exchange happened at the start, and it was accepted... At any rat...
by Scott Klement
Sun Aug 08, 2021 1:06 am
Forum: HTTPAPI
Topic: Problem Getting Connected (I think)
Replies: 13
Views: 27507

Re: Problem Getting Connected (I think)

The "broken pipe" error means that you were disconnected while it was sending or receiving data.
by Scott Klement
Fri Aug 06, 2021 11:54 pm
Forum: HTTPAPI
Topic: Problem Getting Connected (I think)
Replies: 13
Views: 27507

Re: Problem Getting Connected (I think)

Based on the code you posted, here's an example of using http_stmf(). As you can see, its actually a little simpler than http_post, and I really think it'll work a lot better for you. http_xproc(HTTP_POINT_ADDL_HEADER: %paddr(add_headers)); monitor; http_stmf( 'POST' : claimurl : resultpath : jsonpa...
by Scott Klement
Fri Aug 06, 2021 11:48 pm
Forum: HTTPAPI
Topic: Problem Getting Connected (I think)
Replies: 13
Views: 27507

Re: Problem Getting Connected (I think)

Instead of sending JSON data to the server, you're sending a path name. You need to send them the data that's in the file rather than just the name of the file! http_post won't do this for you (and I wouldn't recommend using http_post in 2021, anyway... http_post is an old, outdated, way to do thing...
by Scott Klement
Fri Aug 06, 2021 11:42 pm
Forum: General
Topic: Github or Gitlab for FTPAPI, HTTPAPI and others
Replies: 1
Views: 9276

Re: Github or Gitlab for FTPAPI, HTTPAPI and others

I plan to eventually put it on GitHub. Before doing so, I'd like to change the way its built so that the code is stored in the IFS and you build it with a Makefile... I just haven't had time to do so, I've been very busy... but that's the direction I plan to go.