Click the Configuration tab. For SOA composites, click the Properties tab. In the REST Enabled field, select True from the menu to enable REST, or select

6-18 Oracle Fusion Middleware Security and Administrators Guide for Web Services Enabling or Disabling the Display of the Web Service WSDL Document The following procedures describe how to enable or disable the display of the Web service WSDL document. Using Fusion Middleware Control To enable or disable the display of the Web service WSDL document:

1. Navigate to the Web Service Endpoint page, or the Service Home page for SOA

composites, as described in Viewing the Details for a Web Service Endpoint on page 6-7.

2. Click the Configuration tab. For SOA composites, click the Properties tab.

3. From the WSDL Enabled field, select True from the menu to enable the display of

the WSDL or False to disable the display of the WSDL, and click Apply. 4. For ADF and WebCenter applications, restart the Web service application. You do not need to restart a SOA composite. Using WLST To enable or disable the display of a WSDL document for a Web service endpoint port, use the setWebServiceConfiguration command. Set the enableWSDL property of the itemProperties argument to true to enable display the WSDL and to false to disable it. The procedure for using this command is described in Using WLST in Configuring the Web Service Endpoint on page 6-12. For example, to enable the WSDL display for the WsdlConcretePort, use the following command: wls:wls-domainserverConfig setWebServiceConfiguration wls-domainAdminServerjaxwsejb30ws,jaxwsejb,web, WsdlConcreteService,WsdlConcretePort,[enableWSDL,true] Please restart application to uptake the policy changes. For more information about this WLST command, see Web Services Custom WLST Commands in WebLogic Scripting Tool Command Reference. Note: The procedures described in this section apply to Oracle Infrastructure Web services and providers only. Note: You need to wait approximately 30 seconds or the equivalent of the configured Graceful Shutdown Timeout time between stopping and restarting the application. During this time, the server is allowing all global transactions to complete before shutting down the application. If you do not wait the configured Graceful Shutdown Timeout time, then the application will not be restarted appropriately and you will not be able to access it. To avoid waiting the graceful shutdown timeout period, you can restart the application twice. Administering Web Services 6-19 Enabling or Disabling the Exchange of Metadata The following procedure describes how to enable or disable the exchange of Web service metadata. To enable or disable the exchange of metadata: 1. Navigate to the Web Service Endpoint page, or the Service Home page for SOA composites, as described in Viewing the Details for a Web Service Endpoint on page 6-7.

2. Click the Configuration tab. For SOA composites, click the Properties tab.

3. In the Metadata Exchange Enabled field, select True from the menu to enable the

exchange of metadata or False to disable the exchange of metadata, and click Apply. 4. For ADF and WebCenter applications, restart the Web service application. You do not need to restart a SOA composite.