post http visual foxpro
Posted on 2011-09-11
My web services interface between a SOAP server and my Visual Foxpro application is operated through a PHP script;
Data to be sent in a web service is writen in a Foxpro free table. Then I invoke the php script and the php reads data and formats the XML and sends it to the endpoint. The php script reads the XML answer and places the answer in a Foxpro Table. During this moment I wait for an answer from the PHP script. The PHP answer is wirten in an answer table which I monitor through requerig.
This workflow works but the behaviour in terms of response time is quite erroneous. sometimes I have time out situations (waiting for 20 seconds) by the PHP to send back the answer.
Is there any possibility to invoke directly some http, post or get) and enable a direct connection with the SOAP server.