Rate upload using HTTP
200 days works, 230 days does not.
Seems like a memory or size issue. Where is a size parameter in HTTP
- xmlHttp.send(ls_OTA_HotelRateAmountNotifRQ)
String ls_test2
ls_test2 = xmlhttp.responseText()
String ls_status_text
Long ll_status_code
ls_status_text = xmlhttp.StatusText
ll_status_code = xmlhttp.Status
//Messagebox("ls_status_text", ls_status_text)
//Messagebox("ll_status_code", ll_status_code)
//Messagebox("ls_test2", ls_test2)
IF ll_status_code = 200 AND ls_status_text = "OK" THEN
IF Pos(ls_test2, "<Success />", 1) > 0 THEN
Messagebox("InnLinK Rate Load", "Full year of rates loaded successfully")
ELSE
Messagebox("NOT SUCCESSFUL", String(ll_status_code) + ": " + ls_status_text)
END IF
END IF
I get the message NOT SUCCESSFUL 200: OK because the "<Success />" is not found and the reciving party has no record of what I am trying to send them.