International Scholarly Research Notices / 2013 / Article / Alg 4

Research Article

Web Services Conversation Adaptation Using Conditional Substitution Semantics of Application Domain Concepts

Algorithm 4

Adapter automatic generator.
Input: (consuming GAP), , Operations Mapping
Matrix .
Output: Source code of the adapter between and
 Create an empty class ADAPTER.
for each operation in   do
 Create a method in ADAPTER with same signature
 as .
 Get realizing operations subsequence from
using .
 Call ConverterGenerator ( Inputs, Inputs).
 // Algorithm 2
if Converter Code generated successfully then
  Add Inputs Converter Code to method body.
  Add invocation Code for to method body.
  Call ConverterGenerator ( Output,
  if Converter Code generated successfully then
      Add Outputs Converter Code to method body.
      Return Error.
  end if
  Return Error.
end if
end for
 Return ADAPTER generated code.

We are committed to sharing findings related to COVID-19 as quickly as possible. We will be providing unlimited waivers of publication charges for accepted research articles as well as case reports and case series related to COVID-19. Review articles are excluded from this waiver policy. Sign up here as a reviewer to help fast-track new submissions.