Thank you.
I'll add your recommendation in the program.
Darryl.
Search found 12 matches
- Fri Nov 04, 2022 10:24 pm
- Forum: HTTPAPI
- Topic: HTTPAPI Timeout question
- Replies: 3
- Views: 6053
- Wed Nov 02, 2022 2:42 pm
- Forum: HTTPAPI
- Topic: HTTPAPI Timeout question
- Replies: 3
- Views: 6053
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...
- Wed Oct 19, 2022 10:15 pm
- Forum: HTTPAPI
- Topic: HTTPAPI Performance questions
- Replies: 15
- Views: 13793
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...
- Tue Oct 18, 2022 6:22 pm
- Forum: HTTPAPI
- Topic: HTTPAPI Performance questions
- Replies: 15
- Views: 13793
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.
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.
- Mon Oct 17, 2022 4:05 pm
- Forum: HTTPAPI
- Topic: HTTPAPI Performance questions
- Replies: 15
- Views: 13793
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"...
- Mon Oct 17, 2022 3:16 pm
- Forum: HTTPAPI
- Topic: HTTPAPI Performance questions
- Replies: 15
- Views: 13793
Re: HTTPAPI Performance questions
Here is the debug. It seems straight forward and we are waiting on the response from the called API.
- Thu Oct 13, 2022 7:52 pm
- Forum: HTTPAPI
- Topic: HTTPAPI Performance questions
- Replies: 15
- Views: 13793
Re: HTTPAPI Performance questions
@jonboy49 - I am not sure I understand what you are requesting. Can you give an example? Thanks
- Thu Oct 13, 2022 2:41 pm
- Forum: HTTPAPI
- Topic: HTTPAPI Performance questions
- Replies: 15
- Views: 13793
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...
- Thu Oct 13, 2022 2:35 pm
- Forum: HTTPAPI
- Topic: HTTPAPI Performance questions
- Replies: 15
- Views: 13793
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...
- Wed Oct 12, 2022 10:28 pm
- Forum: HTTPAPI
- Topic: HTTPAPI Performance questions
- Replies: 15
- Views: 13793
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_...