CN102404371A - Simple object access protocol adapter and method thereof for writing file into third party system - Google Patents

Simple object access protocol adapter and method thereof for writing file into third party system Download PDF

Info

Publication number
CN102404371A
CN102404371A CN201010285126XA CN201010285126A CN102404371A CN 102404371 A CN102404371 A CN 102404371A CN 201010285126X A CN201010285126X A CN 201010285126XA CN 201010285126 A CN201010285126 A CN 201010285126A CN 102404371 A CN102404371 A CN 102404371A
Authority
CN
China
Prior art keywords
file
party system
party
xml
document
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201010285126XA
Other languages
Chinese (zh)
Inventor
王台弘
黄玉玺
刘柏廷
甘淑慧
简吉廷
梁文广
姚进
罗伟
何宝儒
林晟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jetta Software (shenzhen) Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Jetta Software (shenzhen) Co Ltd
Hon Hai Precision Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jetta Software (shenzhen) Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Jetta Software (shenzhen) Co Ltd
Priority to CN201010285126XA priority Critical patent/CN102404371A/en
Publication of CN102404371A publication Critical patent/CN102404371A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a simple object access protocol adapter which comprises a loading module, a reading module, a conversion module and an execution module, wherein the loading module is used for loading a payload file from a systems, applications and products in data processing (SAP) system, the payload file comprises a file name of a file, a file transfer protocol (FTP) address, a FTP port number, a file storage path and a connecting parameter, the file is required to be transmitted to a third party system, the FTP address is used for storing the file, the connecting parameter is required for connection of the third party system; the reading module is used for reading the file from a FTP server of the SAP system according to the file name, the FTP address, the FTP port number and the file storage path; the conversion module is used for analyzing the read file and transforming the file into a file in an X extensible markup language (XML) format; and the execution module is used for being connected with the third party system by using the connecting parameter and writing the file in the XML format into a third party server of the third party system. The invention also provides a method of the simple object access protocol adapter for writing the file into the third party system.

Description

