The SOA Resource Browser dialog box displays. In the File System drop-down list Expand the SOA-MDS tree item, as shown in The Selective Service Operation - Operation Selected page displays, as shown in

Working with Service Constructor 19-13 To inspect a service and learn about the corresponding message: 1. On the Service Object page accessed for a service type of Provider ABCS, click the Select Service Operation button to access the Select Service Operation dialog box, where you can select the WSDL, or operation, that will invoke the service. With the services and schemas being served from MDS, the SOA Resource Browser is typically used to select the appropriate WSDL. For more information about creating MDS connections, see Section 20.1.1, How to Set Up JDeveloper for AIA Development. Alternatively, if the WSDL is external and accessible as a URL, such as with a remote service provider, the URL can be pasted directly into the Select WSDL field. Then, click the Reload button to inspect the WSDL. For the purposes of this flow, we will use the SOA Resource Browser. 2. In the Select Service Operation dialog box, as shown in Figure 19–14 , click the Resource Browser button to select the WSDL. Figure 19–14 Select Service Operation

3. The SOA Resource Browser dialog box displays. In the File System drop-down list

box, select Resource Palette, as shown in Figure 19–15 . 19-14 Developers Guide for Oracle Application Integration Architecture Foundation Pack Figure 19–15 SOA Resource Browser

4. Expand the SOA-MDS tree item, as shown in

Figure 19–16 . Navigate to and select the WSDL for the service that will invoke the service component you are creating. Click OK. Working with Service Constructor 19-15 Figure 19–16 SOA Resource Browser - WSDL Selection

5. The Selective Service Operation - Operation Selected page displays, as shown in

Figure 19–17 . In the Operations drop-down list box, select an operation. Click OK. Figure 19–17 Select Service Operation - Operation Selected Service Constructor inspects the selected service and, in most cases, will be able to supply most of the attributes by default. The developer will then simply have to define the object name and version. 19-16 Developers Guide for Oracle Application Integration Architecture Foundation Pack If the developer needs to access any of the fields that were automatically populated, such as to make a correction, select the Enable WSDL defined fields option. 6. The Service Object page is populated with the WSDL information, as shown in Figure 19–18 . Available elements are discussed in Table 19–4 . Figure 19–18 Service Object Definition for a Provider ABCS - WSDL Information Populated Table 19–4 Service Object Elements for a Provider ABCS Element Description WSDL optional The calling service WSDL is used by the Service Constructor to inspect and automatically supply most of the values by default. Schema XSD Schema definition of the message type being used by the calling service to call the service interface. This value is typically supplied automatically by the serviceoperation inspection. The browser button is available if the developer needs to browse for the appropriate object in MDS. Namespace Namespace of the underlying object. This value is typically supplied automatically by the serviceoperation inspection. Prefix Prefix to be used as a reference for the message that will be received from the calling service. This value is typically supplied automatically by the serviceoperation inspection. Input Message Message that will be received from the calling service. This value is typically supplied automatically by the serviceoperation inspection. Output Message Message with which this service may respond to the calling service. This value is typically supplied automatically by the serviceoperation inspection. Working with Service Constructor 19-17 7. If the service being created is following a RequestDelayed Response message exchange pattern, the CallBack button displays on the Service Object page, as shown in Figure 19–19 . Figure 19–19 CallBack Button Click the CallBack button to access the Call Back dialog box, as shown in Figure 19–20 . Define the target service that will be invoked by the service being created here as a delayed response. Available fields are discussed in Table 19–5 . Object Name Name of the underlying object used in the service invocation. This value is typically supplied automatically by the serviceoperation inspection. Version Version of the underlying object. This value is typically supplied automatically by the serviceoperation inspection. Message Exchange Pattern Message exchange pattern being used. This value is typically supplied automatically by the serviceoperation inspection based on a series of rules. Enable WSDL defined fields In most cases, most or all of the attributes are supplied automatically by the serviceoperation inspection. If an attribute is not supplied automatically, is supplied incorrectly, or the developer needs to change any of the values, select this otion to make all fields editable. Table 19–4 Cont. Service Object Elements for a Provider ABCS Element Description 19-18 Developers Guide for Oracle Application Integration Architecture Foundation Pack Figure 19–20 Call Back Details Table 19–5 Call Back Elements Element Description WSDL Click the WSDL Inspector button to view a list of the operations. Select the WSDL that will invoke the service. You can also use services that are not in MDS or in the local file system, but which are accessible through a URL. If the URL to the service is in the buffer, paste it into the Select WSDL field. Once the WSDL is selected, click the Reload button. Service NameSpace Namespace of the service. This value is typically supplied automatically by the serviceoperation inspection. Service NameSpace Prefix Prefix used to reference the namespace. This value is typically supplied automatically by the serviceoperation inspection. Input Message Message this service receives. This value is typically supplied automatically by the serviceoperation inspection. Input Message Element Message element as a part of the message this service receives. This value is typically supplied automatically by the serviceoperation inspection. BPEL Scope Invocation scope defined in BPEL. This value is typically supplied automatically by the serviceoperation inspection. Schema XSD Underlying schema definition of the service. This value is typically supplied automatically by the serviceoperation inspection. Object Name Name of the object. This value is typically defined by the developer. Version Version of the schema definition. This value is typically defined by the developer. NameSpace Namespace of the underlying schema definition. This value is typically supplied automatically by the serviceoperation inspection. Prefix Prefix by which the namespace is referenced. This value is typically supplied automatically by the serviceoperation inspection. Working with Service Constructor 19-19

8. Click OK in the Call Back dialog box.