Hello RudiC,
For Some reasons this thread is NOT allowing me to paste the complete code, since the code contains some web links.
Lemme try from HTML Tag
HTML Code:
<?xml version='1.0' encoding='UTF-8'?>
<jdbc-data-source xmlns="http://xmlns.oracle.com/weblogic/jdbc-data-source" xmlns:sec="http://xmlns.oracle.com/weblogic/security" xmlns:wls="http://xmlns.oracle.com/weblogic/security/wls" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/weblogic/jdbc-data-source http://xmlns.oracle.com/weblogic/jdbc-data-source/1.2/jdbc-data-source.xsd">
<name>DataSourceTest</name>
<jdbc-driver-params>
<url>jdbc:oracle:thin:@10.137.181.188:1521/soa12cdb</url>
<driver-name>oracle.jdbc.xa.client.OracleXADataSource</driver-name>
<properties>
<property>
<name>user</name>
<value>DEV_SOAINFRA</value>
</property>
</properties>
<password-encrypted>{AES}xxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=</password-encrypted>
</jdbc-driver-params>
<jdbc-connection-pool-params>
<initial-capacity>0</initial-capacity>
<test-table-name>SQL SELECT 1 FROM DUAL</test-table-name>
</jdbc-connection-pool-params>
<jdbc-data-source-params>
<jndi-name>jdbc/SOADBDataSource</jndi-name>
</jdbc-data-source-params>
</jdbc-data-source>
we are expecting the following output.
1) Param1 Should be mapped to the value of <name></name>, which is under <jdbc-data-source> tag.
In the above case Param1 should be "DataSourceTest"
2) Param2 should be mapped to the value of <url></url>, which is under<jdbc-data-source-params> tag.
In the above case Param2 should be "jdbc:oracle:thin:@10.137.181.188:1521/soa12cdb"
3) Param3 should be mapped to the value of <driver-name></driver-name>, which is under<jdbc-data-source-params> tag.
In the above case Param3 should be "oracle.jdbc.xa.client.OracleXADataSource"
4) Param4 should be mapped to the value of <value></value>, which is under<jdbc-data-source-params> tag.
In the above case Param4 should be "DEV_SOAINFRA"
5) Param5 should be mapped to the value of <password-encrypted></password-encrypted>, which is under<jdbc-data-source-params> tag.
In the above case Param5 should be "{AES}xxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx="
6)Param6 should be mapped to the value of <jndi-name></jndi-name>, which is under<jdbc-data-source-params> tag.
In the above case Param6 should be "jdbc/SOADBDataSource"
Hope it makes clear this time.
Thanks,
Siva