WSDL Mapping for Web Service Unit Testing
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current technologies lack effective methods for unit testing of business processes specified in business process programming languages for Web services, leading to incomplete and time-consuming testing processes, as existing frameworks are not designed for procedure-oriented languages and do not support concurrency and synchronization requirements.
Innovation Solution
A method that maps Web Service Description Language (WSDL) elements of business processes and their partner processes into Object-Oriented (OO) elements, using OO unit testing frameworks to generate partner stubs and mock objects for simulating partner processes, enabling automated test case execution and simplifying test logic creation.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If business processes are tested in isolation by simulating partner processes, then unit testing can be performed, but the testing process becomes complex and time-consuming due to ad-hoc, subjective and incomplete simulation methods
Solution Approach 1:
The patent applies preliminary action by pre-defining partner process simulations using WSDL imports before actual testing begins. The test engineer can import partner process definitions and configure their behavior in advance, so that when unit testing is executed, the simulations are already prepared and ready to use, eliminating the need for time-consuming ad-hoc setup during each test execution.
Solution Approach 2:
The patent implements universality by creating a reusable framework where partner process simulations can be defined once using WSDL imports and then used across multiple test cases. The same simulated partner process can serve multiple testing purposes without needing to be reconfigured, making the testing approach universally applicable to different business processes and test scenarios.
2Ease of operation
If partner processes are simulated in an ad-hoc manner, then isolation testing is possible, but services must be re-bound and redeployed and the server must be restarted for different test purposes
Solution Approach 1:
The patent applies dynamics by enabling flexible configuration of partner process simulations without requiring system redeployment. The framework allows test engineers to dynamically adjust simulation behavior, binding configurations, and test parameters through the WSDL-based import mechanism, making the testing system adaptable to different test scenarios without static re-binding and server restarts.
Solution Approach 2:
The patent extracts the partner process simulation logic into a separate, configurable layer using WSDL imports. By separating the simulation definition from the core business process deployment, the system allows test engineers to modify and reconfigure simulations independently without affecting the deployed services, eliminating the need for server restarts when changing test configurations.
3Adaptability or versatility
If test execution is performed manually without tooling support, then flexibility is maintained, but automatic regression testing is not facilitated
Solution Approach 1:
The patent introduces an intermediary framework that bridges manual testing flexibility and automated regression testing. The WSDL-based import mechanism and configurable simulation layer act as intermediaries that allow test cases to be defined and executed automatically while maintaining the flexibility to adjust configurations. This intermediary layer enables automation tools to drive regression testing without losing the adaptability to modify test behavior as needed.
4Ease of manufacture
If current Object-Oriented unit testing frameworks are used for business processes, then existing tools can be leveraged, but they cannot be used directly because business processes are procedure-oriented with no class concept and lack concurrency support
Solution Approach 1:
The patent applies copying by adapting Object-Oriented unit testing framework concepts to the procedure-oriented business process domain. It copies the essential testing mechanisms (such as mock objects, stubs, and test case structures) from OO frameworks and reifies them in terms suitable for business processes using WSDL imports, allowing existing testing methodologies to be applied to a different paradigm without requiring complete framework replacement.
Solution Approach 2:
The patent changes the fundamental parameters of how testing is approached by transitioning from class-based OO structures to procedure-based business process structures. It modifies the testing framework's parameters to accommodate WSDL-based process definitions, import mechanisms, and simulation configurations, making the framework adaptable to procedure-oriented languages while retaining the benefits of structured unit testing.
Data Source
AI summary
A method for unit testing of business processes for Web services, including steps of mapping the Web service description language (WSDL) elements of a process under test and its partner processes into equivalent Object-Oriented language (OO) elements, and performing testing on the process under test based on Object-Oriented unit testing frameworks. Each Web service interface of the process under test and its partner processes is mapped into an equivalent OO interface, partner stubs are generated on basis of the OO interfaces of the partner processes, WSDL binding and service port information are defined for the generated partner stubs, test cases are formed which contain test logic describing the service invocations between the process under test and its partner processes, and the test cases are executed, wherein the partner stub and its associated mock object collectively implement the service of a corresponding partner process.


