PDA

Ver la Versión Completa : Problema entre interfase SAP R3 Y visual fox 6.0


alepe05
06/11/07, 18:12:47
Tengo una interfase la cual tiene la funcion de ir a leer datos de varias tablas hechas en Visual FoxPro (VFP) y luego escriben esta data en tablas de SAP a través de una BADI, además esta interfase hace el proceso opuesto (lee datos de tablas de SAP y escribe in Visual Fox Pro Tables

Mi problema es que la interfase es también lenta, porque existe un web service que lee un registro at a time cuando envía los datos a Visual Fox Pro.
Este web service fue hecho en VISUAL STUDIO.NET 2005 y is in charge of getting (obtener datos) in un string y graba esto en una table, esto puede ser hecho en Oracle, SQL Server or VFP.

Creo que la conección es lenta debido a que el web service abre y cierra la conexión con Visual Fox Pro para cada registro que necesita ser grabado, yo quiero enviar un dataset en un archivo XML y enviarlo por el web service en este caso solo abriria y cerraria una vez la conección y enviaría todos los registros, Es esto posible?



I have an interface which function is to read data of some tables made in Visual FoxPro (VFP) and then writes this data in certain tables of SAP through a BADI; also this interface makes the opposite process (reads data of SAP tables and writes in VFP tables).
My problem is that the interface is too slow, because it exist a web service that reads one record at a time when send data to VFP. This web service was made in Visual Studio .NET 2005 and is in charge of getting data in one string and save it in one table, that could be done in Oracle, SQL Server or VFP.
I think that this is slow because the web service opens and closes the connection with VFP for each record that needs to be save, so I want to send a XML file and get it in a dataset in the web service; therefore in that way I will only make one opening and closing of connection to send all the records. Is possible this?