Creating the Inbound Oracle Socket Adapter Service

5-42 Oracle Fusion Middleware Users Guide for Technology Adapters Figure 5–45 The Adapter Configuration Wizard - Adapter Interface Page

6. Select Inbound Synchronous RequestReply as the Operation Type, as shown in

Figure 5–46 . Figure 5–46 The Adapter Configuration Wizard Operation Page

7. Click Next. The Socket Connection page is displayed.

8. Enter eissocketInboundSocketAdapter in the Socket Connection JNDI

Name field, as shown in Figure 5–47 , and click Next. The Messages page is displayed. Oracle JCA Adapter for Sockets 5-43 Figure 5–47 The Adapter Configuration Wizard Socket Connection Page

9. Click Browse For Schema File that appears at the end of the URL field in the

Request Message Schema box. The Type Chooser dialog is displayed.

10. Click Project Schema Files, HelloWorld.xsd, and HelloWorldProcessRequest, as

shown in Figure 5–48 . Figure 5–48 The Type Chooser Dialog

11. Click OK. The URL field in the Messages page is populated with the

HelloWorld.xsd file. 5-44 Oracle Fusion Middleware Users Guide for Technology Adapters

12. Click Browse For Schema File that appears at the end of the URL field in the

Reply Message Schema box. The Type Chooser dialog is displayed.

13. Click Project Schema Files, HelloWorld.xsd, and HelloWorldProcessRequest.

14. Click OK. The URL fields in the Messages page are populated with the

HelloWorld.xsd files, as shown in Figure 5–49 . Figure 5–49 The Adapter Configuration Wizard File Messages Page

15. Click Next. The Protocol page is displayed.

16. Select Use XSLT to define the handshake.

17. Click Browse to select the XSL file that appears at the end of the Xslt field. The

SOA Resource Browser dialog is displayed.

18. Select request.xsl as the file name, as shown in

Figure 5–50 , and click OK. The Xslt field is populated. Oracle JCA Adapter for Sockets 5-45 Figure 5–50 The SOA Resource Browser Dialog

19. Click Browse to select the XSL file that appears at the end of the ReplyXslt field.

The SOA Resource Browser dialog is displayed.

20. Select reply.xsl as the file name and click OK. The Xslt field is populated, as

shown in Figure 5–51 . Figure 5–51 The Adapter Configuration Wizard Protocol Page

21. Click Finish. The composite.xml page appears, as shown in

Figure 5–52 . 5-46 Oracle Fusion Middleware Users Guide for Technology Adapters Figure 5–52 The JDeveloper - composite.xml Page

5.5.1.4 Creating the Outbound Oracle Socket Adapter Service

Perform the following steps to create an outbound Oracle Socket Adapter service:

1. Drag and drop Socket Adapter from the Component Palette to the External

References swim lane. The Welcome page of the Adapter Configuration Wizard is displayed.

2. Click Next. The Service Name page is displayed.

3. Enter HelloWorldServer in the Service Name field.

4. Click Next. The Adapter Interface page is displayed.

5. Select Define from operation and schema specified later, and click Next. The

Operation page is displayed.

6. Select Outbound Synchronous RequestReply as the operation type, as shown in

Figure 5–53 . Oracle JCA Adapter for Sockets 5-47 Figure 5–53 The Adapter Configuration Wizard Operation Type Page

7. Click Next. The Socket Connection page is displayed.

8. Enter eissocketOutboundSocketAdapter in the Socket Connection JNDI

Name field, as shown in Figure 5–54 , and click Next. The Messages page is displayed. Figure 5–54 The Adapter Configuration Wizard Socket Connection Page

9. Click Browse For Schema File that appears at the end of the URL field in the

Request Message Schema box. The Type Chooser dialog is displayed.