SOA Data Definition File for Early Message Validation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In Service-Oriented Architecture (SOA) environments using the standards style pattern, representing data optionality leads to conflict of interest issues due to shared common elements being deemed optional or mandatory by different services, resulting in invalid service messages being absorbed at later layers instead of being filtered early on.
Innovation Solution
A method and system that define an interface with local and common data elements, configuring a data definition file to indicate whether each element is mandatory or optional, allowing early validation and filtering of service messages by creating virtual links between common elements and their references in the interface.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of manufacture
If the standards style pattern is used to represent service interface elements, then reusability and ease of implementation are improved, but data optionality representation creates conflict of interest issues
Solution Approach 1:
The patent segments the service interface elements into two distinct categories: local elements (defined only in the service interface) and common elements (shared across multiple services via a library). This segmentation allows each type of element to have its own optionality rules, resolving the conflict where common elements need to serve multiple services with potentially different optionality requirements. The interface 100 clearly separates these elements, enabling precise control over which elements are mandatory or optional for each specific service.
Solution Approach 2:
The patent applies local quality by allowing different optionality attributes for different elements within the same interface. Specifically, local elements can be marked as mandatory or optional independently, and common elements can have their optionality defined at the service-specific level through the DDF 110. This enables each element to have the appropriate optionality characteristic for its specific context, rather than forcing a uniform approach across all elements.
2Reliability
If all elements are manifested as optional in the standards style pattern, then conflict of interest issues are resolved, but validation rules become useless and invalid messages are absorbed at later layers
Solution Approach 1:
The patent implements preliminary action by performing validation of service messages at the earliest possible stage - the parser layer 305 - rather than waiting until later mediation layers. The parser uses the DDF 110 to check whether required mandatory elements are present in incoming service messages and immediately rejects invalid messages before they propagate through the system. This early validation prevents invalid messages from absorbing resources at later layers.
Solution Approach 2:
The DDF 110 serves as an intermediary between the service interface definitions and the actual service implementations. It provides the specific optionality attributes for common elements at the service level, enabling the parser to perform precise validation without requiring all elements to be uniformly marked as optional. The DDF acts as a mediator that translates the general standards style pattern into service-specific validation rules.
Data Source
AI summary
An approach for specifying data in a standards style pattern of Service-Oriented Architecture (SOA) environments is provided. The approach implemented in a computer infrastructure, includes defining an interface including one or more local data elements and one or more references to one or more common data elements, of a service, the one or more common data elements being defined in a library for a plurality of services. The approach further includes configuring a data definition file (DDF) which indicates whether each of the one or more local data elements and the one or more common data elements is mandatory for the service. The approach further includes validating one or more data elements from a consumer as mandatory for the service based on the configured DDF.


