CN105718431A - Method for formatting Webservice message - Google Patents
Method for formatting Webservice message Download PDFInfo
- Publication number
- CN105718431A CN105718431A CN201610022969.8A CN201610022969A CN105718431A CN 105718431 A CN105718431 A CN 105718431A CN 201610022969 A CN201610022969 A CN 201610022969A CN 105718431 A CN105718431 A CN 105718431A
- Authority
- CN
- China
- Prior art keywords
- formatting
- message
- text
- webservice
- box
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 31
- 238000004064 recycling Methods 0.000 claims description 3
- 241000282414 Homo sapiens Species 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000005501 phase interface Effects 0.000 description 1
- 230000029305 taxis Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/12—Use of codes for handling textual entities
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- Document Processing Apparatus (AREA)
Abstract
The invention discloses a method for formatting a Webservice message, which comprises the following steps: copying a Webservice return message into a specified text box; obtaining the text content of the message copied in the text box through a webpage scripting language; and formatting by using an extensible markup language, and outputting a formatting result to a specified text box. Compared with the prior art, the method for formatting the Webservice message enables software developers to realize rapid formatting of the message by means of the method, better services the reading habits of human beings, and improves the speed and efficiency of message analysis.
Description
Technical field
The present invention relates to field of computer technology, specifically a kind of practical, formatting Webservice message method.
Background technology
When current software developer carries out Webservice message format, need manually to check and resolution pattern substantial amounts of message, this work belongs to repeated labor, manual work measures greatly, and easily makes mistakes, and data error rate is higher, all inconvenience is brought to the follow-up work of software developer, adopt the mode of automatically formatting message, it is possible to liberation software developer, software developer is transferred to the work such as prior exploitation from repeated labor work.
Based on this, now provide a kind of method formatting Webservice message.
Summary of the invention
The technical assignment of the present invention is for above weak point, it is provided that a kind of practical, formatting Webservice message method.
A kind of method formatting Webservice message, it realizes process and is:
Step one, Webservice returned packet is copied to appointment text box in;
Step 2, obtained the message content of text replicated in text box by page script language;
Step 3, use extensible markup language format, and output formatting result is to specifying in text box.
The text edit box that described appointment text box provides for Formatting Facility, namely Webservice returned packet is first copied in text edit box, after completing formatting step, recycling page script language is backfilling in text edit box, message after display format in text edit box.
The detailed process of described step 2 is: obtain the message content of text in text edit box by the element selector in page script language, and then this page script language intercepts message text part.
The detailed process that in described step 3, use extensible markup language formats is: after obtaining body part, and the extending marking label called in the extensible markup language message text to obtaining formats, and namely xml label is formatted.
A kind of method formatting Webservice message of the present invention, has the advantage that
A kind of method formatting Webservice message of this invention, software developer is made to realize the quick formatting of message by the method, more service mankind's reading habit, improve packet parsing speed and efficiency, the message automatically formatting speed of this method is fast, and data show accurately, have wide range of applications, practical, applied widely, it is easy to promote.
Accompanying drawing explanation
Accompanying drawing 1 is the flowchart of the present invention.
Accompanying drawing 2 is the message content schematic diagram before formatting.
Accompanying drawing 3 is the message content schematic diagram after formatting.
Detailed description of the invention
Below in conjunction with the drawings and specific embodiments, the invention will be further described.
The present invention provides a kind of method formatting Webservice message, and as shown in accompanying drawing 1, Fig. 2, Fig. 3, implementation step is:
Step one, Webservice returned packet is copied to appointment text box in;
Step 2, obtained the message content of text replicated in text box by page script language;
Step 3, use extensible markup language format, and output formatting result is to specifying in text box.
The text edit box that described appointment text box provides for Formatting Facility, namely Webservice returned packet is first copied in text edit box, after completing formatting step, recycling page script language is backfilling in text edit box, message after display format in text edit box.
The detailed process of described step 2 is: obtain the message content of text in text edit box by the element selector in page script language, and then this page script language intercepts message text part.
The detailed process that in described step 3, use extensible markup language formats is: after obtaining body part, and the extending marking label called in the extensible markup language message text to obtaining formats, and namely xml label is formatted.
The method of the present invention can be applicable to the formatting etc. of Golden Taxes three phase interface packets.
Webservice message before and after formatting as shown in accompanying drawing 2, Fig. 3, the content wherein formatted is only formatting message xml, and whole formatting procedure is automatically performed.
Owing to one of current software developer's groundwork amount is exactly the formatting work of Webservice message, formatting needs to carry out line by line, and the big efficiency of workload is low, it is easy to the phenomenons such as human error occur.In order to improve case above, devise Webservice message automatically formatting method, and be applied in the development of various places tax tax three phase, adopt method of the invention it is achieved that the automatically formatting of exploitation message, improve the work efficiency of developer.
Above-mentioned detailed description of the invention is only the concrete case of the present invention; the scope of patent protection of the present invention includes but not limited to above-mentioned detailed description of the invention; claims of the method for a kind of Webservice of formatting message of any present invention of meeting and any person of an ordinary skill in the technical field to its suitably change done or replaces, and all should fall into the scope of patent protection of the present invention.
Claims (4)
1. the method formatting Webservice message, it is characterised in that it realizes process and is:
Step one, Webservice returned packet is copied to appointment text box in;
Step 2, obtained the message content of text replicated in text box by page script language;
Step 3, use extensible markup language format, and output formatting result is to specifying in text box.
2. a kind of method formatting Webservice message according to claim 1, it is characterized in that, the text edit box that described appointment text box provides for Formatting Facility, namely Webservice returned packet is first copied in text edit box, after completing formatting step, recycling page script language is backfilling in text edit box, message after display format in text edit box.
3. a kind of method formatting Webservice message according to claim 1, it is characterized in that, the detailed process of described step 2 is: obtain the message content of text in text edit box by the element selector in page script language, and then this page script language intercepts message text part.
4. a kind of method formatting Webservice message according to claim 1, it is characterized in that, the detailed process that in described step 3, use extensible markup language formats is: after obtaining body part, the extending marking label called in the extensible markup language message text to obtaining formats, and namely xml label is formatted.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610022969.8A CN105718431B (en) | 2016-01-14 | 2016-01-14 | Method for formatting Webservice message |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610022969.8A CN105718431B (en) | 2016-01-14 | 2016-01-14 | Method for formatting Webservice message |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105718431A true CN105718431A (en) | 2016-06-29 |
CN105718431B CN105718431B (en) | 2018-10-23 |
Family
ID=56147823
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610022969.8A Active CN105718431B (en) | 2016-01-14 | 2016-01-14 | Method for formatting Webservice message |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105718431B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106201542A (en) * | 2016-07-14 | 2016-12-07 | 张博 | A kind of WOF quick development platform |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1226031A (en) * | 1997-09-11 | 1999-08-18 | 国际商业机器公司 | HTTP caching proxy to filter and control display of data in web browser |
US20050050228A1 (en) * | 2003-08-29 | 2005-03-03 | Michael Perham | Method and apparatus for the use of dynamic XML message formats with web services |
CN103778732A (en) * | 2012-10-19 | 2014-05-07 | 方欣科技有限公司 | Electronic-invoice issuing method and device |
CN104038663A (en) * | 2013-03-06 | 2014-09-10 | 株式会社理光 | Device management in a distributed scan system |
CN104036163A (en) * | 2013-03-06 | 2014-09-10 | 株式会社理光 | Right Management In Distributed Scan System |
-
2016
- 2016-01-14 CN CN201610022969.8A patent/CN105718431B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1226031A (en) * | 1997-09-11 | 1999-08-18 | 国际商业机器公司 | HTTP caching proxy to filter and control display of data in web browser |
US20050050228A1 (en) * | 2003-08-29 | 2005-03-03 | Michael Perham | Method and apparatus for the use of dynamic XML message formats with web services |
CN103778732A (en) * | 2012-10-19 | 2014-05-07 | 方欣科技有限公司 | Electronic-invoice issuing method and device |
CN104038663A (en) * | 2013-03-06 | 2014-09-10 | 株式会社理光 | Device management in a distributed scan system |
CN104036163A (en) * | 2013-03-06 | 2014-09-10 | 株式会社理光 | Right Management In Distributed Scan System |
Non-Patent Citations (2)
Title |
---|
冯新 等: "雷达情报的XML标准化描述及格式转换", 《火力与指挥控制》 * |
孙剑 等: "基于模板的作战仿真数据自动生成军事报文方法研究", 《SECIENTIFIC RESEARCH》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106201542A (en) * | 2016-07-14 | 2016-12-07 | 张博 | A kind of WOF quick development platform |
CN106201542B (en) * | 2016-07-14 | 2020-06-26 | 张博 | WOF rapid development platform |
Also Published As
Publication number | Publication date |
---|---|
CN105718431B (en) | 2018-10-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107122166B (en) | Extensible template pipe for web applications | |
CN105824787B (en) | A kind of control method and system of html template dynamic configuration | |
US20140310590A1 (en) | Presentation layer software development kit for creation of dynamic webpages | |
CN102880468B (en) | Code intelligent prompting method and system for electronic control unit (ECU) program development | |
CN104731589A (en) | Automatic generation method and device of user interface (UI) | |
CN104965714A (en) | Code generation method and system of application software | |
CN104484216A (en) | Method and device for generating service interface document and on-line test tool | |
CN102855350B (en) | The automatic map delivery method and system of engineering drawing | |
CN104750796A (en) | Method for leading out Word under BS system | |
CN104461538A (en) | Report generation method and report generation system | |
CN103631964A (en) | PDF (Portable document format)-embedded hypertext markup language (HTML) file shuffling method | |
CN103605660A (en) | Graphic processing method for SCD (Substation Configuration Description) file | |
CN102521008B (en) | Program compiling device and method for compiling program | |
CN108268260A (en) | It is a kind of quick micro- using assemble method based on integrated support technology | |
CN110659027A (en) | Code generation method and device and electronic equipment | |
WO2023035563A1 (en) | Applet cross-application migration method, device, terminal, system and storage medium | |
US9038004B2 (en) | Automated integrated circuit design documentation | |
CN104503767A (en) | System and method for automatically generating codes based on LIN protocol | |
CN104834715A (en) | Website generating method and system based on components and container | |
CN106033387A (en) | A method and a device for testing flash intrinsic controls | |
CN106383734A (en) | Method for extracting detailed design from codes | |
CN109429260B (en) | Method and device for checking northbound data | |
CN103793464A (en) | Method for exporting reports on basis of neutral formats | |
CN105718431A (en) | Method for formatting Webservice message | |
CN108549693B (en) | CMS page generation method based on crawler technology |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20200603 Address after: 250100 Inspur Science Park, No. 1036, Inspur Road, high tech Zone, Jinan City, Shandong Province Patentee after: Inspur Software Technology Co.,Ltd. Address before: 250100 Ji'nan science and Technology Development Zone, Shandong Branch Road No. 2877 Patentee before: INSPUR GROUP Co.,Ltd. |