Error using the Generate WSDL Button in Oracle E-Business Suite Integrated Soa Gateway Release 12.1

Applies to:

Oracle E-Business Suite Integrated SOA Gateway - Version: 12.1.1 and later   [Release: 12.1 and later ]
Information in this document applies to any platform.
Checked for relevance on 27FEB2012

Symptoms

One is getting error using the Integrated SOA Gateway > Integration Repository > Generate WSDL button:

"SOA Provider Access resulted in exception 'oracle.apps.fnd.soa.util.SOAException: SystemError: Error while sending message to server. http://oicdev01.mmm.com:8003/webservices/SOAProvider/EbizAuth?Generate=2674&soa_ticket=dVhVk-4C2V2W9URDldBA6Q..' when attempting to perform 'GENERATE'. Please contact your System Administrator"

Changes

Completed steps documented in NOTE 815196.1 - Oracle E-Business Suite Integrated SOA Gateway 12.1.1 Consolidated One-Off

Cause

The issue is caused by the following setup:

The $CONTEXT_FILE do not have the APPS_JDBC_URL defined so it is missing from the $ORA_CONFIG_HOME/10.1.3/j2ee/oafm/application-deployments/oafm/data-sources.xml

$CONTEXT_FILE

<jdbc_url oa_var="s_apps_jdbc_connect_descriptor"/> <-------------------------This is null when it should have the APPS_JDBC_URL connection information for the Database

$ORA_CONFIG_HOME/10.1.3/j2ee/oafm/application-deployments/oafm/data-sources.xml


url=""> <------------------------------------- Autoconfig should have populated it with the value of s_apps_jdbc_connect_descriptor from the $CONTEXT_FILE


Errors:


<MSG_TEXT>Internal error raised tyring to instantiate web-application: webservices defined in web site OC4J 10g (10.1.3) Default Web Site. Application: oafm does not exist. Error creating Web application: webservices</MSG_TEXT>



10/04/27 08:53:30 [SEVERE]: Error instantiating application at file:<path>/apps/apps_st/comn/webapps/oafm/: Unable to get ApplicationConfig for oafm : Error parsing data-sources config at file:<path>/10.1.3/j2ee/oafm/application-deployments/oafm/data-sources.xml: DataSourceConfigException: The url cannot be empty.
10/04/27 08:53:30 Error: <connector name="AppsSOAAdapter" path="AppsSOAAdapter.rar" /> will not be bootstrapped since corresponding module declaration was not found in application.xml.
10/04/27 08:53:30 Error: <connector name="OracleASjms" path="OracleASjms.rar" /> will not be bootstrapped since corresponding module declaration was not found in application.xml.
10/04/27 08:53:30 [SEVERE]: cannot update a configuration file because configuration parsing is failed. please correct the problem and restart oc4j.

Solution


1. Update the $CONTEXT_FILE to look like this example.  Change the DB Connection information to match your instance:

<jdbc_url oa_var="s_apps_jdbc_connect_descriptor">jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS=(PROTOCOL=tcp)(HOST=host.us.oracle.com)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=VIS)))</jdbc_url>


2. Run autoconfig.

$ADMIN_SCRIPTS_HOME/adautocfg.sh


3. Shutdown and restart the Oracle Applications Fusion Middleware (OAFM) container.


$ADMIN_SCRIPTS_HOME/adoafmctl.sh stop

$ADMIN_SCRIPTS_HOME/adoafmctl.sh start

你可能感兴趣的:(Error using the Generate WSDL Button in Oracle E-Business Suite Integrated Soa Gateway Release 12.1)