cancel
Showing results for 
Search instead for 
Did you mean: 

source Node turning RED after loading the test instance

Former Member
0 Kudos

Hi,

Source Node:: occurence:: type:: Maxlength.

Co_code_Doc_ref:: 0...1:: string:: 11.

Target Node:: occurence:: type:: Maxlength.

Co_code:: 0...1:: string:: 4.

Mapping

Co_code_Doc_ref>substring(0,2)>Co_code.

As soon as i load the test instance, Co_code_Doc_ref node turns red.

Also, it doesn't processes the value thru mapping.

But, rest of the mapping is executed successfully.

Any idea , where might be the issue............................

san.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Your source node is having a different structure than the XML data that you are feeding to it.

Former Member
0 Kudos

Below is the xml structure, i am feeding to it....

which has Co_code_Doc_ref field with 11 string values.

<RECORD>
		<Co_code_Doc_ref>a4IT1000115</Co_code_Doc_ref>
		<Acc_ref>4</Acc_ref>
		<Loc_curr_code></Loc_curr_code>
		<Loc_curr_amt>0</Loc_curr_amt>
		<For_curr_code>USD</For_curr_code>
		<For_curr_amt>-631581.84</For_curr_amt>
		<Doc_date>20091112</Doc_date>
		<Value_date>20091112</Value_date>
		<Date>20091112</Date>
		<Sec_doc_ref>IT1000115</Sec_doc_ref>
		<VATcode></VATcode>
		<Narrative>RAW 96     to RAWYONK.EXP</Narrative>
		<Acc_period>20091132</Acc_period>
		<UserInitials>TS</UserInitials>
		<Loc_code>YONK</Loc_code>
		<Dept_code>EXP</Dept_code>
	</RECORD>

san

Former Member
0 Kudos

Check if the test payload message type name and namespace match to that of the source structure...

Thanks,

Srini

Former Member
0 Kudos

Guys,

this issue got solved......

seems to be some activation problem.....

its working now with the same config....

san

Former Member
0 Kudos

Please close the thread.