The BIND command is only used with the InboundXMLBind, OutboundXMLBind, InboundJSONBind and OutboundJSONBind handlers.
The BIND command binds the specified service code to the loaded inbound document or creates a new empty outbound document.
Syntax:
|
The SERVICE keyword value is used in a resource property lookup using the property key service.'value' and service.archive.'value' to locate the binding class and the binding jar file that contains the binding class and supporting classes generated by the XMLBinding or JSONBinding Wizard. If the service binding archive entry does not exist, then the binding jar file must exist in the JSM jar subdirectory instead of a user specified directory.
Example
BIND SERVICE(SALES) TYPE(*OUTBOUND) CONTENT(*JSON)
BIND SERVICE(ORDERS) TYPE(*INBOUND) BINDTRACE(*YES)