When the operation completes, click Close.

6 Administering Web Services 6-1 6 Administering Web Services Oracle Enterprise Manager Fusion Middleware Control is the primary interface that you can use to manage Oracle Fusion Middleware Web Services. You can also use WebLogic Scripting Tool WLST commands to perform some configuration tasks for SOA, ADF, and WebCenter services. This chapter describes how to navigate to the pages in Fusion Middleware Control where you perform many of the tasks to manage your Web services, and it describes how to perform basic administration tasks. When applicable, it describes how to perform the task using WLST also. This chapter includes the following sections: ■ Viewing All Current Web Services for a Server ■ Viewing the Web Services in a Domain Using WLST ■ Navigating to the Web Services Summary Page for an Application ■ Viewing the Web Services in Your Application ■ Viewing the Web Services and References in a SOA Composite ■ Viewing the Details for a Web Service Endpoint ■ Viewing Web Service Clients ■ Displaying the Web Service WSDL Document ■ Configuring the Web Service Endpoint ■ Enabling or Disabling a Web Service ■ Enabling or Disabling RESTful Web Services ■ Enabling or Disabling the Display of the Web Service WSDL Document ■ Enabling or Disabling the Exchange of Metadata ■ Enabling or Disabling the Web Service Test Endpoint ■ Validating the Request Message ■ Configuring Web Services Atomic Transactions ■ Setting the Size of the Request Message ■ Configuring Asynchronous Web Services ■ Enabling and Disabling MTOM ■ Configuring the Web Service Client 6-2 Oracle Fusion Middleware Security and Administrators Guide for Web Services Viewing All Current Web Services for a Server Follow the procedures below to view all of the currently-deployed Web services for a given server. To view all current currently-deployed Web services for a given server:

1. In the navigator pane, expand WebLogic Domain to show the domain in which

you want to see the Web services. 2. Expand the domain. 3. Select the server for which you want to view all current Web services.

4. Using Fusion Middleware Control, click WebLogic Server and then Web Services.

The server-specific Web Services Summary page appears, as shown in Figure 6–1 . You can view tabs for Java EE Web services, non-SOA Oracle Web services such as those for ADF and WebCenter, and SOA Web services. The tabs that are displayed depend on the Web services deployed on that server. From this page you can click Attach Policies to attach one or more policies to one or more Web services. Note that attaching policies from this page bulk attachment does not perform validation on the policies that you attach. Figure 6–1 Server-Specific Web Services Summary Page Viewing the Web Services in a Domain Using WLST To view all the current Web services in a domain: 1. Connect to the running instance of WebLogic Server for which you want to view the Web services as described in Accessing the Web Services Custom WLST Commands on page 1-6. 2. Use the listWebServices WLST command to display a list of the Web services. If you dont specify a Web service application or a SOA composite, the command lists all services in all applications and composites for every server instance in the domain. listWebServices application,composite,[detail] For example: Note: This procedure applies to Oracle Infrastructure Web services only. Administering Web Services 6-3 wls:jrfServer_domainserverConfig listWebServices jrfServer_domainjrfServerjaxws-sut-no-policy : moduleName=jaxws-service, moduleType=web, serviceName=TestService jrfServer_domainjrfServerjaxws-sut : moduleName=jaxws-sut-service, moduleType=web, serviceName=TestService 3. Set the detail argument of the listWebServices command to true to view the endpoint configuration, the effective set of policies attached to each endpoint, the secure status of the endpoint, and if the endpoint has a valid configuration. An endpoint is considered secure if the policies attached to it either directly or externally enforce authentication, authorization, or message protection behaviors. For example: wls:jrfServer_domainserverConfig listWebServicesdetail=true jrfServer_domainjrfServerjaxws-sut-no-policy: moduleName=jaxws-service, moduleType=web, serviceName=TestService enableTestPage: true enableWSDL: true TestPort http:host.oracle.com:1234jaxws-serviceTestService enable: true enableREST: false enableSOAP: true maxRequestSize: -1 loggingLevel: NULL global security: oraclewss11_message_protection_service_ policy, enabled=true policysetsglobalall-domains-default-web-service-policies: Domain Attached policy or policies are valid; endpoint is secure. jrfServer_domainjrfServerjaxws-sut: moduleName=jaxws-sut-service, moduleType=web, serviceName=TestService enableTestPage: true enableWSDL: true TestPort http:host.oracle.com:1234jaxws-sut-serviceTestService enable: true enableREST: false enableSOAP: true maxRequestSize: -1 loggingLevel: NULL management: oraclelog_policy, enabled=true security: oraclewss_username_token_service_policy, enabled=true global security: oraclewss11_message_protection_service_ policy, enabled=true policysetsglobalall-domains-default-web-service-policies : Domain Attached policy or policies are valid; endpoint is secure. For more information about the listWebServices command, see Web Services Custom WLST Commands in WebLogic Scripting Tool Command Reference. Note: The listWebServices command output does not include details on SOA components, including policy attachments. 6-4 Oracle Fusion Middleware Security and Administrators Guide for Web Services Navigating to the Web Services Summary Page for an Application Follow the procedure below to navigate to the page where you can see the list of Web services for your application. To navigate to the Web services summary page for an application: 1. From the navigator pane, click the plus sign + for the Application Deployments folder to expose the applications in the domain, and select the application. The Application Deployment home page is displayed.

2. Using Fusion Middleware Control, click Application Deployment, then click Web

Services . This takes you to the Web Services summary page for your application. Figure 6–2 shows the Web Services summary page for an ADF or WebCenter application. Figure 6–3 shows the Web Services summary page for a WebLogic Java EE application. Figure 6–2 Web Services Home Page for ADF and WebCenter Applications Note: In the Web Service Details section of the page, Oracle Infrastructure Web service provider endpoints display na in the Endpoint Enabled column.