public void SetUp()
        {
            jdbcQueryActivityParser = new JdbcQueryActivityParser();
            var xml =
                @"<pd:activity name=""GetUndlCurrency"" xmlns:pd=""http://xmlns.tibco.com/bw/process/2003"" xmlns:xsl=""http://www.w3.org/1999/XSL/Transform"">
<pd:type>com.tibco.plugin.jdbc.JDBCCallActivity</pd:type>
<config>
<timeout>10</timeout>
<commit>false</commit>
<maxRows>100</maxRows>
<emptyStrAsNil>false</emptyStrAsNil>
<jdbcSharedConfig>/Configuration/DAI/PNO/JDBC/JDBCIntegration.sharedjdbc</jdbcSharedConfig>
<ProcedureName>MySetEUTicker;1</ProcedureName>
<parameterTypes>
	<parameter>
		<colName>@Id_Bb_Unique</colName>
		<typeName>int</typeName>
		<dataType>4</dataType>
        <colType>1</colType>
	</parameter>
	<parameter>
		<colName>@Id_Bb_Unique2</colName>
		<typeName>int</typeName>
		<dataType>4</dataType>
        <colType>1</colType>
	</parameter>
	<parameter>
		<colName>@Id_Bb_Unique3</colName>
		<typeName>int</typeName>
		<dataType>4</dataType>
        <colType>4</colType>
	</parameter>
</parameterTypes>
</config>
<pd:inputBindings>
     <inputs>
        <inputSet>
        <FundName>
            <xsl:value-of select=""testvalue""/>
        </FundName>
        <AdminID>
            <xsl:value-of select=""EVL""/>
        </AdminID>
     </inputSet>
    </inputs>
               
</pd:inputBindings>
</pd:activity>";

            doc = XElement.Parse(xml);
        }
Пример #2
0
        public void SetUp()
        {
            jdbcQueryActivityParser = new JdbcQueryActivityParser();
            var xml =
                @"<pd:activity name=""GetUndlCurrency"" xmlns:pd=""http://xmlns.tibco.com/bw/process/2003"" xmlns:xsl=""http://w3.org/1999/XSL/Transform"">
<pd:type>com.tibco.plugin.jdbc.JDBCQueryActivity</pd:type>
<config>
<timeout>10</timeout>
<commit>false</commit>
<maxRows>100</maxRows>
<emptyStrAsNil>false</emptyStrAsNil>
<jdbcSharedConfig>/Configuration/DAI/PNO/JDBC/JDBCIntegration.sharedjdbc</jdbcSharedConfig>
<statement>select CRNCY from T_EQUITY_PNO
where ID_BB_UNIQUE= ?</statement>
<Prepared_Param_DataType>
	<parameter>
		<parameterName>IdBbUnique</parameterName>
		<dataType>VARCHAR</dataType>
	</parameter>
	<parameter>
		<parameterName>IdBbUnique2</parameterName>
		<dataType>VARCHAR</dataType>
	</parameter>
</Prepared_Param_DataType>
<QueryOutputCachedSchemaColumns>CRNCY</QueryOutputCachedSchemaColumns>
<QueryOutputCachedSchemaDataTypes>12</QueryOutputCachedSchemaDataTypes>
<QueryOutputCachedSchemaStatus>OptionalElement</QueryOutputCachedSchemaStatus>
</config>
<pd:inputBindings>
    <jdbcQueryActivityInput>
        <IdBbUnique>
            <xsl:value-of select=""testvalue""/>
        </IdBbUnique>
        <IdBbUnique2>
            <xsl:value-of select=""EVL""/>
        </IdBbUnique2>
    </jdbcQueryActivityInput>
</pd:inputBindings>
</pd:activity>";

            doc = XElement.Parse(xml);
        }