Monday, March 29, 2010

MCF Property in WSDL

MCF stands for "Managed Connection Factories". When configuring a Database Adapter using Adapter Configuration Wizard, a Database Connection is required to configure the adapter. This connection you create inside connection Navigator->Database.

Once the adapter is created, a WSDL file is automatically created that includes the adapter definition. This includes the Managed Connection Factory (MCF) properties as well as the Java Naming and Directory Interface (JNDI) name (which you create on Enterprise Manager side), as shown below:


<service name="UpdateEmpTable">
<port name="UpdateEmpTable_pt" binding="tns:UpdateEmpTable_binding">
<jca:address location="eis/DB/MyDBHR" UIConnectionName="MyDB" ManagedConnectionFactory="oracle.tip.adapter.db.DBManagedConnectionFactory" mcf.DriverClassName="oracle.jdbc.OracleDriver" mcf.PlatformClassName="oracle.toplink.platform.database.oracle.Oracle10Platform" mcf.ConnectionString="jdbc:oracle:thin:@//159.67.4.3:1521/orcl" mcf.UserName="hr" mcf.Password="8498F4AC99532042CRECC296529B23E6" />
</port>
</service>

If you are using JNDI then manually remove MCF properties from your code once development is complete.

1 comment:

Jack said...

MCF property in WSDL is the topic which is described here. This topic is totally new for me. The information given in this post is the result of lot effort. You can use these details at several places. Thanks for the post.
sap upgrades