CN114035869A - XML-based configurable interface calling method and system in service order - Google Patents

XML-based configurable interface calling method and system in service order Download PDF

Info

Publication number
CN114035869A
CN114035869A CN202111244263.3A CN202111244263A CN114035869A CN 114035869 A CN114035869 A CN 114035869A CN 202111244263 A CN202111244263 A CN 202111244263A CN 114035869 A CN114035869 A CN 114035869A
Authority
CN
China
Prior art keywords
interface
xml
calling
service
module
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
CN202111244263.3A
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.)
Inspur Communication Information System Co Ltd
Original Assignee
Inspur Communication Information System 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 Inspur Communication Information System Co Ltd filed Critical Inspur Communication Information System Co Ltd
Priority to CN202111244263.3A priority Critical patent/CN114035869A/en
Publication of CN114035869A publication Critical patent/CN114035869A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a configurable interface calling method and a configurable interface calling system based on XML in a service order, which belong to the technical field of software, and aim to solve the technical problems of poor flexibility and high customization cost in the prior art, and adopt the technical scheme that: the method comprises the following specific steps: configuring a web service interface URL and authority information in a service system; determining an interface xml template by ISD: determining an XML message of an interface according to the ISD document; configuring an XML template and configuring a data source; instantiating a template and calling an interface; analyzing an interface return value, and performing action adaptation according to Error Code configuration; and storing the interface interaction information and completing the calling of the interface. The system comprises a first configuration module, a determination module, a second configuration module, a calling module, an analysis module and a storage module.

Description

