Web Services Generation from Client-Side Code Analysis

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Developers face challenges in creating server-side code for web technologies, as they often need to understand client-side code details, leading to time-consuming and error-prone processes, especially when changes occur, and the absence of a WSDL file hinders automatic server-side code generation.

Innovation Solution

A system that scans client-side code to identify server call code, analyzes it to determine request types, and automatically generates web service code, including data objects, even without a WSDL file, allowing server-side developers to focus on logic and functionality.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Manufacturing precision

If server-side developers manually create server-side code by understanding client-side code details, then the code can be properly interfaced with client-side code, but the process becomes time-consuming and error-prone

Engineering Contradiction:
Improvecode interfacing accuracyVSAvoidcode generation speed
Core Design Contradiction:
Manufacturing precisionVSProductivity

Solution Approach 1:

The system performs self-service by automatically analyzing client-side code and generating corresponding server-side code without requiring manual intervention from developers. The code generation tool scans the client-side code, identifies server call patterns, and autonomously creates the server-side implementation, eliminating the need for developers to manually understand and replicate client-side logic.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent replaces the mechanical process of manual code creation with an automated computational system. Instead of developers manually analyzing and writing server-side code, a computer-based tool performs the analysis and generation, substituting human cognitive and manual labor with automated software that can process and generate code rapidly and accurately.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Ease of operation

If developers work on server-side and client-side code sequentially, then each developer can focus on their specific tasks, but the overall development time increases

Engineering Contradiction:
Improvedeveloper task specializationVSAvoidtotal development time
Core Design Contradiction:
Ease of operationVSLoss of time

Solution Approach 1:

The system performs preliminary action by generating server-side code templates and structures in advance based on client-side code analysis. This allows server-side developers to have ready-made code frameworks before they begin their work, enabling them to focus on implementation details rather than basic structure creation, thus facilitating parallel development without losing time.

Inventive Principle:
Principle #10Preliminary action

3Adaptability or versatility

If automatic server-side code generation is attempted without a WSDL file, then code generation can proceed in more situations, but the generation process becomes more complex

Engineering Contradiction:
Improvecode generation applicabilityVSAvoidcode generation system complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent applies inversion by reversing the traditional approach: instead of requiring a WSDL file to generate server-side code, the system analyzes the client-side code directly to infer the server-side interface requirements. This inverted approach allows code generation to proceed from the client perspective, making the system more adaptable to situations where no WSDL file exists, while managing complexity through automated analysis algorithms.

Inventive Principle:
Principle #13The other way round (Inversion)

Data Source

PatentUS10698751B2Web services generation based on client-side code
Publication Date: 2020.06.30 MICRO FOCUS LLC
  • US10698751B2 patent drawing
  • US10698751B2 patent drawing
  • US10698751B2 patent drawing

AI summary

In one example in accordance with the present disclosure, a system for web services generation based on client-side code scans client-side code of a web technology to find included server call code, where the server call code includes a request to a web service. The system analyzes the server call code to determine a type of the request to the web service. The system generates web service code capable of handling requests of the type of the request to the web service.