Developing OTDs for Application Adapters

BPEL Operations

When using eInsight to process COBOL copybooks, the operations in Table are available.

Table 1–18 BPEL COBOL Operations

eInsight Operation 

Activity 

Marshal 

Allows you to marshal an OTD instance to a string. 

MarshalToBytes 

Marshals an OTD instance (or OTD tree) to byte array using current encoding (CP037). 

MarshalToString 

Marshals an OTD instance (or OTD tree) to string using current encoding (CP037). 

Unmarshal 

This operation is retained for purposes of compatibility with the previous release of the COBOL Copybook Converter. The Unmarshal operation allows you to select unmarshaling from byte array or from string. 

UnmarshalFromBytes 

Unmarshals data from byte array into an OTD instance. 

UnmarshalFromString 

Unmarshals data from string into an OTD instance. 


Note –

It is recommended that you use the Marshal and Unmarshal methods since they allow for more control over the output data. Both methods are available for purposes of increased compatibility.