Simple Object Access Protocol adapter and written document thereof are to the method for third party system
Technical field
The present invention relates to the method for a kind of Simple Object Access Protocol adapter and written document thereof to third party system.
Background technology
At present, enterprises all has application system separately, for example, and goods entry, stock and sales system, purchasing system, accounting system, bonded system, logistics system, marketing system, factory's finished product management system, former material management system etc.Each application system has different data formats and adopts different data storage methods, for example according to FTP (File Transfer Protocol, FTP) storage data.When SAP (Systems Applications and Products in DataProcessing) system is introduced each application system; The quite difficulty because the difference of data format and data storage method, the data interaction between SAP system and each application system become.
The flow process of SAP system integrates that (Process Integration, PI) server provides some adapters to integrate these data, like Simple Object Access Protocol (Simple ObjectAccess Protocol:SOAP) adapter etc.But these type of adapters are limited, and function singleness.Nowadays, the IT system of enterprise the inside is various, need dissimilar files such as the SLS in the SAP system, MDB, DBF, TXT, CSV be written in the application system of enterprise sometimes, and the SOAP adapter in the traditional PI server can not satisfy the demand.
Summary of the invention
In view of above content, be necessary to provide a kind of Simple Object Access Protocol adapter, it can realize the file in the SAP system is write in the third party system.
Also be necessary to provide the method for a kind of Simple Object Access Protocol adapter written document to third party system, it can realize the file in the SAP system is write in the third party system.
Said Simple Object Access Protocol adapter runs in the flow process integrated service device, and this flow process integrated service device is connected with SAP system and third party's system communication respectively.This Simple Object Access Protocol adapter comprises: insmod; Be used for being written into a payload payload file from the SAP system; The form of this payload file is the XML form, and it comprises that the user is transferred to file name, the FTP address of storage this document, FTP port numbers, the required connection parameter in file storage path and connection third party system of the file of third party system from the need of the user interface input of SAP system; Read module, be used for according to said need be transferred to the file name of the file of third party system, this document is read from the ftp server of SAP system in FTP address, FTP port numbers and the file storage path of storage this document; Modular converter is used for the above-mentioned file that reads is resolved, and converts this document the file of XML form into; Executive Module is used to use said connection parameter to be connected to the third party system, and the file of the above-mentioned XML form that is converted to is written in the third-party server of this third party system.
The method of said Simple Object Access Protocol adapter written document to third party system is applied in the flow process integrated service device, and this flow process integrated service device is connected with SAP system and third party's system communication respectively.The method comprising the steps of: from the SAP system, be written into a payload payload file; The form of this payload file is the XML form, it comprise the user be transferred to from the need of the user interface input of said SAP system the file of third party system file name, storage this document FTP address, FTP port numbers, file storage path and connect the required connection parameter of third party system; According to said need be transferred to the file of third party system file name, the storage this document FTP address, FTP port numbers and file storage path from the ftp server of SAP system, read this document; The above-mentioned file that reads is resolved, and convert this document the file of XML form into; Use said connection parameter to be connected to the third party system, and the file of the above-mentioned XML form that is converted to is written in the third-party server of this third party system.
Compared to prior art; The method of said Simple Object Access Protocol adapter and written document thereof to third party system; It can be the file of XML form with reading the file conversion that need write the third party system in the SAP system; And the file of this XML form write in the third party system, realized the file in the SAP system is write the user's request of third party system.
Description of drawings
Fig. 1 is the running environment sketch map of Simple Object Access Protocol adapter in the preferred embodiment of the present invention.
Fig. 2 is the flow chart of Simple Object Access Protocol adapter written document of the present invention to the method preferred embodiment of third party system.
The main element symbol description
The SAP system 1
Ftp server 10
The PI server 2
The SOAP adapter 20
Insmod 201
Read module 202
Modular converter 203
Executive Module 204
The third party system 3
Third-party server 30
Embodiment
As shown in Figure 1, be the running environment sketch map of Simple Object Access Protocol adapter in the preferred embodiment of the present invention.In the present embodiment, this Simple Object Access Protocol (Simple ObjectAccess Protocol:SOAP) adapter 20 (hereinafter to be referred as " SOAP adapter 20 ") runs on flow process and integrates that (process integration is PI) in the server 2.Described PI server 2 is the middlewares between SAP (systems applications and products in data processing) system 1 and the third party system 3, and it is connected with SAP system 1 and 3 communications of third party system respectively.Can be through PI server 2 with the transfer of data such as file in the SAP system 1 (industry often becomes this process " throw and change ") to third party system 3; PI server 2 can be integrated with the product (software) in the SAP system 1, also can interconnect with the product (software) in the third party system 3.Said third party system 3 comprises the multiple application system of various enterprises, for example, and goods entry, stock and sales system, purchasing system, accounting system, bonded system, logistics system, marketing system, factory's finished product management system, former material management system etc.
Described SAP system 1 also comprises a FTP (File TransferProtocol:FTP) server 10, is used for storing the various data of SAP system 1.Said third party system 3 comprises a third-party server 30, is used for storing the various data that this third party system 3 is produced, and from SAP system 1, throws data that turn over etc.In the present embodiment, this third-party server 30 can be ftp server or database server.
Said SOAP adapter 20 comprise insmod 201, read module 202, modular converter 203 and Executive Module 204.
Saidly insmod 201; Be used for being written into a payload (payload) file from said SAP system 1; The form of this payload file is the XML form, it comprise the user be transferred to from the need of the user interface input of said SAP system 1 file of said third party system 3 file name, storage this document FTP address, FTP port numbers, file storage path and connect the required information such as connection parameter of said third party system 3.Wherein, said connection parameter comprises parameters such as the user name that is connected to said third party system 3 and password.
Said read module 202, be used for according to the need that above-mentioned payload file comprises be transferred to the file name of the file of said third party system 3, this document is read in FTP address, FTP port numbers and the file storage path of storage this document from said ftp server 10.Wherein, the file that is read can be, but be not limited to MDB file, DBF file, XLS file, TXT file and csv file etc.
Described modular converter 203 is used for the above-mentioned file that reads is resolved, and converts this document the file of XML form into.Particularly, this modular converter 203 can be resolved and format conversion this file that reads through the file conversion function in the function library (not shown) of calling said PI server 2.Wherein, said file conversion function comprises that MDB changes the XML function, DBF changes XML function, XLS commentaries on classics XML function, TXT commentaries on classics XML function and CSV commentaries on classics XML function etc.
Said Executive Module 204, the connection parameter that is used for using said payload file to comprise are connected to said third party system 3, and the file of the above-mentioned XML form that is converted to is written in the said third-party server 30.
In addition; When the file of said XML form successfully writes in the said third-party server 30; Said Executive Module 204 also returns daily record that a file writes success and gives said SAP system 1; And the content in the file of this log content and this XML form appended in the said payload file, form a new payload file, use when data are integrated to offer said PI server 2 follow-up carrying out.
As shown in Figure 2, the flow chart of Simple Object Access Protocol adapter written document of the present invention to the method preferred embodiment of third party system.
Step S01; Said insmoding 201 is written into a payload file from said SAP system 1; The form of this payload file is the XML form, it comprise the user be transferred to from the need of the user interface input of said SAP system 1 file of said third party system 3 file name, storage this document FTP address, FTP port numbers, file storage path and connect the required information such as connection parameter of said third party system 3.Wherein, said connection parameter comprises parameters such as the user name that is connected to said third party system 3 and password.
Step S02, said read module 202 according to the need that comprise in the above-mentioned payload file be transferred to the file name of the file of said third party system 3, this document is read in FTP address, FTP port numbers and the file storage path of storage this document from said ftp server 10.Wherein, the file that is read can be, but be not limited to MDB file, DBF file, XLS file, TXT file and csv file etc.
Step S03,203 pairs of above-mentioned files that read of described modular converter are resolved, and convert this document the file of XML form into.Particularly, this modular converter 203 can be resolved and format conversion this file that reads through the file conversion function in the function library of calling said PI server 2.Wherein, said file conversion function comprises that MDB changes the XML function, DBF changes XML function, XLS commentaries on classics XML function, TXT commentaries on classics XML function and CSV commentaries on classics XML function etc.
Step S04, said Executive Module 204 use the connection parameter that comprises in the said payload file to be connected to said third party system 3, and the file of the above-mentioned XML form that is converted to is written in the said third-party server 30.
In addition; When the file of said XML form successfully writes in the said third-party server 30; In step S05, said Executive Module 204 returns daily record that a file writes success and gives said SAP system 1, and the content in the file of this log content and this XML form is appended in the said payload file; Form a new payload file, use when data are integrated to offer said PI server 2 follow-up carrying out.
Above embodiment is only unrestricted in order to technical scheme of the present invention to be described; Although the present invention is specified with reference to preferred embodiment; Those of ordinary skill in the art is to be understood that; Can make amendment or be equal to replacement technical scheme of the present invention, and not break away from the spirit and the scope of technical scheme of the present invention.

