Moving a File from One FTP Server to another FTP Server

5 Oracle JCA Adapter for Sockets 5-1 5 Oracle JCA Adapter for Sockets This chapter describes how to use Oracle JCA Adapter for Sockets Oracle Socket Adapter, which works with Oracle BPEL Process Manager Oracle BPEL PM and Oracle Mediator Mediator as an external service. This chapter includes the following sections: ■ Section 5.1, Introduction to Oracle Socket Adapter ■ Section 5.2, Oracle Socket Adapter Features ■ Section 5.3, Oracle Socket Adapter Concepts ■ Section 5.4, Configuring Oracle Socket Adapter ■ Section 5.5, Oracle Socket Adapter Use Cases

5.1 Introduction to Oracle Socket Adapter

Oracle Socket Adapter is a JCA 1.5 compliant adapter for modeling standard or nonstandard protocols for communication over TCPIP sockets. You can use an Oracle Socket Adapter to create a client or a server socket, and establish a connection. The data that is transported can be text or binary. This section includes the following topics: ■ Section 5.1.1, Oracle Socket Adapter Architecture ■ Section 5.1.2, Oracle Socket Adapter Integration with Mediator ■ Section 5.1.3, Oracle Socket Adapter Integration with Oracle BPEL PM ■ Section 5.1.4, Oracle Socket Adapter Integration with SOA Composite

5.1.1 Oracle Socket Adapter Architecture

Oracle Socket Adapter is based on the JCA 1.5 architecture. JCA provides a standard architecture for integrating heterogeneous enterprise information systems EIS. The JCA Binding Component of the Oracle Socket Adapter exposes the underlying JCA interactions as services WSDL with JCA binding for Oracle BPEL PM integration. Figure 5–1 illustrates the architecture of Oracle Socket Adapter. For details about the Oracle JCA Adapter architecture, see Section 1.2.1.1, Architecture. 5-2 Oracle Fusion Middleware Users Guide for Technology Adapters Figure 5–1 Oracle Socket Adapter Architecture

5.1.2 Oracle Socket Adapter Integration with Mediator

Oracle Socket Adapter is automatically integrated with Mediator. When you create an Oracle Socket Adapter service in JDeveloper Designer, the Adapter Configuration Wizard is started. This wizard enables you to configure the Oracle Socket Adapter. When configuration is complete, a WSDL file of the same name is created in the Application Navigator section of Oracle JDeveloper JDeveloper. This WSDL file contains the configuration information you specify in the Adapter Configuration Wizard. The Operation Type page of the Adapter Configuration Wizard prompts you to select an operation to perform. Based on your selection, different Adapter Configuration Wizard pages appear and prompt you for configuration information. For more information about Oracle JCA Adapter integration with Mediator, see Section 3.2, Adapter Integration with Oracle Fusion Middleware.

5.1.3 Oracle Socket Adapter Integration with Oracle BPEL PM

Oracle Socket Adapter is automatically integrated with Oracle BPEL PM. When you drag and drop Socket Adapter from the Component Palette of JDeveloper BPEL Designer, the Adapter Configuration Wizard starts with a Welcome page, as shown in Figure 5–2 . Handshake Modes Client Socket Server Socket Interaction Client Socket Server Socket Activation Socket Adapter Native Schema Framework JCA Binding Component JCA 1.5 SOAFabric _____________________ Oracle WebLogic Server