Java 2 micro edition (J2ME)-based Web Service interface calling method
A technology of interface and interface address, which is applied in the field of J2ME technology and Web Service communication, can solve the problems that the operation mode of value-added business is difficult to be universally applicable to all users, the difficulty of program development is different, and the development cost is high, so as to reduce development cost, enrich data information, Effects of low processing performance and storage performance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0024] In this embodiment, the mobile terminal needs to call the Web Service interface to obtain the weather data of Chongqing. The interface address for calling the Web Service interface is "http: / / www.feinno.com / weatherservice / ", and the call parameter is the city that needs to query the weather data Name "Chongqing".
[0025] Adopt method of the present invention to call the method flow of Web Service interface on J2ME platform such as figure 1 As shown, the specific steps are as follows: build an XML compiler and an XML interpreter on the J2ME platform; pre-set the interface address and call parameters for calling the Web Service interface on the J2ME platform, and the XML compiler will generate The Web Service interface call request in XML format; then the J2ME platform sends the Web Service interface call request to the Web Service server through the communication network, and waits to obtain the Web Service service data in XML format returned by the Web Service server, ...
Embodiment 2
[0067] This embodiment is another implementation scheme for obtaining the weather data of Chongqing in Embodiment 1. The method of calling the Web Service interface on its J2ME platform is basically the same as that of the embodiment, except that the constructed XML compiler and XML interpreter are different. .
[0068] The XML compiler constructed in this embodiment is mainly composed of a compilation function comparison table, a Web Service interface call request template and a compilation function value extraction module;
[0069] The compiling function comparison table records the corresponding relationship between the interface address for calling the Web Service interface input by the J2ME platform and the XML interface address function, and the corresponding relationship between the calling parameters for calling the Web Service interface input by the J2ME platform and the XML calling parameter function; Compilation function comparison The specific structure of th...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com