[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Web Service Request - Response Delay



Let's narrow it down a bit. Are you experiencing the delay in transmission, receipt, or parsing. I don't know or use WSDL2RPG but you can insert a couple of TIME statements to see the time of things in your debug log. Edit member HTTPAPIR4 and change the following lines (from current beta):

About 354 (find entered)
c                   callp     http_dmsg( 'do_oper(' + peOper + '): '  
c                                      + 'entered at ' + %char(%time()))

About 904 (find comm_blockread)
c                   callp     http_dmsg('calling comm_blockread at ' +
c                                %char(%time()))                   

Recompile the service program by calling the INSTALL routine again or by following the instructions in the program source.

If WSDL2RPG has some similar debug points, do the same there so you can see progression as it prepares/parses the XML.

So then you can look at your debug file and see how long each part takes. Narrows down where to look for issues. 


-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Dhanushka Manjula
Sent: Wednesday, September 21, 2011 6:34 AM
To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
Subject: Web Service Request - Response Delay

Hello,

I'm using WSDL2RPG 1.3 + scott's LIBHTTP to send the attached request
message to the server in remote location via 2MB E1 line.
it takes around 3 minutes to receive the attached response message.
Then, I used the SOAP-UI from my windows machine & execute the same request
& it takes around 10 seconds to complete the process.
what will be the reason for this delay?

Thank you
Dhanushka
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------