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
You can follow the same procedure in "Selecting a WSDL From the Local File System".
Selecting a WSDL Using Service Explorer
You can follow the same procedure in "Selecting a WSDL Using Service Explorer".
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="DEPT_SYNC_VERSION_1" adapter="iWay ERP Adapter" wsdlLocation="isdsrv14_DEPT_SYNC_receive.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, PeopleTools) 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 DefaultSystem_CustomAdapterServiceName.esbsvc file (for example, DefaultSystem_dept_sync_wsdl_brows.esbsvc) and DefaultSystem_CustomAdapterServiceName_RS.esbsvc file (for example, DefaultSystem_dept_sync_wsdl_brows_RS.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>
sections. For example:
1. Original (DefaultSystem_dept_sync_wsdl_brows.esbsvc)
<interface> <wsdlURL>http://127.0.0.1:80/orainfra/wsil/adapters/applications/isdsrv14_DEPT_SYNC_receive_esb.wsdl?wsdl</wsdlURL>------------------</interface>
Modified (DefaultSystem_dept_sync_wsdl_brows.esbsvc)
<interface> <wsdlURL>http://192.168.128.122:80/orainfra/wsil/adapters/applications/isdsrv14_DEPT_SYNC_receive_esb.wsdl?wsdl</wsdlURL>------------------</interface>
2. Original (DefaultSystem_dept_sync_wsdl_brows_RS.esbsvc)
<serviceDefinition><wsdlURL>http://127.0.0.1:80/orainfra/wsil/adapters/applications/ isdsrv14_DEPT_SYNC_receive_esb.wsdl?wsdl</wsdlURL>--------------------------</endpointDefinition></serviceDefinition>
Modified (DefaultSystem_dept_sync_wsdl_brows_RS.esbsvc)
<serviceDefinition><wsdlURL>http://192.168.128.122:80/orainfra/wsil/adapters/applications/ isdsrv14_DEPT_SYNC_receive_esb.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="DEPT_SYNC_VERSION_1" adapter="iWay ERP Adapter" wsdlLocation="isdsrv14_DEPT_SYNC_receive.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, PeopleTools) 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.
Modify the request and response schema that was exported from Application Explorer by changing the elementFormDefault value from unqualified to qualified.
Restart the server.
Start Oracle JDeveloper 10.1.3.4 and create a JCA outbound BPEL Project by uploading the request and response schema that is modified in step 4.
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.
Modify the request and response schema that was exported from Application Explorer by changing the elementFormDefault value from unqualified to qualified.
Restart the server.
Start Oracle JDeveloper 10.1.3.4 and create a JCA outbound BPEL Project by uploading the request and response schema that is modified in step 4.
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="DEPT"><property name="wsdlLocation">http://192.168.128.125:80
/orainfra/wsil/adapters/applications/isdsrv14_DEPT_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
You can follow the same procedure in "Selecting a WSDL From the Local File System".
Selecting a WSDL Using Service Explorer
You can follow the same procedure in "Selecting a WSDL Using Service Explorer".