5.4.8 BIND

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.

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.

Syntax:

Command

Keyword

Value

Developer notes for Command/Keyword/Value

BIND

SERVICE

Value

Service name.

TYPE

*INBOUND

Conditional. Inbound binding.

*OUTBOUND

Conditional. Outbound binding.

CONTENT

*JSON

Conditional. Outbound binding type.

*XML

Default.

BINDTRACE

*YES

Optional. Trace the inbound bind result.

*NO

Default.

SUBSET

 

Optional. See SUBSET.
Use with CONTENT(*JSON)

FILTER

 

Optional. See FILTER.