[Stackoverflow] [Progress OpenEdge ABL] Connection through Progress

  • Thread starter Thread starter Reginaldo Leandro
  • Start date Start date
Status
Not open for further replies.
R

Reginaldo Leandro

Guest
I'm trying to connect to a host using the CONNECT command in Progress, but it's returning a connection failure, but when trying to do it through Postman, the sending is done correctly. Could someone tell me what is missing to connect through Progress?

Below is the code I ran to make the CONNECT:

DEFINE VARIABLE hSocket123 AS HANDLE NO-UNDO.

DEFINE VARIABLE cConnectionURL AS CHARACTER NO-UNDO.

cConnectionURL = "-H ":U + "7d8p6n4c7b.execute-api.us-east-1.amazonaws.com" + " -S ":U + STRING(80).

CREATE SOCKET hSocket123.

hSocket123:CONNECT(cConnectionURL) NO-ERROR.

MESSAGE hSocket123:CONNECT(cConnectionURL) VIEW-AS ALERT-BOX INFORMATION BUTTONS OK.

Attached is the informacao.xml file, which I successfully sent via Postman.

Send an xml file through Progress[[

Code:
enter image description here]

( )]( )

Continue reading...
 
Status
Not open for further replies.
Back
Top