What You May Need to Know About Mixed Message Types in a WSDL File

2-20 Oracle Fusion Middleware Developers Guide for Oracle SOA Suite

1. In the Create Web Service dialog, click the icon to the right of the WSDL URL field

to invoke the SOA Resource Browser dialog.

2. Select Resource Palette from the list at the top.

3. Expand the nodes under the Application Server connection or WSIL connection

to list all deployed composites and revisions. The default revision is identified by the word Default in the title. For example, OrderBookingComposite [Default].

4. Select the appropriate default endpoint and click OK.

2.5 Adding Wires

You wire connect services, service components, and references. For this example, you wire the web service and service component. Note the following: ■ Since a web service is an inbound service, a reference handle displays on the right side. Web services that are outbound references do not have a reference handle on the right side. ■ You can drag a defined interface to an undefined interface in either direction reference to service or service to reference. The undefined interface then inherits the defined interface. There are several exceptions to this rule: – A component has the right to reject a new interface. For example, an Oracle Mediator can only have one inbound service. Therefore, it rejects attempts to create a second service. – You cannot drag an outbound service external reference to a business rule, because business rules do not support references. When dragging a wire, the user interface highlights the interfaces that are valid targets. ■ You cannot wire services and composites that have different interfaces. For example, you cannot connect a web service configured with a synchronous WSDL file to an asynchronous BPEL process. Figure 2–16 provides details. Figure 2–16 Limitations on Wiring Services and Composites with Different Interfaces The service and reference must match, meaning the interface and the callback must be the same. If you have two services that have different interfaces, you can place an Oracle Mediator between the two services and perform a transformation between the interfaces.

2.5.1 How to Wire a Service and a Service Component

You can wire a service binding component to a service component from the SOA Composite Editor. To wire a service and a service component: 1. From a service reference handle, drag a wire to the service component interface, as shown in Figure 2–17 .