Claims (10)

1. a Simple Object Access Protocol adapter runs in the flow process integrated service device, and this flow process integrated service device is connected with SAP system and third party's system communication respectively, it is characterized in that, this Simple Object Access Protocol adapter comprises:
Insmod; Be used for being written into a payload payload file from the SAP system; The form of this payload file is the XML form, and it comprises that the user is transferred to file name, the FTP address of storage this document, FTP port numbers, the required connection parameter in file storage path and connection third party system of the file of third party system from the need of the user interface input of SAP system;
Read module, be used for according to said need be transferred to the file name of the file of third party system, this document is read from the ftp server of SAP system in FTP address, FTP port numbers and the file storage path of storage this document;
Modular converter is used for the above-mentioned file that reads is resolved, and converts this document the file of XML form into; And
Executive Module is used to use said connection parameter to be connected to the third party system, and the file of the above-mentioned XML form that is converted to is written in the third-party server of this third party system.
2. Simple Object Access Protocol adapter as claimed in claim 1; It is characterized in that; Said Executive Module also is used for when the file of said XML form successfully writes said third-party server; Return daily record that a file writes success and give said SAP system, and the content in the file of this log content and this XML form is appended in the said payload file, form a new payload file.
3. Simple Object Access Protocol adapter as claimed in claim 1 is characterized in that, said connection parameter comprises user name and the password that is connected to said third party system.
4. Simple Object Access Protocol adapter as claimed in claim 1 is characterized in that, the said file that reads is MDB file, DBF file, XLS file, TXT file or csv file.
5. Simple Object Access Protocol adapter as claimed in claim 4; It is characterized in that; Said modular converter is resolved and format conversion the file that reads through the file conversion function in the function library of calling said flow process integrated service device, and this document transfer function comprises that MDB changes the XML function, DBF changes XML function, XLS commentaries on classics XML function, TXT commentaries on classics XML function and CSV commentaries on classics XML function.
6. the method for Simple Object Access Protocol adapter written document to a third party system is applied in the flow process integrated service device, and this flow process integrated service device is connected with SAP system and third party's system communication respectively, it is characterized in that the method comprising the steps of:
From the SAP system, be written into a payload payload file; The form of this payload file is the XML form, it comprise the user be transferred to from the need of the user interface input of said SAP system the file of third party system file name, storage this document FTP address, FTP port numbers, file storage path and connect the required connection parameter of third party system;
According to said need be transferred to the file of third party system file name, the storage this document FTP address, FTP port numbers and file storage path from the ftp server of SAP system, read this document;
The above-mentioned file that reads is resolved, and convert this document the file of XML form into; And
Use said connection parameter to be connected to the third party system, and the file of the above-mentioned XML form that is converted to is written in the third-party server of this third party system.
7. the method for Simple Object Access Protocol adapter written document as claimed in claim 6 to third party system is characterized in that this method also comprises step:
When the file of said XML form successfully writes in the said third-party server; Return daily record that a file writes success and give said SAP system; And the content in the file of this log content and this XML form appended in the said payload file, form a new payload file.
8. the method for Simple Object Access Protocol adapter written document as claimed in claim 6 to third party system is characterized in that, said connection parameter comprises user name and the password that is connected to said third party system.
9. the method for Simple Object Access Protocol adapter written document as claimed in claim 6 to third party system is characterized in that, the said file that reads is MDB file, DBF file, XLS file, TXT file or csv file.
10. the method for Simple Object Access Protocol adapter written document as claimed in claim 9 to third party system; It is characterized in that; This method is resolved and format conversion the said file that reads through the file conversion function in the function library of calling said flow process integrated service device, and this document transfer function comprises that MDB changes the XML function, DBF changes XML function, XLS commentaries on classics XML function, TXT commentaries on classics XML function and CSV commentaries on classics XML function.
CN201010285126XA 2010-09-17 2010-09-17 Simple object access protocol adapter and method thereof for writing file into third party system Pending CN102404371A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010285126XA CN102404371A (en) 2010-09-17 2010-09-17 Simple object access protocol adapter and method thereof for writing file into third party system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010285126XA CN102404371A (en) 2010-09-17 2010-09-17 Simple object access protocol adapter and method thereof for writing file into third party system

