10.07.2015 Views

Using TCP Adapters with Ensemble - InterSystems Documentation

Using TCP Adapters with Ensemble - InterSystems Documentation

Using TCP Adapters with Ensemble - InterSystems Documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

5<strong>Using</strong> the <strong>TCP</strong> Counted XML OutboundAdapterEnsLib.<strong>TCP</strong>.CountedXMLOutboundAdapter is a <strong>TCP</strong> adapter that sends XML exported objects out as a counted block ofbytes over a <strong>TCP</strong> connection and imports a response object. The adapter makes no decisions about the data it relays out tothe external system. It simply maps the request from the business operation to a format that is acceptable to the externalsystem.This chapter explains how to use the EnsLib.<strong>TCP</strong>.CountedXMLOutboundAdapter. It discusses the following topics:• Background Information• <strong>Using</strong> the Adapter• Creating a New Business Operation Class• Available Helper Methods• Adapter Settings5.1 Background InformationYou can simply set up the EnsLib.<strong>TCP</strong>.CountedXMLOutboundAdapter as instructed in the next section, “<strong>Using</strong> the Adapter.”However, some developers want more details about how a business operation communicates <strong>with</strong> its configured adapter.This section provides those details.<strong>Using</strong> <strong>TCP</strong> <strong>Adapters</strong> <strong>with</strong> <strong>Ensemble</strong> 27

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!