Documente Academic
Documente Profesional
Documente Cultură
This guide also covers the required steps for installing and configuring SOA on the same physical server
hosting EBS. The guide is intended to provide all of the necessary information and tools to install and
configure the middleware used for EBS-OTM integration.
Requirements
Application Server – Oracle WebLogic Server version 10.3.6
Fusion Middleware Component – Oracle SOA Suite 11.1.1.9.0
EBS Application version 12.2.x
OTM Application version 6.4.x
Prerequisites
The following prerequisites exists for the middleware architecture:
Oracle SOA Suite 11g Release 1 (11.1.1) and required Fusion Middleware components must be
installed on a standalone server accessing an Oracle E-Business Suite Release 12 database, or in
a separate fusion middleware ORACLE_HOME on an existing Oracle E-Business Suite application
tier server node. This guide will cover the latter configuration where they are installed in a
separate fusion middleware ORACLE_HOME on the same server hosting EBS.
The Oracle SOA Suite 11g Fusion Middleware libraries are installed on the same server where
EBS is hosted but in a different Fusion Middleware ORACLE_HOME directory. Refer to
https://docs.oracle.com/middleware/11119/core/INSOA/toc.htm for the steps needed to
install SOA.
WebLogic 10.3.6 libraries is installed in the separate fusion middleware ORACLE_HOME. Refer
to https://docs.oracle.com/middleware/11119/wls/WLSIG/toc.htm for the steps needed to
install WebLogic. A compatible Java version should also be installed to use for the installation.
The Repository Creation Utility (RCU) has been downloaded. The Repository Creation Utility
can be downloaded from My Oracle Support as Patch 20996068 .
The SOA suite schemas will be hosted on the same database where the EBS schemas are
hosted. They can also be hosted in a separate database if needed.
EBS 12.2.x is installed.
OTM 6.4.x is installed on a separate server than where EBS and SOA are installed.
After downloading the .zip file from Patch 20996068, extract the contents to a directory of your choice.
This directory will be referred to as the RCU_HOME directory.
Start RCU from the bin directory inside the RCU_HOME directory:
cd RCU_HOME/bin
./rcu
https://docs.oracle.com/middleware/11119/wls/WLSIG/toc.htm
Note that if you are using the general installer, Java must be installed on the server. The following
screenshots are an overview of what you will go through after starting the installer in graphical mode
per the link above.
After WebLogic has been installed, you are now ready to install the SOA suite libraries. The general SOA
documentation is located here:
https://docs.oracle.com/middleware/11119/core/INSOA/toc.htm
From the link above, follow Section 2.2.1 to obtain the software. Follow Section 2.2.2 for steps to start
the installer. Once started you should see the following screen:
cd SOA_ORACLE_HOME/common/bin
./config.sh
IMPORTANT NOTE: Since the application server for SOA is installed on the same server as EBS, it is
important that you do not click next on the following screen, without first checking the box for
Administration Server – Modify Settings. This is because without doing so, the Admin server will be
installed with default settings. Since there is already another WebLogic instance for EBS, there will be
an issue with conflicting ports for the admin server. Ensure to check the checkbox next to
Administration Server – Modify Settings and change the WebLogic Admin port to something other than
7001 (example: 7010) as 7001 is being used for the EBS WebLogic instance. You do NOT need to change
settings for the SOA managed server as the default port of 8001 is not in use. Failure to do this step will
result in failing to startup the WebLogic server.
After changing the port, you will get a confirmation that the domain was created successfully.
The fndext.jar file must be added to the WebLogic CLASSPATH on the Oracle SOA Suite 11g installation.
Unzip the patch, and copy the fndext.jar to the $DOMAIN_HOME/lib directory of the current
WebLogic domain where SOA is installed.
Set the property Start Script Enabled to true. Failure to set this property will result in errors when
starting the SOA managed server.
StartScriptEnabled=true
To start the WebLogic Admin Server, the following environment variables should be set. Do not blindly
copy and paste the values below as they are shown for example purposes only. Use the correct values
and paths based on your specific WebLogic install:
export MW_HOME=/global/oracle/omsoa01/app/Middleware
export ORACLE_INSTANCE=${MW_HOME}/instances/instance1
export DOMAIN_NAME=soa_domain
export DOMAIN_HOME=${MW_HOME}/user_projects/domains/${DOMAIN_NAME}
export WLS_USER=weblogic
export WLS_PW=password
http://<server_host_name>:<weblogic_port>/console
Enter the WebLogic Administrator user credentials specified when creating the WebLogic Server Domain
earlier in this section.
Navigate to $ORACLE_HOME /wlserver_10.3/server/bin. Run the following command to start the node
manager:
The node manager must be running in order to start the SOA managed server in WebLogic. Once node
manager has started, you can start the SOA managed server from the WebLogic Admin Console. From
the console, navigate to Environment -> Servers and click the ‘Control’ tab. Check the checkbox next to
SOA server and click Start. The SOA managed server should start successfully and should eventually
show a State of RUNNING.
Application users must be initially created using the Users window in the System Administrator
responsibility within the Oracle E-Business Suite (Security > Users > Define menu path), shown in the
following screenshot. The user meant to have the UMX|APPS_SCHEMA_CONNECT role does not need
any assigned responsibilities. For better security, in fact, this user should not have any roles or
responsibilities other than UMX|APPS_SCHEMA_CONNECT.
Note: For EBS, this user has usually already been created which is ASADMIN. If this user exists, verify
their roles and responsibilities as below. If this user does not exist, you can create the user with the
respective role and responsibility. You must know the password for ASADMIN. If you do not know
the password for ASADMIN then login to EBS as sysadmin/sysadmin and update the password for
ASADMIN. Alternatively, you can create a new user with the respective role and responsibility. The
password for this user will be needed when deploying the SOA composites.
The ant command used in this section generates the payload file. The payload file contains a DBC file,
which is used to connect to the Oracle E-Business Suite from the Oracle SOA Suite 11g installation.
To create the payload file, perform the following steps on the Oracle E-Business Suite instance:
Step 1: Source Oracle E-Business Suite environment file from RUN File System:
source $APPL_TOP/APPS.env
ant -f $JAVA_TOP/oracle/apps/fnd/bpel/util/txk_integration_packager.xml -
DIntegration=bpel11g
-DFMWNodeName=<Oracle SOA Suite 11g Node name>
-DFMWIpAddress=<The Oracle SOA Suite IP Address>
-DgenDBC=<yes or no>
ant -f $JAVA_TOP/oracle/apps/fnd/bpel/util/txk_integration_packager.xml -
DIntegration=bpel11g -DFMWNodeName=ebsotm.us.oracle.com -
DFMWIpAddress=10.141.154.117 -DgenDBC=yes
Note: A DBC file will be generated in the above example as the flag -DgenDBC is set to yes (-DgenDBC
=yes).
Collects technology integration specific files for SOA integration. The collected files include the
following:
o All BPEL, Mediator, Human Task Forms related files from different product directories in
the Oracle E-Business Suite installation.
o Central SOA process deployment files (for example, the EbsBpelMasterBuild11g.xml and
corresponding properties files)
Packages all the collected contents (from a staging directory) into a payload.zip file in the
following location:
$APPLRGF/TXK/EBS_BPEL_payload.zip
Copy the payload file to the Oracle SOA Suite 11g Server and unzip the file. This will create
$ORACLE_HOME/appsutil/<Oracle E-Business Suite instance name>/bpel directory.
Note: The environment variables set in the above example are for illustration only. Do NOT blindly
copy these values to your environment. The values of the environment variables shown are examples
only. Set the appropriate environment variables based on your specific installation.
Note: The value listed for each property are for example purposes only. Do NOT blindly copy these
values. The values should be specified based on your OTM and EBS installations. The values for
EbsAppsAdapter, EbsDBAdapter, and EbsAqAdapter should be the only ones kept the same. All other
property values not specified below can be left blank in the EbsBpelGlobal11g.properties file.
EbsDbAdapter=eis/DB/otm_EbsDbAdapter
EbsAqAdapter=eis/AQ/otm_EbsAqAdapter
oracle.home=/u01/Integration/SOAMW_Home/Oracle_SOA1
wl.home=/u01/Integration/SOAMW_Home/wlserver_10.3
wl.user=weblogic
wl.soaServerURL=http://ebsotm.us.oracle.com:8001
wl.target.server=soa_server1
wl.soaAdminServerURL=t3://ebsotm.us.oracle.com:7010
otm.server.url=http://otmebs.us.oracle.com:7778
This section provides detailed information regarding the creation of these Connection Objects by using
the supplied ANT scripts.
The provided command-line ant script, as part of this installation will create the Connection Factories as
per the property values specified for the particular connection Adapter (EbsDbAdapter,
EbsAppsAdapter, or EbsAqAdapter) in the EbsBpelGlobal11g.properties file.
Note: The ant commands are for illustration only. Ensure that both the WebLogic Admin and
Managed Servers are up and running before executing the ant command per section Starting
WebLogic Administration Server and Configuring Node Manager Port.
Before running the ant script following environment files are need to be sourced:
source $MW_HOME/user_projects/domains/<soa_domain>/bin/setDomainEnv.sh
source $MW_HOME/Oracle_SOA1/common/bin/setWlstEnv.sh
Buildfile: EbsBpelMasterBuild11g.xml
getCredentials:
init:
[echo] to be created.
[echo] Default (no flag) is to use Adapter values from EbsGlobal.properties file
findOS:
getWLSAdminPasswordWindows:
getWLSAdminPasswordUnix:
echoON:
echoOFF:
getASADMINPasswordWindows:
getASADMINPasswordUnix:
echoON:
echoOFF:
checkDBCExists:
getappsDBDetails:
createDataSource:
[echo] ********************************************************************
[echo] ********************************************************************
[wlst]
[wlst]
[wlst]
[wlst] DomainMBean as the root. To make changes you will need to start
[wlst]
[wlst] You already have an edit session in progress and hence WLST will
[wlst]
[wlst] Started edit session, please be sure to save and activate your
[wlst]
[wlst]
[wlst]
[wlst]
[wlst]
[wlst] Setting User and dbcFile properties for the Datasource CustomerDbConnectionDS
[wlst]
[wlst]
[wlst]
[wlst]
[wlst] Activating all your changes, this may take a while ...
[wlst] The edit lock associated with this edit session is released
createOutboundConnections:
[echo] ********************************************************************
[echo] ********************************************************************
[wlst]
[wlst]
[wlst]
[wlst]
[wlst]
[wlst] <Nov 16, 2016 12:11:27 PM EST> <Info> <J2EE Deployment SPI> <BEA-260072> <Saved
configuration for application, AqAdapter.rar>
[wlst]
[wlst]
[wlst]
[wlst]
[wlst]
[wlst]
[wlst]
[wlst]
[wlst]
[wlst]
[wlst]
[wlst] <Nov 16, 2016 12:11:27 PM EST> <Info> <J2EE Deployment SPI> <BEA-260072> <Saved
configuration for application, AqAdapter.rar>
[wlst] DomainMBean as the root. To make changes you will need to start
[wlst]
[wlst] You already have an edit session in progress and hence WLST will
[wlst]
[wlst] Started edit session, please be sure to save and activate your
[wlst] <Nov 16, 2016 12:11:32 PM EST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating
redeploy operation for application, AqAdapter [archive: null], to soa_server1
.>
[wlst] You have an edit session in progress, hence WLST will not
[wlst] Started the Redeployment of Application. Please refer to the returned WLSTProgress
object or variable LAST to track the status.
[wlst] Activating all your changes, this may take a while ...
[wlst] The edit lock associated with this edit session is released
[wlst]
[wlst]
[wlst] <Nov 16, 2016 12:11:39 PM EST> <Info> <J2EE Deployment SPI> <BEA-260072> <Saved
configuration for application, DbAdapter.rar>
[wlst]
[wlst]
[wlst]
[wlst]
[wlst]
[wlst]
[wlst]
[wlst]
[wlst]
[wlst]
[wlst]
[wlst]
[wlst] <Nov 16, 2016 12:11:39 PM EST> <Info> <J2EE Deployment SPI> <BEA-260072> <Saved
configuration for application, DbAdapter.rar>
[wlst]
[wlst] Started edit session, please be sure to save and activate your
[wlst] <Nov 16, 2016 12:11:40 PM EST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating
redeploy operation for application, DbAdapter [archive: null], to soa_server1
.>
[wlst] You have an edit session in progress, hence WLST will not
[wlst] Started the Redeployment of Application. Please refer to the returned WLSTProgress
object or variable LAST to track the status.
[wlst]
[wlst] Activating all your changes, this may take a while ...
[wlst] The edit lock associated with this edit session is released
[wlst]
[wlst]
[wlst] <Nov 16, 2016 12:11:44 PM EST> <Info> <J2EE Deployment SPI> <BEA-260072> <Saved
configuration for application, AppsAdapter.rar>
[wlst]
[wlst]
[wlst]
[wlst]
[wlst]
[wlst]
[wlst]
[wlst]
[wlst]
[wlst]
[wlst]
[wlst]
[wlst] <Nov 16, 2016 12:11:44 PM EST> <Info> <J2EE Deployment SPI> <BEA-260072> <Saved
configuration for application, AppsAdapter.rar>
[wlst]
[wlst] Started edit session, please be sure to save and activate your
[wlst] <Nov 16, 2016 12:11:45 PM EST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating
redeploy operation for application, OracleAppsAdapter [archive: null], to soa_
server1 .>
[wlst] You have an edit session in progress, hence WLST will not
[wlst] Started the Redeployment of Application. Please refer to the returned WLSTProgress
object or variable LAST to track the status.
[wlst]
[wlst] Activating all your changes, this may take a while ...
[wlst] The edit lock associated with this edit session is released
[wlst] <Nov 16, 2016 12:11:46 PM EST> <Warning> <JNDI> <BEA-050001> <WLContext.close() was
called in a different thread than the one in which it was created.>
BUILD SUCCESSFUL
You can also verify the connection factory through the WebLogic admin console. Access the admin
console through http://<server_host_name>:<weblogic_port>/console
The ant scripts for deployment and the property files are located in the $MW_HOME/appsutil/<EBS
Environment name>/bpel directory. Navigate to the specified directory.
The following 3 commands will be executed separately for OTM. You will need the weblogic admin
password as an input for each command:
If executed successfully, a similar command line output as below should be seen for all three commands:
Buildfile: EbsBpelMasterBuild11g.xml
getCredentials:
init:
[echo] to be created.
[echo] Default (no flag) is to use Adapter values from EbsGlobal.properties file
[echo] Master Build one specific product team deployment : ant -Dstage.dir={/build root
directory} -f EbsBpelMasterBuild11g.xml {all or product_name}
wsh_otm:
init:
projectwithlist:
processProjects:
extractFile:
[unzip] Expanding:
/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wsh/sca_wsh_SendOtmDocument.jar into
/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wsh
/newtemp
processConfigplan:
[echo] configplans :
/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wsh/WshSendOtmDocument_cfgplan.xml
deployComposite:
[echo] sarName :
/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wsh/sca_wsh_SendOtmDocument.jar
[echo]
configplans:/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wsh/WshSendOtmDocument_cfgpla
n.xml
[echo]
sarName:/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wsh/sca_wsh_SendOtmDocument.jar
deploy:
[deployComposite] INFO: Received HTTP response from the server, response code=200
processProjects:
extractFile:
[unzip] Expanding:
/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wsh/sca_wsh_SendLocRefDataToOtm.jar into
/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel
/wsh/newtemp
processConfigplan:
[echo] configplans :
/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wsh/WshSendLocRefDataToOtm_cfgplan.xml
deployComposite:
[echo] sarName :
/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wsh/sca_wsh_SendLocRefDataToOtm.jar
[echo]
configplans:/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wsh/WshSendLocRefDataToOtm_cf
gplan.xml
[echo]
sarName:/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wsh/sca_wsh_SendLocRefDataToOtm.j
ar
deploy:
[deployComposite] Processing
sar=/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wsh/sca_wsh_SendLocRefDataToOtm.jar
[deployComposite] INFO: Received HTTP response from the server, response code=200
extractFile:
[unzip] Expanding:
/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wsh/sca_wsh_SendRefDataStlToOtm.jar into
/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel
/wsh/newtemp
processConfigplan:
[echo] configplans :
/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wsh/WshSendRefDataStlToOtm_cfgplan.xml
deployComposite:
[echo] sarName :
/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wsh/sca_wsh_SendRefDataStlToOtm.jar
[echo]
configplans:/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wsh/WshSendRefDataStlToOtm_cf
gplan.xml
[echo]
sarName:/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wsh/sca_wsh_SendRefDataStlToOtm.j
ar
deploy:
[deployComposite] Processing
sar=/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wsh/sca_wsh_SendRefDataStlToOtm.jar
[deployComposite] INFO: Received HTTP response from the server, response code=200
processProjects:
extractFile:
[unzip] Expanding:
/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wsh/sca_wsh_SendDlvyToOtmService.jar into
/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpe
l/wsh/newtemp
processConfigplan:
[echo] configplans :
/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wsh/WshSendDlvyToOtmService_cfgplan.xml
deployComposite:
[echo] sarName :
/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wsh/sca_wsh_SendDlvyToOtmService.jar
[echo]
configplans:/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wsh/WshSendDlvyToOtmService_c
fgplan.xml
[echo]
sarName:/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wsh/sca_wsh_SendDlvyToOtmService.
jar
deploy:
[deployComposite] Processing
sar=/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wsh/sca_wsh_SendDlvyToOtmService.jar
[deployComposite] INFO: Received HTTP response from the server, response code=200
processProjects:
extractFile:
[unzip] Expanding:
/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wsh/sca_wsh_SendItemRefDataToOtm.jar into
/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpe
l/wsh/newtemp
processConfigplan:
deployComposite:
[echo] sarName :
/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wsh/sca_wsh_SendItemRefDataToOtm.jar
[echo]
configplans:/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wsh/WshSendItemRefDataToOtm_c
fgplan.xml
[echo]
sarName:/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wsh/sca_wsh_SendItemRefDataToOtm.
jar
deploy:
[deployComposite] Processing
sar=/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wsh/sca_wsh_SendItemRefDataToOtm.jar
[deployComposite] INFO: Received HTTP response from the server, response code=200
processProjects:
extractFile:
[unzip] Expanding:
/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wsh/sca_wsh_SendTripToOtmService.jar into
/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpe
l/wsh/newtemp
processConfigplan:
[echo] configplans :
/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wsh/WshSendTripToOtmService_cfgplan.xml
deployComposite:
[echo] sarName :
/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wsh/sca_wsh_SendTripToOtmService.jar
[echo]
configplans:/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wsh/WshSendTripToOtmService_c
fgplan.xml
[echo]
sarName:/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wsh/sca_wsh_SendTripToOtmService.
jar
deploy:
[deployComposite] Processing
sar=/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wsh/sca_wsh_SendTripToOtmService.jar
[deployComposite] INFO: Received HTTP response from the server, response code=200
processProjects:
extractFile:
processConfigplan:
[echo] configplans :
/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wsh/WshSendTxnToOtmService_cfgplan.xml
deployComposite:
[echo] sarName :
/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wsh/sca_wsh_SendTxnToOtmService.jar
[echo]
configplans:/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wsh/WshSendTxnToOtmService_cf
gplan.xml
[echo]
sarName:/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wsh/sca_wsh_SendTxnToOtmService.j
ar
[deployComposite] Processing
sar=/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wsh/sca_wsh_SendTxnToOtmService.jar
[deployComposite] INFO: Received HTTP response from the server, response code=200
processProjects:
extractFile:
[unzip] Expanding:
/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wsh/sca_wsh_ReceivePShipmentFromOtm.jar
into /u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/
bpel/wsh/newtemp
processConfigplan:
[echo] configplans :
/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wsh/WshReceivePShipmentFromOtm_cfgplan.xm
l
deployComposite:
[echo] sarName :
/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wsh/sca_wsh_ReceivePShipmentFromOtm.jar
[echo]
configplans:/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wsh/WshReceivePShipmentFromOt
m_cfgplan.xml
[echo]
sarName:/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wsh/sca_wsh_ReceivePShipmentFromO
tm.jar
deploy:
[deployComposite] Processing
sar=/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wsh/sca_wsh_ReceivePShipmentFromOtm.j
ar
BUILD SUCCESSFUL
Buildfile: EbsBpelMasterBuild11g.xml
getCredentials:
init:
[echo] to be created.
[echo] Default (no flag) is to use Adapter values from EbsGlobal.properties file
usage:
[echo] Master Build one specific product team deployment : ant -Dstage.dir={/build root
directory} -f EbsBpelMasterBuild11g.xml {all or product_name}
wms_otm:
init:
[echo] Using file order list for this deployment from EbsBpelLocal.properties
projwithnolist:
[echo] library.Project:${library.project}
processProjects:
extractFile:
[unzip] Expanding:
/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wms/sca_wms_SendDockDoorToOtm.jar into
/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/w
ms/newtemp
processConfigplan:
[echo] configplans :
/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wms/WmsSendDockDoorToOtm_cfgplan.xml
deployComposite:
[echo] sarName :
/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wms/sca_wms_SendDockDoorToOtm.jar
[echo]
configplans:/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wms/WmsSendDockDoorToOtm_cfgp
lan.xml
[echo]
sarName:/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wms/sca_wms_SendDockDoorToOtm.jar
deploy:
[deployComposite] Processing
sar=/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/wms/sca_wms_SendDockDoorToOtm.jar
[deployComposite] INFO: Received HTTP response from the server, response code=200
BUILD SUCCESSFUL
Buildfile: EbsBpelMasterBuild11g.xml
getCredentials:
init:
[echo] to be created.
[echo] Default (no flag) is to use Adapter values from EbsGlobal.properties file
usage:
[echo] Master Build one specific product team deployment : ant -Dstage.dir={/build root
directory} -f EbsBpelMasterBuild11g.xml {all or product_name}
po_otm:
init:
[echo] Using file order list for this deployment from EbsBpelLocal.properties
projwithnolist:
[echo] library.Project:${library.project}
processProjects:
extractFile:
[unzip] Expanding:
/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/po/sca_po_SendPoToOtm.jar into
/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/po/newtem
p
processConfigplan:
[echo] configplans :
/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/po/PoSendPoToOtm_cfgplan.xml
[echo] sarName :
/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/po/sca_po_SendPoToOtm.jar
[echo]
configplans:/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/po/PoSendPoToOtm_cfgplan.xml
[echo]
sarName:/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/po/sca_po_SendPoToOtm.jar
deploy:
[deployComposite] Processing
sar=/u01/Integration/SOAMW_Home/appsutil/EBSOTM_ebsotm/bpel/po/sca_po_SendPoToOtm.jar
[deployComposite] INFO: Received HTTP response from the server, response code=200
BUILD SUCCESSFUL
[oracle@ebsotm bpel]$
The previous section covered the deployment of SOA composites for EBS Shipping – OTM integration
flow and EBS PO – OTM integration flow. The EBS Account Payables (AP) – OTM integration flow is
deployed as a separate process. The OtmVoucherToOracleApInvoice SOA Composite is used to interface
the outbound Oracle Transportation Management (OTM) product Voucher XML interface to the Oracle
E-Business Suite (EBS) Accounts Payable product Invoice XML interface. This composite will require
configuration setup and changes to the .jar file prior to deploying.
$OTM_HOME/utils/integration/bpel/flows folder
Files:
OtmVoucherToOracleApInvoice_11g.zip
OtmVoucherUserExit_11g.zip
FTP the above mentioned zip files to either your local desktop or the SOA server (wherever you will be
making the modifications to these composites).
sca_OtmVoucherUserExit_rev1.0.jar
shared_archive.jar
Create a zip file which will contain both sca_OtmVoucherUserExit_rev1.0.jar and shared_archive.jar.
These must be deployed together, otherwise you will receive errors when deploying the
OtmVoucherToOracleApInvoice composite. The shared_archive.jar file contains the WSDL that will be
reference by the OtmVoucherToOracleApInvoice composite. The zip file to be created can be named
anything (ex. Soa.zip) as long as it contains both sca_OtmVoucherUserExit_rev1.0.jar and
shared_archive.jar.
http://<server_host_name>:<weblogic_port>/em
Browse for the zip file and select the archive location. Under Configuration Plan select ‘No external
configuration plan is required’.
Click Next.
sca_OtmVoucherToOracleApInvoice_rev1.0.jar
deployPlan.xml
You will need to download a tool that has the capability of opening and modifying contents of .jar files.
You can use JDeveloper 11g, Winzip or any other tool to open
sca_OtmVoucherToOracleApInvoice_rev1.0.jar.
Once the .jar file has been opened, you will need to make modifications to the following files contained
in sca_OtmVoucherToOracleApInvoice_rev1.0.jar:
ApInvoice_db.jca
composite.xml
QueryOrgId_db.jca
xsl/Voucher_To_ApInvoice_Transform.xsl
Note: The above is used as an example based on the parameters used to create the Datasource and
Connection Factories in Creating Datasource and Connection Factories section of this document. If
you used the same parameters, then you can make the exact change as above. If not, then you will
need to modify the location and connection name to match to what you used when initially creating
the datasource and connection factories.
Note: The above is used as an example based on the parameters used to create the Datasource and
Connection Factories in Creating Datasource and Connection Factories section of this document. If
you used the same parameters, then you can make the exact change as above. If not, then you will
need to modify the location and connection name to match to what you used when initially creating
the datasource and connection factories.
location="http://<soa_server_hostname>:<soa_managed_server_port>/soa-
infra/services/default/OtmVoucherUserExit/OtmVoucherUserExitService?WSDL"
Note: Do not make the same exact change as displayed in the screenshot above as this is used for
example purposes only. The port to be used is NOT the same port for which the WebLogic Admin
Server listens on. If you are unsure of what the port is, access the WebLogic Admin Console through
http://<server_host_name>:<weblogic_port>/console. Click on Environment ->Servers. The Listen
Port highlighted below for the SOA Server is what should be used in the change made to the
composite.xml.
<xsl:variable name="CONN">jdbc/CustomerDBConnectionDS</xsl:variable>
Note: The above is used as an example based on the parameters used to create the Datasource and
Connection Factories in Creating Datasource and Connection Factories section of this document. If
you used the same parameters, then you can make the exact change as above. If not, then you will
need to modify the location and connection name to match to what you used when initially creating
the datasource and connection factories.
For ease of modification, the resulting modified portion of the XML has been included below (which can
be copied and pasted):
<xsl:for-each select="ns1:Shipment">
<xsl:if
test='ns1:ShipmentHeader/ns1:ServiceProviderAlias[ns1:ServiceProviderAliasQualifierGid/ns1:Gid/ns
1:Xid = "VENDOR_SITE_CODE"]/ns1:ServiceProviderAliasValue'>
<vendorSiteCode>
<xsl:value-of
select='ns1:ShipmentHeader/ns1:ServiceProviderAlias[ns1:ServiceProviderAliasQualifierGid/ns1:Gid/
ns1:Xid = "VENDOR_SITE_CODE"]/ns1:ServiceProviderAliasValue'/>
</vendorSiteCode>
</xsl:if>
</xsl:for-each>
<replace>http://<soa_server_hostname>:<soa_managed_server_port>/soa-
infra/services/default/OtmVoucherUserExit/OtmVoucherUserExitService?WSDL</replace>
Note: Do not make the same exact change as displayed in the screenshot above as this is used for
example purposes only. The port to be used is NOT the same port for which the WebLogic Admin
Server listens on. If you are unsure of what the port is, access the WebLogic Admin Console through
http://<server_host_name>:<weblogic_port>/console. Click on Environment ->Servers. The same
change for the port should be made as what was done for the composite.xml.
http://<server_host_name>:<weblogic_port>/em
Browse for the sca_OtmVoucherToOracleApInvoice_rev1.0.jar file and select the archive location.
If the modified deployPlan.xml select ‘Configuration plan is on the machine where this web browser is
running’. Otherwise, if the file is located on the SOA server, select ‘Configuration plan is on the server
where Enterprise Manager is running’.
Browse for the deployPlan.xml file and select the file location.
Click Next.
This completes the minimum setup and configuration of SOA/BPEL required for EBS – OTM integration.