Search found 12 matches

by assignment400
Fri Nov 04, 2022 10:24 pm
Forum: HTTPAPI
Topic: HTTPAPI Timeout question
Replies: 3
Views: 261

Re: HTTPAPI Timeout question

Thank you.
I'll add your recommendation in the program.
Darryl.
by assignment400
Wed Nov 02, 2022 2:42 pm
Forum: HTTPAPI
Topic: HTTPAPI Timeout question
Replies: 3
Views: 261

HTTPAPI Timeout question

What happens in a HTTPAPI call when the target system is unavailable? How long is the timeout wait? Can the timeout period be reduced? I am using HTTPAPI in an interactive situation. If there is a remote failure, we cannot have the system locking the system until the timeout expires. I would like to...
by assignment400
Wed Oct 19, 2022 10:15 pm
Forum: HTTPAPI
Topic: HTTPAPI Performance questions
Replies: 15
Views: 904

Re: HTTPAPI Performance questions

I finally have an answer to the problem. HTTPAPI is working correctly. The problem we found is that the web service started to reply to the request and then stalled for about 3 to 5 seconds before it started to send the response. The web service has an intermittent problem. Thanks for the software a...
by assignment400
Tue Oct 18, 2022 6:22 pm
Forum: HTTPAPI
Topic: HTTPAPI Performance questions
Replies: 15
Views: 904

Re: HTTPAPI Performance questions

I am a little confused.

I see the receive and then it seems HTTPAPI is taking 4 seconds to process the response, or what is happening between the first receive and the 4 seconds?

Thank you.
by assignment400
Mon Oct 17, 2022 4:05 pm
Forum: HTTPAPI
Topic: HTTPAPI Performance questions
Replies: 15
Views: 904

Re: HTTPAPI Performance questions

I looked at the debug again and see that teh response does come back to us within the second. 2022-10-17-10.57.49.000000: senddoc() : data left=81, chunk size=81, timeout=60, calling comm_blockWrite... {"CustomerAccountNumber": "1000171", "AuthKey" : "TESTENV"...
by assignment400
Mon Oct 17, 2022 3:16 pm
Forum: HTTPAPI
Topic: HTTPAPI Performance questions
Replies: 15
Views: 904

Re: HTTPAPI Performance questions

Here is the debug. It seems straight forward and we are waiting on the response from the called API.
by assignment400
Thu Oct 13, 2022 7:52 pm
Forum: HTTPAPI
Topic: HTTPAPI Performance questions
Replies: 15
Views: 904

Re: HTTPAPI Performance questions

@jonboy49 - I am not sure I understand what you are requesting. Can you give an example? Thanks
by assignment400
Thu Oct 13, 2022 2:41 pm
Forum: HTTPAPI
Topic: HTTPAPI Performance questions
Replies: 15
Views: 904

Re: HTTPAPI Performance questions

I have attached a copy of the logging I do in the program. I log a record when the program is called, when it calls the SAP program (web service), when SAP responds and when I return the data to the calling RPG program. I made a small change this morning to do a RETURN and not set on LR and that hel...
by assignment400
Thu Oct 13, 2022 2:35 pm
Forum: HTTPAPI
Topic: HTTPAPI Performance questions
Replies: 15
Views: 904

Re: HTTPAPI Performance questions

I have attached a copy of the logging I do in the program. I log a record when the program is called, when it calls the SAP program (web service), when SAP responds and when I return the data to the calling RPG program. I made a small change this morning to do a RETURN and not set on LR and that hel...
by assignment400
Wed Oct 12, 2022 10:28 pm
Forum: HTTPAPI
Topic: HTTPAPI Performance questions
Replies: 15
Views: 904

Re: HTTPAPI Performance questions

The version should be current. I downloaded it in the past month. <snippet> request = '{' + wQQ + 'CustomerAccountNumber' + wQQ + ': "' + %trim(dsRequest.CustomerAccountNumber) + '", "AuthKey" : ' + %trim(dsRequest.AuthKey) + ', "Parts": [' + wQQ + %trim(dsRequest.Part_...