To get to this point I needed outside assistance as this is not my ball of wax but here we go as the learning curve is approaching infinity again.
I have an app that grabs a csv or txt file that contains many rows. Each row is a pertinent request I need to send. I prepare a POST and then send it. How I currently accomplish this now is blast this out one row after the other. There was no problem with small requests like less than 7. When I send a larger quest I get '502 service not available’.
I have looked on the receiving side where the info is being sent and no errors are in the log. This appears to be something in XOJO https sockets or I have not found the error on the server but I am certain I have checked the correct locations.
Here is a single request sent out and represents a single row. Some info is not displayed. This works if I send less than 8 at a time
https://x.x.x.x:xxxx/axl/inf<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
xmlns:ns="http://www............">
<soapenv:Header />
<soapenv:Body>
<ns:getUser sequence="?">
<userid>username</userid>
</ns:getUser>
</soapenv:Body>
</soapenv:Envelope>
When more than 7 rows exist HTTP/1.1 503 Service Unavailable is returned but only for the first few requests that have been queued. The errors will eventually clean up and later requests will be processed.
For non error requests I do notice [quote]Set-Cookie: JSESSIONID=A BIG NUMBER; Path=/axl/;…[/quote] in return response when all is good as well as [quote]<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas…[/quote]
So how does one go about throttling these kinds of requests appropriately? Thanks