XML-based configurable interface calling method and system in service order
Technical Field
The invention relates to the technical field of software, in particular to a configurable interface calling method and a configurable interface calling system based on XML in a service order.
Background
The OM (order management) system with opened service is mainly responsible for service flow driving and three-party system interface calling, message structures and transmission values required by three-party systems of different services on different sites are different, the original implementation mode is to directly code assembly messages, each service on each site is customized with a different interface, code amount and repeated workload are very large, redundancy is very high, flexibility is poor, and maintenance cost is very high along with increase of service amount.
Disclosure of Invention
The technical task of the invention is to provide a configurable interface calling method and a configurable interface calling system based on XML in a service order, which are used for solving the problems of poor flexibility and high customization cost in the prior art.
The technical task of the invention is realized according to the following mode, a configurable interface calling method based on XML in a service order is provided, which comprises the following steps:
configuring a web service interface URL and authority information in a service system;
determining an interface xml template by ISD: determining an XML message of an interface according to the ISD document;
configuring an XML template and configuring a data source;
instantiating a template and calling an interface;
analyzing an interface return value, and performing action adaptation according to Error Code configuration;
and storing the interface interaction information and completing the calling of the interface.
Preferably, the XML message for determining the interface according to the ISD document is specifically as follows:
acquiring a message Header according to WSDL, wherein the message Header comprises information Header and Body;
and determining the detailed parameter node name and the message nesting hierarchical structure according to the ISD.
Preferably, the XML template is configured, and the configuration data source is specifically as follows:
analyzing the data source of each node in the message according to the service logic, wherein the data source comprises system internal constants, acquisition values in a service table and fixed values, for example: # access _ mode;
the configuration mode of the system internal constants is as follows: the # + variable name, the system provides a public method alternative;
obtaining in a service table: configuration @ { business table name. field name in business table }, for example: @ T _ FORM _ FTTH _ nexsbscriber.idnewvalue };
fixed value: a fixed value may be written directly, for example: yes;
preferably, the template is instantiated, and the calling interface is specifically as follows:
inquiring form data of all links related to the FTTH Broadband installation process example;
packaging all form data as Map < String, Object >; wherein, Key represents the FORM name, such as T _ FORM _ FTTH _ NEWSUBSCRIBER, and Value represents all data in the FORM, which is also in Map format;
instantiate common traffic parameters, such as: # access _ mode, access type, FTTH Broadband installed access _ mode is FTTH;
instantiating a message template, and replacing FORM format data in the template, for example, replacing @ { T _ FORM _ FTTH _ NEWSUBSCRIBER. IdNewValue } value with a corresponding value LL123123 in Map;
and after replacement, performing simple business operation on the data, and wrapping the $ [ ] ] to perform internal logic processing, such as SERVICE _ NUMBE, and performing condition judgment.
Preferably, the analyzing of the interface return value and the action adaptation according to the Error Code configuration are specifically as follows:
calling a webService interface in an HTTP or HTTPS mode:
if the response code of the interface is 200, the interface is successfully called;
otherwise, the connection fails, and retry or other processing is carried out according to the field requirement;
if the calling is successful, analyzing the return message, and judging whether the calling is successful or not according to the configuration return message identifier:
if the interface calling is successful, saving interface interaction information, entering and exiting into an interface interaction table, returning to the specified parameters, and completing interface calling;
otherwise, according to the returned error code, judging that the corresponding service processing is needed, wherein the corresponding action comprises Continue, Absnormal, Skip and Need Create TT.
An XML-based configurable interface invocation system in a service order, the system comprising,
the first configuration module is used for configuring a web service interface URL and authority information in a service system;
the determining module is used for determining the interface xml template through the ISD: determining an XML message of an interface according to the ISD document;
the configuration module II is used for configuring the XML template and configuring a data source;
the calling module is used for instantiating the template and calling the interface;
the analysis module is used for analyzing the interface return value and performing action adaptation according to Error Code configuration;
and the storage module is used for storing the interface interaction information and completing the calling of the interface.
Preferably, the system further comprises, in the first step,
the operation module is used for realizing basic operation by using a logical operation expression;
the translation module is used for realizing dictionary translation of the numerical value and adapting to various three-party systems to obtain different value requirements; the numerical dictionary translation method specifically comprises the following steps:
acquiring an actual value from a field database;
acquiring the translated value from the dictionary table according to the dictionary Code, wherein the configuration mode is as follows:
[ @ { T _ FORM _ FTTH _ NEWSUBSCRIBER. IdNewValue } | dictionary Code ];
through different three-party systems, the data configuration difference in different field dictionary tables is adaptation:
if the fields are the same, the method is realized by configuring different dictionary codes.
Preferably, the calling module includes,
the query submodule is used for querying form data of all links related to the FTTH Broadband installed process example;
the packaging submodule is used for packaging all the form data into Map < String, Object >; wherein, Key represents the FORM name, such as T _ FORM _ FTTH _ NEWSUBSCRIBER, and Value represents all data in the FORM, which is also in Map format;
the instantiation sub-module one is used for instantiating the common service parameters, for example: # access _ mode, access type, FTTH Broadband installed access _ mode is FTTH;
the instantiation sub-module II is used for instantiating a message template and replacing the FORM format data in the template, for example, the value of @ { T _ FORM _ FTTH _ NEWSUBSCRIBER. IdNewValue } is replaced by the corresponding value LL123123123 in Map;
the replacing submodule is used for performing simple business operation on the replaced data, and wrapping the $ [ ] ] part for internal logic processing, such as SERVICE _ NUMBE, and performing condition judgment;
the analysis module comprises a module for analyzing the data,
the calling submodule is used for calling a webService interface in an HTTP or HTTPS mode;
the first judgment submodule is used for analyzing the return message and judging whether the return message is successful or not according to the configuration return message identifier;
the storage submodule is used for storing interface interaction information, entering and exiting into the interface interaction table, returning to the specified parameters and completing interface calling;
and the second judgment sub-module is used for judging that corresponding business processing is required according to the returned error codes, and the corresponding actions comprise Continue, Absnormal, Skip and Need Create TT.
An electronic device, comprising: a memory and at least one processor;
wherein the memory has stored thereon a computer program;
the at least one processor executes the memory-stored computer program causing the at least one processor to execute an XML-based configurable interface call method as in the service order described above.
A computer-readable storage medium having stored thereon a computer program executable by a processor to implement an XML-based configurable interface invocation method in a service order as described above.
The XML-based configurable interface calling method and the system in the service order have the following advantages:
the invention can simply realize that a new webservice interface is added through configuration without customizing codes, thereby greatly reducing the project customization complexity and the delivery difficulty, responding to the new requirements put forward by customers timely and quickly, completing the online verification of the system, providing the trust and satisfaction of the customers to the system, and improving the benefit of enterprises; meanwhile, modular processing is adopted, so that the system portability is very high;
the invention can adapt to the same field parameter, and a plurality of interfaces receive different values and carry out different processing requirements; dictionary translation can be performed on some enumerated values, and flexibility is high.
Drawings
The invention is further described below with reference to the accompanying drawings.
FIG. 1 is a flow diagram of a configurable interface invocation method in a service order based on XML;
FIG. 2 is a block flow diagram of example 3;
FIG. 3 is a block diagram of a process for instantiating a template and invoking an interface;
FIG. 4 is a block diagram of a process for analyzing interface return values and performing action adaptation according to Error Code configuration;
FIG. 5 is an interface diagram of the URL, authentication information, and interface type of the interface corresponding to the link configured in the page;
fig. 6 shows that the corresponding service processing is determined to be performed according to the returned error code, and the corresponding action is: interface schematic of Continue, Absormal, Skip, Need Create TT, etc.
Detailed Description
The method and system for invoking an interface configurable based on XML in a service order according to the present invention are described in detail below with reference to the accompanying drawings and embodiments.
Example 1:
as shown in fig. 1, the XML-based configurable interface calling method in the service order of the present invention specifically includes the following steps:
s1, configuring a web service interface URL and authority information in a service system;
s2, determining an interface xml template through ISD: determining an XML message of an interface according to the ISD document;
s3, configuring an XML template and configuring a data source;
s4, instantiating a template and calling an interface;
s5, analyzing the interface return value, and performing action adaptation according to Error Code configuration;
and S6, storing the interface interaction information and completing the calling of the interface.
In this embodiment, the XML message of the step S2 for determining the interface according to the ISD document is specifically as follows:
s201, acquiring a message Header according to WSDL, wherein the message Header comprises information Header and Body;
s202, determining detailed parameter node names and message nesting hierarchical structures according to the ISDs.
In the present embodiment, the source of the configuration data of the configuration XML template in step S3 is specifically as follows:
analyzing the data source of each node in the message according to the service logic, wherein the data source comprises system internal constants, acquisition values in a service table and fixed values, for example: # access _ mode;
the configuration mode of the system internal constants is as follows: the # + variable name, the system provides a public method alternative;
obtaining in a service table: configuration @ { business table name. field name in business table }, for example: @ T _ FORM _ FTTH _ nexsbscriber.idnewvalue };
fixed value: a fixed value may be written directly, for example: yes;
as shown in fig. 3, in the instantiation template of step S4 in this embodiment, the calling interface is specifically as follows:
s401, inquiring form data of all links related to an FTTH Broadband installation process example;
s402, packaging all form data into Map < String, Object >; wherein, Key represents the FORM name, such as T _ FORM _ FTTH _ NEWSUBSCRIBER, and Value represents all data in the FORM, which is also in Map format;
s403, instantiating a common service parameter, for example: # access _ mode, access type, FTTH Broadband installed access _ mode is FTTH;
s404, instantiating a message template, and replacing FORM format data in the template, for example, replacing @ { T _ FORM _ FTTH _ NEWSUBSCRIBER. IdNewValue } value with a corresponding value LL123123123 in Map;
s405, performing simple business operation on the replaced data, wrapping the $ [ ] ] part for internal logic processing, such as SERVICE _ NUMBE, and performing condition judgment.
As shown in fig. 4, in this embodiment, the operation adaptation performed according to the Error Code configuration by analyzing the interface return value in step S5 is specifically as follows:
s501, calling a webService interface in an HTTP or HTTPS mode:
firstly, if the interface responseCode is 200, the interface is successfully called, and the next step is executed to step S502;
if not, the connection fails, retry or other processing is carried out, and the processing is carried out according to the field requirement;
s502, analyzing the return message, and judging whether the message is successful according to the configuration return message identifier:
firstly, if the operation is successful, jumping to the step S504;
if not, executing step S503;
s503, judging that corresponding business processing is needed according to the returned error codes, wherein the corresponding actions comprise Continue, Absnormal, Skip and Need Create TT;
s504, interface interaction information is stored, and the input and output parameters are returned to the interface interaction table to complete interface calling.
Example 2:
with the expansion of overseas projects, the automation requirement is higher and higher, different cultures and resource management modes exist in different regions, the number of three-party systems to be connected is higher and higher, and interface calling logic is more and more complex.
As shown in fig. 2, the following FTTH Broadband installed Activation interface in the service provision OM is taken as an example, and the details are as follows:
(1) the flow of the OM is transferred to an Activation link, and a public java component is called;
(2) and configuring the URL, authentication information and interface type of the interface corresponding to the link in the page: Synchronication/Asynchonization as shown in FIG. 5;
(3) determining an xml message of an interface according to the ISD document, which specifically comprises the following steps:
acquiring a message Header comprising Header, Body and other information according to WSDL;
determining detailed parameter node names and message nesting hierarchical structures according to the ISDs;
(4) determining the data source and format of each node in the message of the FTTH Broadband installation activation interface, and configuring a template:
analyzing the data source of each node in the message according to the service logic: system internal constants, fixed values obtained in the service table, for example: # access _ mode;
configuration mode of system internal constants: the # + variable name, the system provides a public method alternative;
obtaining in a service table: configuration @ { business table name. field name in business table }, for example: @ T _ FORM _ FTTH _ nexsbscriber.idnewvalue };
fixed value: a fixed value may be written directly, for example: yes;
(5) inquiring form data of all links related to the FTTH Broadband installation process example;
(6) packaging all FORM data into Map < String, Object >, wherein Key is FORM name, such as T _ FORM _ FTTH _ NEWSUBSCRIBER, Value is all data in the FORM, and is also in Map format;
(7) instantiating a common service parameter, for example: # access _ mode, access type, FTTH Broadband installed access _ mode is FTTH;
(8) instantiating a message template, and replacing FORM format data in the template, for example, replacing @ { T _ FORM _ FTTH _ NEWSUBSCRIBER. IdNewValue } value with a corresponding value LL123123123 in Map;
(9) after the data is replaced, simple business operation is carried out, and the part which is wrapped by [ ] ] is subjected to internal logic processing, such as SERVICE _ NUMBE, and condition judgment is carried out;
(10) calling a webService interface in an HTTP or HTTPS mode;
firstly, if the interface responseCode is 200, the interface is successfully called, and the step (11) is executed next;
if not, the connection fails, retry or other processing is carried out, and the processing is carried out according to the field requirement;
(11) analyzing the return message, and judging whether the return message is successful according to the configuration return message identifier:
if the success is achieved, jumping to the step (13);
if not, executing the step (12);
(12) judging that corresponding business processing is required according to the returned error code, wherein the corresponding action comprises Continue, Absnormal, Skip and Need Create TT, and is shown in figure 6;
(13) and storing interface interaction information, entering and exiting into the interface interaction table, returning to the specified parameters, and completing interface calling.
Example 3:
the XML-based configurable interface in the service order calls a system, which comprises,
the first configuration module is used for configuring a web service interface URL and authority information in a service system;
the determining module is used for determining the interface xml template through the ISD: determining an XML message of an interface according to the ISD document;
the configuration module II is used for configuring the XML template and configuring a data source;
the calling module is used for instantiating the template and calling the interface;
the analysis module is used for analyzing the interface return value and performing action adaptation according to Error Code configuration;
and the storage module is used for storing the interface interaction information and completing the calling of the interface.
The system also comprises a control unit for controlling the operation of the control unit,
the operation module is used for realizing basic operation by using a logical operation expression;
the translation module is used for realizing dictionary translation of the numerical value and adapting to various three-party systems to obtain different value requirements; the numerical dictionary translation method specifically comprises the following steps:
acquiring an actual value from a field database;
acquiring the translated value from the dictionary table according to the dictionary Code, wherein the configuration mode is as follows:
[ @ { T _ FORM _ FTTH _ NEWSUBSCRIBER. IdNewValue } | dictionary Code ];
through different three-party systems, the data configuration difference in different field dictionary tables is adaptation:
if the fields are the same, the method is realized by configuring different dictionary codes.
The calling module in this embodiment includes,
the query submodule is used for querying form data of all links related to the FTTH Broadband installed process example;
the packaging submodule is used for packaging all the form data into Map < String, Object >; wherein, Key represents the FORM name, such as T _ FORM _ FTTH _ NEWSUBSCRIBER, and Value represents all data in the FORM, which is also in Map format;
the instantiation sub-module one is used for instantiating the common service parameters, for example: # access _ mode, access type, FTTH Broadband installed access _ mode is FTTH;
the instantiation sub-module II is used for instantiating a message template and replacing the FORM format data in the template, for example, the value of @ { T _ FORM _ FTTH _ NEWSUBSCRIBER. IdNewValue } is replaced by the corresponding value LL123123123 in Map;
the replacing submodule is used for performing simple business operation on the replaced data, and wrapping the $ [ ] ] part for internal logic processing, such as SERVICE _ NUMBE, and performing condition judgment;
the analysis module comprises a module for analyzing the data,
the calling submodule is used for calling a webService interface in an HTTP or HTTPS mode;
the first judgment submodule is used for analyzing the return message and judging whether the return message is successful or not according to the configuration return message identifier;
the storage submodule is used for storing interface interaction information, entering and exiting into the interface interaction table, returning to the specified parameters and completing interface calling;
and the second judgment sub-module is used for judging that corresponding business processing is required according to the returned error codes, and the corresponding actions comprise Continue, Absnormal, Skip and Need Create TT.
Example 3:
an embodiment of the present invention further provides an electronic device, including: a memory and a processor;
wherein the memory stores computer execution instructions;
the processor executes the computer executable instructions stored by the memory to cause the processor to execute an XML-based configurable interface call method in a service order in any embodiment of the invention.
Example 4:
the embodiment of the invention also provides a computer-readable storage medium, wherein a plurality of instructions are stored, and the instructions are loaded by the processor, so that the processor executes the interface calling method based on the XML configurable in the service order in any embodiment of the invention. Specifically, a system or an apparatus equipped with a storage medium on which software program codes that realize the functions of any of the above-described embodiments are stored may be provided, and a computer (or a CPU or MPU) of the system or the apparatus is caused to read out and execute the program codes stored in the storage medium.
In this case, the program code itself read from the storage medium can realize the functions of any of the above-described embodiments, and thus the program code and the storage medium storing the program code constitute a part of the present invention.
Examples of the storage medium for supplying the program code include a floppy disk, a hard disk, a magneto-optical disk, an optical disk (e.g., CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RYM, DVD-RW, DVD + RW), a magnetic tape, a nonvolatile memory card, and a ROM. Alternatively, the program code may be downloaded from a server computer via a communications network.
Further, it should be clear that the functions of any one of the above-described embodiments may be implemented not only by executing the program code read out by the computer, but also by causing an operating system or the like operating on the computer to perform a part or all of the actual operations based on instructions of the program code.
Further, it is to be understood that the program code read out from the storage medium is written to a memory provided in an expansion board inserted into the computer or to a memory provided in an expansion unit connected to the computer, and then causes a CPU or the like mounted on the expansion board or the expansion unit to perform part or all of the actual operations based on instructions of the program code, thereby realizing the functions of any of the above-described embodiments.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A configurable interface calling method based on XML in a service order is characterized by comprising the following steps:
configuring a web service interface URL and authority information in a service system;
determining an interface xml template by ISD: determining an XML message of an interface according to the ISD document;
configuring an XML template and configuring a data source;
instantiating a template and calling an interface;
analyzing an interface return value, and performing action adaptation according to Error Code configuration;
and storing the interface interaction information and completing the calling of the interface.
2. The method for invoking an interface configurable based on XML in a service order according to claim 1, wherein the XML message for determining the interface according to the ISD document is specifically as follows:
acquiring a message Header according to WSDL, wherein the message Header comprises information Header and Body;
and determining the detailed parameter node name and the message nesting hierarchical structure according to the ISD.
3. The method for invoking an interface configurable based on XML in a service order according to claim 1, wherein the XML template is configured, and the source of the configuration data is as follows:
analyzing the data source of each node in the message according to the service logic, wherein the data source comprises system internal constants, acquisition values in a service table and fixed values;
the configuration mode of the system internal constants is as follows: the # + variable name, the system provides a public method alternative;
obtaining in a service table: the configuration mode @ { business table name. field name in business table };
fixed value: and directly writing a fixed value.
4. The method for invoking an interface configurable based on XML in a service order according to claim 1, wherein the template is instantiated, and the invoking interface is specifically as follows:
inquiring all link form data associated with the instance;
packaging all form data as Map < String, Object >; wherein, Key represents the name of the form, Value represents all data in the form, and the same format is Map format;
instantiating a common service parameter;
instantiating a message template, and replacing the form format data in the template;
and performing simple business operation on the replaced data, and wrapping the $ [ ] ] to perform internal logic processing.
5. The XML-based configurable interface calling method in a service order according to any one of claims 1 to 4, wherein analyzing an interface return value and performing action adaptation according to Error Code configuration specifically comprises:
calling a webService interface in an HTTP or HTTPS mode:
if the response code of the interface is 200, the interface is successfully called;
otherwise, the connection fails, and retry or other processing is carried out according to the field requirement;
if the calling is successful, analyzing the return message, and judging whether the calling is successful or not according to the configuration return message identifier:
if the interface calling is successful, saving interface interaction information, entering and exiting into an interface interaction table, returning to the specified parameters, and completing interface calling;
otherwise, according to the returned error code, judging that the corresponding service processing is needed, wherein the corresponding action comprises Continue, Absnormal, Skip and Need Create TT.
6. An XML-based configurable interface calling system in a service order, characterized in that the system comprises,
the first configuration module is used for configuring a web service interface URL and authority information in a service system;
the determining module is used for determining the interface xml template through the ISD: determining an XML message of an interface according to the ISD document;
the configuration module II is used for configuring the XML template and configuring a data source;
the calling module is used for instantiating the template and calling the interface;
the analysis module is used for analyzing the interface return value and performing action adaptation according to Error Code configuration;
and the storage module is used for storing the interface interaction information and completing the calling of the interface.
7. The XML-based configurable interface invocation system in a service order according to claim 6, characterized in that, the system further comprises,
the operation module is used for realizing basic operation by using a logical operation expression;
the translation module is used for realizing dictionary translation of the numerical value and adapting to various three-party systems to obtain different value requirements; the numerical dictionary translation method specifically comprises the following steps:
acquiring an actual value from a field database;
acquiring the translated value from the dictionary table according to the dictionary Code, wherein the configuration mode is as follows:
[ @ { T _ FORM _ FTTH _ NEWSUBSCRIBER. IdNewValue } | dictionary Code ];
through different three-party systems, the data configuration difference in different field dictionary tables is adaptation:
if the fields are the same, the method is realized by configuring different dictionary codes.
8. The XML-based configurable interface invocation system for service orders according to claim 6 or 7, wherein the invocation module includes,
the query submodule is used for querying all link form data associated with the examples;
the packaging submodule is used for packaging all the form data into Map < String, Object >; wherein, Key represents the name of the form, Value represents all data in the form, and the same format is Map format;
the instantiation submodule I is used for instantiating the public service parameters;
the instantiation submodule II is used for instantiating a message template and replacing the form data in the template;
the replacement submodule is used for performing simple business operation on the replaced data and performing internal logic processing on the wrapped part of [ ];
the analysis module comprises a module for analyzing the data,
the calling submodule is used for calling a webService interface in an HTTP or HTTPS mode;
the first judgment submodule is used for analyzing the return message and judging whether the return message is successful or not according to the configuration return message identifier;
the storage submodule is used for storing interface interaction information, entering and exiting into the interface interaction table, returning to the specified parameters and completing interface calling;
and the second judgment sub-module is used for judging that corresponding business processing is required according to the returned error codes, and the corresponding actions comprise Continue, Absnormal, Skip and Need Create TT.
9. An electronic device, comprising: a memory and at least one processor;
wherein the memory has stored thereon a computer program;
the at least one processor executing the memory-stored computer program causing the at least one processor to execute the XML-based configurable interface call method in the service order of any of claims 1 to 5.
10. A computer-readable storage medium, in which a computer program is stored, the computer program being executable by a processor to implement an XML-based configurable interface call method in a service order according to any one of claims 1 to 5.
CN202111244263.3A 2021-10-26 2021-10-26 XML-based configurable interface calling method and system in service order Pending CN114035869A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111244263.3A CN114035869A (en) 2021-10-26 2021-10-26 XML-based configurable interface calling method and system in service order

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111244263.3A CN114035869A (en) 2021-10-26 2021-10-26 XML-based configurable interface calling method and system in service order

