APIs Available With the Java Required Files JRF Domain Template

4-6 Oracle Fusion Middleware Upgrade Guide for Java EE

4.6 Task 6: Upgrade the Application Web Services

To upgrade your Web services from OC4J to Oracle WebLogic Server, refer to the following sections: ■ General Guidelines for Upgrading to Oracle WebLogic Server JAX-RPC and JAX-WS Web Services ■ Generating Oracle WebLogic Server Web Services From an OC4J WSDL ■ Web Services Specifications Supported by OC4J and Oracle WebLogic Server

4.6.1 General Guidelines for Upgrading to Oracle WebLogic Server JAX-RPC and JAX-WS Web Services

In general, to upgrade your Web services from OC4J to Oracle WebLogic Server, you must upgrade your application to use the equivalent Java Web services API on WebLogic Server: Oracle Web Cache Invalidation The Web Cache Invalidation API can continue to be used by ensuring that the appropriate OracleAS 10g jar file is available to the application when deployed to WebLogic Server. An updated, but fully backward compatible, version of this API is also available in as part of the JRF domain template. Section 4.5.1, APIs Available With the Java Required Files JRF Domain Template OracleAS Web Services Oracle Web Services Proxy Oracle Web Services SOAP Oracle Web Services UDDI Client Any application using OracleAS Web Services will require modification to use the equivalent set of Oracle Fusion Middleware or WebLogic Server APIs and features. More specifically: ■ Applications using the OracleAS Web Services, Oracle Web Services Proxy, or Oracle Web Services SOAP API must be modified to use the standard based JAX-RPC or JAX-WS Web Services APIs of WebLogic Server. ■ Applications using the Oracle Web Services UDDI Client API must be modified to use the UDDI v1, v2, or v3 compliant Oracle Service Registry UDDI client API. Oracle Fusion Middleware Introducing WebLogic Web Services for Oracle WebLogic Server OC4J Job Scheduler Oracle provides an upgrade and migration path for the OC4J Job Scheduler to the Oracle Fusion Middleware Enterprise Scheduler ESS. Oracle Ultra Search vs Oracle Secure Enterprise Search, Frequently Asked Questions, which is available in PDF format on the Oracle Technology Network OTN. OC4J Support for JSP Any application using this API will require modification to use the equivalent set of Java Standard Tag Library JSTL tags. Oracle Fusion Middleware Developing Web Applications, Servlets, and JSPs for Oracle WebLogic Server OC4J JMX MBeans Any application using the OC4J JMX MBeans directly for application and environment management purposes will require modification to use the equivalent set of WebLogic Server JMX MBeans. Oracle Fusion Middleware Developing Manageable Applications With JMX for Oracle WebLogic Server Table 4–3 Cont. Other API Changes for Oracle Fusion Middleware 11g API Description and Actions Required More Information Upgrading Your Java EE Applications 4-7 ■ For most OC4J Web services applications, this means upgrading from OC4J JAX-RPC Web services to Oracle WebLogic Server JAX-RPC Web services. In general, the JAX-RPC upgrade process consists of re-generating the Java artifacts on Oracle WebLogic Server to the identical underlying Java business logic using Oracle WebLogic Server Web services tooling. ■ If you are using an older release of OC4J, where Web services standards did not exist within Java EE, Oracle recommends that you upgrade to the Java EE 5.0 standard JAX-WS on Oracle WebLogic Server. For more information, see: ■ How Do I Choose Between JAX-WS and JAX-RPC? in Oracle Fusion Middleware Introducing WebLogic Web Services for Oracle WebLogic Server.

4.6.2 Generating Oracle WebLogic Server Web Services From an OC4J WSDL

For absolute fidelity to a specific OC4J Web services public API its WDSL, you also can regenerate the Web services on WebLogic Server from the OC4J WSDL and deploy the resulting Web service on WebLogic Server. This process is referred to as the top-down approach to developing Web services. After producing the equivalent and deployable Web service artifacts on Oracle WebLogic Server, you can then apply the equivalent quality of service QOS capabilities, such as WS-Security and WS-ReliableMessaging as a secondary administrative operation.

4.6.3 Web Services Specifications Supported by OC4J and Oracle WebLogic Server

Table 4–4 compares the Web services standard specifications supported by OC4J and Oracle WebLogic Server. Note that Oracle WebLogic Server supports all of the Web services standards and specifications supported by OC4J, except for WS-Reliability. Note that this table is provided for comparison purposes only. For the most up-to-date information about the standards supported by Oracle WebLogic Server, refer to the Oracle WebLogic Server documentation and to the Oracle WebLogic Server information available on the Oracle Technology Network OTN. Table 4–4 Web Services Specifications Supported by OC4J and Oracle WebLogic Server Web Services Specification OC4J Support Oracle WebLogic Server Support SOAP 1.1 and 1.2 Yes Yes WSDL 1.1 Yes Yes WS-I 1.0 and 1.1 Yes Yes XML Signature Yes Yes XML Encryption Yes Yes SAML Yes Yes WS-Addressing Yes Yes WS-Security Yes Yes WS-Reliability Yes No WS-SecurePolicy No Yes WS-Policy No Yes