Publications (1)

Publication Number Publication Date
CN102404371A true CN102404371A (en) 2012-04-04

Family

ID=45886156

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010285126XA Pending CN102404371A (en) 2010-09-17 2010-09-17 Simple object access protocol adapter and method thereof for writing file into third party system

Country Status (1)

Country Link
CN (1) CN102404371A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104239558A (en) * 2014-09-27 2014-12-24 武钢集团昆明钢铁股份有限公司 External Excel data uploading system and method based on SAP system
CN111338685A (en) * 2018-12-19 2020-06-26 卓望数码技术(深圳)有限公司 Common component configuration method, device, equipment and storage medium
CN113709769A (en) * 2021-07-31 2021-11-26 新华三技术有限公司成都分公司 AP configuration method and AP

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7519739B2 (en) * 2003-08-26 2009-04-14 International Business Machines Corporation Synchronizing a client user interface with a server backend
CN101523849A (en) * 2007-06-29 2009-09-02 捷讯研究有限公司 System and method for communication protocol mapping
CN101562606A (en) * 2008-04-17 2009-10-21 鸿富锦精密工业(深圳)有限公司 Open type data calling system and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7519739B2 (en) * 2003-08-26 2009-04-14 International Business Machines Corporation Synchronizing a client user interface with a server backend
CN101523849A (en) * 2007-06-29 2009-09-02 捷讯研究有限公司 System and method for communication protocol mapping
CN101562606A (en) * 2008-04-17 2009-10-21 鸿富锦精密工业(深圳)有限公司 Open type data calling system and method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104239558A (en) * 2014-09-27 2014-12-24 武钢集团昆明钢铁股份有限公司 External Excel data uploading system and method based on SAP system
CN111338685A (en) * 2018-12-19 2020-06-26 卓望数码技术(深圳)有限公司 Common component configuration method, device, equipment and storage medium
CN111338685B (en) * 2018-12-19 2023-11-21 卓望数码技术(深圳)有限公司 Common component configuration method, device, equipment and storage medium
CN113709769A (en) * 2021-07-31 2021-11-26 新华三技术有限公司成都分公司 AP configuration method and AP

Similar Documents

Publication Publication Date Title
US8145653B2 (en) Using schemas to generate application specific business objects for use in an integration broker
US20060242640A1 (en) System and method for business software integration
US20020129023A1 (en) Method, system, and program for accessing stored procedures in a message broker
CN102681854A (en) Service execution method, server and computer system
CN101216760A (en) Dynamic mapping interface calling system and method
CN105786913A (en) Cloud manufacturing platform oriented ERP integrated database service interface encapsulation system and method
CN105787065A (en) Method for realizing integrated exchange platform
ApS Mosek optimization suite
US20150326664A1 (en) System and method for managing data transactions between applications
EP2779583A1 (en) Telecommunication method and system
CN102402541B (en) File analysis system and method
CN102404371A (en) Simple object access protocol adapter and method thereof for writing file into third party system
Bordbar et al. On behavioural model transformation in web services
CN102377738A (en) Process integration server and method for realizing system integration by utilizing process integration server
CN102132267B (en) Dynamic metadata
US20040122831A1 (en) Component-based automatic document generation system and method
CN111190750A (en) Data processing method and system
CN113487265A (en) Method, device and equipment for subscribing, inquiring and pushing logistics information
CN102404356A (en) Long-distance function call transmission adapter and data reading method thereof
CN1707430B (en) Method and system for packaging data
US8776098B2 (en) Exchanging data using data transformation
JP2022529707A (en) How to generate a return task, equipment, equipment and storage media
CN102375825A (en) Process integration server and method for realizing system integration by utilizing same
CN105701187B (en) Process integrated service device and the method for realizing system combination using it
KR102052363B1 (en) Multi-data-based real-time billing data automatic partitioning and scale-out systems

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120404