Publications (1)

Publication Number Publication Date
CN114035869A true CN114035869A (en) 2022-02-11

Family

ID=80135358

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111244263.3A Pending CN114035869A (en) 2021-10-26 2021-10-26 XML-based configurable interface calling method and system in service order

Country Status (1)

Country Link
CN (1) CN114035869A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115170095A (en) * 2022-09-07 2022-10-11 浪潮通信信息系统有限公司 Order processing method and device, electronic equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115170095A (en) * 2022-09-07 2022-10-11 浪潮通信信息系统有限公司 Order processing method and device, electronic equipment and storage medium
CN115170095B (en) * 2022-09-07 2022-11-29 浪潮通信信息系统有限公司 Order processing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN113034095B (en) Man-machine interaction method and device combining RPA and AI, storage medium and electronic equipment
CN1326054C (en) System, method, and computer program product for configuring computing systems
US7346893B2 (en) Exchange infrastructure system and method
US20080312898A1 (en) Method and a System for Network Management Information Representation
US20070234271A1 (en) Application Framework
KR20050056855A (en) Method and system for automatically generating service interfaces for a service oriented architecture
CN101729694A (en) Method for allocating and running realization process of automatic service and system thereof
CN107193668B (en) Calling method and system of interface server
CN102306102A (en) Method and device for automatically generating program file
CN1728700B (en) Web telecommunication network management system based on &#39;struts&#39; architecture, and method
CN114035869A (en) XML-based configurable interface calling method and system in service order
CN116661978B (en) Distributed flow processing method and device and distributed business flow engine
EP1574980A1 (en) Context objects for accessing message content
CN111338717B (en) Interface calling method, application program upgrading method, server and client
AU2003223040A1 (en) Exchange infrastructure system and method
CN113342317B (en) Development multi-service dynamic combination method and system based on Android componentization
CN115495065A (en) Page component arrangement and combination method and device based on business flow control
Almeida et al. Platform-independent dynamic reconfiguration of distributed applications
US20220231909A1 (en) Plug-in generation device, controller, plug-in generation method, and plug-in generation program
JP4864022B2 (en) Method and system for harmonization of content processing in mobile distribution framework
CN110286926A (en) A kind of industrial machine update method and device
CN101896884B (en) Methods and systems for communicating data
US20230359513A1 (en) Orchestration system and method to provide client independent api integration model
CN114900383B (en) Interface processing method, device, electronic equipment and computer readable storage medium
CN114978903B (en) Configuration issuing method, device, server and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination