The Translation Service interface handles translation of a message to and from native formats. The Adapter Framework determines any operation-related message Translation to- or from- native format requirements by inspecting the InteractionSpec
or ActivationSpec
for a given WSDL Binding Operation.
If one of the indicated Specs implement the Translation marker interface TranslationAware
, the Adapter Framework supplies the corresponding XSDElement from the WSDL types section, which defines the input message type.
Specifically, the Adapter Framework performs the following steps:
jcaInteractionSpec=(InteractionSpec) Class.forName(_interactionSpecName).newInstance(); if (jcaInteractionSpec instanceof TranslationAware) { oracle.xml.parser.schema.XMLSchema nXsdSchemaRoot = getInputMessageSchemaElement(); ((TranslationAware)jcaInteractionSpec). setNXSDSchemaRoot(nXsdSchemaRoot); } jcaInteraction.execute(jcaInteractionSpec, ...