Oracle® Fusion Middleware Application Adapter Upgrade Guide for Oracle WebLogic Server 11g Release 1 (11.1.1.4.0) E17392-04 |
|
Previous |
Next |
This chapter lists and describes upgrade guidelines that are specific to the Oracle Application Adapter for SAP R/3. It contains the following topics:
Selecting a WSDL From the Local File System
On the 10.1.3.4 system, create a new target for Oracle Application Adapter for SAP R/3 using Application Explorer and connect to the target.
Browse to a specific business object and generate an outbound WSDL for this object.
Restart the server.
Start Oracle JDeveloper 10.1.3.4 and create a JCA outbound ESB Project.
In the Custom Adapter service, select the outbound WSDL from the local file system.
Deploy the ESB project successfully and ensure the registration of the ESB project is successful.
On the 11g system, create a target using the same name that was provided on the 10.1.3.4 system.
Copy the deployed ESB project into the 11g system.
Start Oracle JDeveloper 11g and migrate the 10.1.3.4 ESB project.
Once the project is migrated, a successful message is received in Oracle JDeveloper.
Expand the migrated project and double-click the composite.xml file to ensure that the project opens without any errors.
Save and then deploy the migrated ESB project.
Ensure that there are no error or warning messages during the deployment process.
Once the deployment is successful, navigate to the input folder and paste the input XML file.
The successful response XML is received in the specified output folder.
Selecting a WSDL Using Service Explorer
On the 10.1.3.4 system, create a new target for Oracle Application Adapter for SAP R/3 using Application Explorer and connect to the target.
Browse to a specific business object and generate an outbound WSDL for this object.
Restart the server.
Start Oracle JDeveloper 10.1.3.4 and create a JCA outbound ESB Project.
In the Custom Adapter service, select the outbound WSDL using Service Explorer.
Deploy the ESB project successfully and ensure the registration of the ESB project is successful.
On the 11g system, create a target using the same name that was provided on the 10.1.3.4 system.
Copy the deployed ESB project into the 11g system.
Open the project folder and edit the DefaultSystem_CustomAdapterServiceName.esbsvc file (for example, DefaultSystem_isdsrv2_cc_gd.esbsvc) by providing the system IP address and port number (for example, 192.168.128.122:80) of the 10.1.3.4 WSDL generated system in the <wsdlURL>
section that is located within <serviceDefinition>
. For example:
Original
<serviceDefinition><wsdlURL>http://127.0.0.1:80/orainfra/wsil/adapters/applications/isdsrv2_CC_GetDetail_invoke.wsdl?wsdl</wsdlURL>----------------------</endpointDefinition></serviceDefinition>
Modified
<serviceDefinition><wsdlURL>http://192.168.128.122:80/orainfra/wsil/adapters/applications/isdsrv2_CC_GetDetail_invoke.wsdl?wsdl</wsdlURL>----------------------</endpointDefinition></serviceDefinition>
Start Oracle JDeveloper 11g and migrate the 10.1.3.4 ESB project.
Once the project is migrated, a successful message is received in Oracle JDeveloper.
Expand the migrated project and double-click the composite.xml file to ensure that the project opens without any errors.
Save and then deploy the migrated ESB project.
Ensure that there are no error or warning messages during the deployment process.
Once the deployment is successful, navigate to the input folder and paste the input XML file.
The successful response XML is received in the specified output folder.
Selecting a WSDL From the Local File System
On the 10.1.3.4 system, create a new target for Oracle Application Adapter for SAP R/3 using Application Explorer and connect to the target.
Create a new channel for Oracle Application Adapter for SAP R/3.
Browse to a specific business object and generate an inbound WSDL for this object.
Restart the server.
Start Oracle JDeveloper 10.1.3.4 and create a JCA inbound ESB Project.
In the Custom Adapter service, select the inbound WSDL from the local file system.
Deploy the ESB project successfully and ensure the registration of the ESB project is successful.
On the 11g system, create a target and channel using the same name that was provided on the 10.1.3.4 system.
Copy the deployed ESB project into the 11g system.
Start Oracle JDeveloper 11g and migrate the 10.1.3.4 ESB project.
Once the project is migrated, a successful message is received in Oracle JDeveloper.
Expand the migrated project and double-click the composite.xml file to ensure that the project opens without any errors.
Double-click the J2CA properties file under the migrated project in Oracle JDeveloper and remove the following line:
<record-converter className="com.iwaysoftware.afjca15.oracle.InboundXMLRecordConverterImpl"/>
For example:
<adapter-config name="MATMAS01" adapter="iWay ERP Adapter" wsdlLocation="MATMAS01_receive.wsdl?wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata"><resource-adapter className="com.iwaysoftware.afjca15.IWAFOracleResourceAdapter"/><record-converter className="com.iwaysoftware.afjca15.oracle.InboundXMLRecordConverterImpl"/>
Save and then deploy the migrated ESB project.
Ensure that there are no error or warning messages during the deployment process.
Trigger the event messages from the ERP system (for example, SAP GUI) and verify that successful response XML files are received in the specified output folder.
Selecting a WSDL Using Service Explorer
On the 10.1.3.4 system, create a new target for Oracle Application Adapter for SAP R/3 using Application Explorer and connect to the target.
Create a new channel for Oracle Application Adapter for SAP R/3.
Browse to a specific business object and generate an inbound WSDL for this object.
Restart the server.
Start Oracle JDeveloper 10.1.3.4 and create a JCA inbound ESB Project.
In the Custom Adapter service, select the inbound WSDL using Service Explorer.
Deploy the ESB project successfully and ensure the registration of the ESB project is successful.
On the 11g system, create a target and channel using the same name that was provided on the 10.1.3.4 system.
Copy the deployed ESB project into the 11g system.
Open the project folder and edit the files DefaultSystem_CustomAdapterServiceName.esbsvc (for example, DefaultSystem_matmas01_esb.esbsvc) and DefaultSystem_CustomAdapterServiceName_RS.esbsvc (for example, DefaultSystem_matmas01_esb_RS.esbsvc) by providing the system IP address andport number (for example, 192.168.128.122:80) of the 10.1.3.4 WSDL generated system in the <wsdlURL>
sections. For example:
1. Original (DefaultSystem_matmas01_esb.esbsvc)
<interface> <wsdlURL>http://127.0.0.1:80/orainfra/wsil/adapters/applications/MATMAS01_receive.wsdl?wsdl</wsdlURL>------------------</interface>
Modified (DefaultSystem_matmas01_esb.esbsvc)
<interface><wsdlURL>http://192.168.128.122:80/orainfra/wsil/adapters/applications/MATMAS01_receive.wsdl?wsdl</wsdlURL>------------------</interface>
2. Original (DefaultSystem_matmas01_esb_RS.esbsvc)
<serviceDefinition><wsdlURL>http://127.0.0.1:80/orainfra/wsil/adapters/applications/ MATMAS01_receive.wsdl?wsdl</wsdlURL>--------------------------</endpointDefinition></serviceDefinition>
Modified (DefaultSystem_matmas01_esb_RS.esbsvc)
<serviceDefinition><wsdlURL>http://192.168.128.122:80/orainfra/wsil/adapters/applications/ MATMAS01_receive.wsdl?wsdl</wsdlURL>--------------------------</endpointDefinition></serviceDefinition>
Start Oracle JDeveloper 11g and migrate the 10.1.3.4 ESB project.
Once the project is migrated, a successful message is received in Oracle JDeveloper.
Expand the migrated project and double-click the composite.xml file to ensure that the project opens without any errors.
Double-click the J2CA properties file under the migrated project in Oracle JDeveloper and remove the following line:
<record-converter className="com.iwaysoftware.afjca15.oracle.InboundXMLRecordConverterImpl"/>
For example:
<adapter-config name="MATMAS01" adapter="iWay ERP Adapter" wsdlLocation="MATMAS01_receive.wsdl?wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata"><resource-adapter className="com.iwaysoftware.afjca15.IWAFOracleResourceAdapter"/><record-converter className="com.iwaysoftware.afjca15.oracle.InboundXMLRecordConverterImpl"/>
Save and then deploy the migrated ESB project.
Ensure that there are no error or warning messages during the deployment process.
Trigger the event messages from the ERP system (for example, SAP GUI) and verify that successful response XML files are received in the specified output folder.
Selecting a WSDL From the Local File System
On the 10.1.3.4 system, create a new target for Oracle Application Adapter for SAP R/3 using Application Explorer and connect to the target.
Browse to a specific business object and export the schemas into the default location.
Generate the outbound WSDL for the specific business object.
Restart the server.
Start Oracle JDeveloper 10.1.3.4 and create a JCA outbound BPEL Project by uploading the request and response schema generated from Application Explorer in step 2.
In the Partner Link, select the outbound WSDL from the local file system.
Deploy the BPEL project successfully and ensure that there are no error or warning messages during the deployment process.
On the 11g system, create a target using the same name that was provided on the 10.1.3.4 system.
Copy the deployed BPEL project into the 11g system.
Start Oracle JDeveloper 11g and migrate the 10.1.3.4 BPEL project.
Once the project is migrated, a successful message is received in Oracle JDeveloper.
Expand the migrated project and double-click the composite.xml file to ensure that the project opens without any errors.
Save and then deploy the migrated BPEL project.
Ensure that there are no error or warning messages during the deployment process.
Open the Oracle Enterprise Manager console and invoke the input XML in XML / Tree view to receive a successful response XML.
Selecting a WSDL Using Service Explorer
On the 10.1.3.4 system, create a new target for Oracle Application Adapter for SAP R/3 using Application Explorer and connect to the target.
Browse to a specific business object and export the schemas into the default location.
Generate the outbound WSDL for the specific business object.
Restart the server.
Start Oracle JDeveloper 10.1.3.4 and create a JCA outbound BPEL Project by uploading the request and response schema generated from Application Explorer in step 2.
In the Partner Link, select the outbound WSDL from Service Explorer.
Deploy the BPEL project successfully and ensure that there are no error or warning messages during the deployment process.
On the 11g system, create a target using the same name that was provided on the 10.1.3.4 system.
Copy the deployed BPEL project into the 11g system.
Edit the bpel.xml file for the WSDL location in the 10.1.3.4 project folder (Project_Name\bpel):
<partnerLinkBinding name="GetDetail"><property name="wsdlLocation">http://192.168.128.125:80/orainfra/wsil/adapters/applications/isdsrv2_CC_GetDetail_invoke.wsdl?wsdl</property></partnerLinkBinding>
Where the IP address and port number refer to the 10.1.3.4 system where the WSDL was generated.
Ensure that the 10.1.3.4 server is up and running.
Start Oracle JDeveloper 11g and migrate the 10.1.3.4 BPEL project.
Once the project is migrated, a successful message is received in Oracle JDeveloper.
Expand the migrated project and double-click the composite.xml file to ensure that the project opens without any errors.
Save and then deploy the migrated BPEL project.
Ensure that there are no error or warning messages during the deployment process.
Open the Oracle Enterprise Manager console and invoke the input XML in XML / Tree view to receive a successful response XML.
Selecting a WSDL From the Local File System
On the 10.1.3.4 system, create a new target for Oracle Application Adapter for SAP R/3 using Application Explorer and connect to the target.
Create a new channel for Oracle Application Adapter for SAP R/3.
Browse to a specific business object.
Generate the inbound WSDL for the specific business object.
Restart the server.
Start Oracle JDeveloper 10.1.3.4 and create a JCA inbound BPEL Project by selecting the inbound WSDL from the local file system in the Partner Link
Deploy the BPEL project successfully and ensure that there are no error or warning messages during the deployment process.
Trigger the event messages from the SAP R/3 system and ensure that successful instances are received in the BPEL Console.
On the 11g system, create a target and channel using the same name that was provided on the 10.1.3.4 system.
Copy the deployed BPEL project into the 11g system.
Start Oracle JDeveloper 11g and migrate the 10.1.3.4 BPEL project.
Once the project is migrated, a successful message is received in Oracle JDeveloper.
Expand the migrated project and double-click the composite.xml file to ensure that the project opens without any errors.
Double-click the J2CA properties file under the migrated project in Oracle JDeveloper and remove the following line:
<record-converter className="com.iwaysoftware.afjca15.oracle.InboundXMLRecordConverterImpl"/>
For example:
<adapter-config name="MATMAS01" adapter="iWay ERP Adapter" wsdlLocation="MATMAS01_receive.wsdl?wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata"><resource-adapter className="com.iwaysoftware.afjca15.IWAFOracleResourceAdapter"/><record-converter className="com.iwaysoftware.afjca15.oracle.InboundXMLRecordConverterImpl"/>
Save and then deploy the migrated BPEL project.
Ensure that there are no error or warning messages during the deployment process.
Trigger the event messages from the SAP R/3 system and ensure that successful instances are received in the Oracle Enterprise Manager console.
Selecting a WSDL Using Service Explorer
On the 10.1.3.4 system, create a new target for Oracle Application Adapter for SAP R/3 using Application Explorer and connect to the target.
Create a new channel for Oracle Application Adapter for SAP R/3.
Browse to a specific business object.
Generate the inbound WSDL for the specific business object.
Restart the server.
Start Oracle JDeveloper 10.1.3.4 and create a JCA inbound BPEL Project by selecting the inbound WSDL from the Service Explorer in the Partner Link.
Deploy the BPEL project successfully and ensure that there are no error or warning messages during the deployment process.
Trigger the event messages from the SAP R/3 system and ensure that successful instances are received in the BPEL Console.
On the 11g system, create a target and channel using the same name that was provided on the 10.1.3.4 system.
Copy the deployed BPEL project into the 11g system.
Edit the bpel.xml file for the WSDL location in the 10.1.3.4 project folder (Project_Name\bpel):
<partnerLinkBinding name="MATMAS01"><property name="wsdlLocation">http://192.168.128.122:80
/orainfra/wsil/adapters/applications/MATMAS01_receive.wsdl?wsdl</property></partnerLinkBinding>
Where the IP address and port number refer to the 10.1.3.4 system where the WSDL was generated.
Ensure that the 10.1.3.4 server is up and running.
Start Oracle JDeveloper 11g and migrate the 10.1.3.4 BPEL project.
Once the project is migrated, a successful message is received in Oracle JDeveloper.
Expand the migrated project and double-click the composite.xml file to ensure that the project opens without any errors.
Double-click the J2CA properties file under the migrated project in Oracle JDeveloper and remove the following line:
<record-converter className="com.iwaysoftware.afjca15.oracle.InboundXMLRecordConverterImpl"/>
For example:
<adapter-config name="MATMAS01" adapter="iWay ERP Adapter" wsdlLocation="MATMAS01_receive.wsdl?wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata"><resource-adapter className="com.iwaysoftware.afjca15.IWAFOracleResourceAdapter"/><record-converter className="com.iwaysoftware.afjca15.oracle.InboundXMLRecordConverterImpl"/>
Save and then deploy the migrated BPEL project.
Ensure that there are no error or warning messages during the deployment process.
Trigger the event messages from the SAP R/3 system and ensure that successful instances are received in the Oracle Enterprise Manager console.