I am trying to interact with my .Net library method. Instead of passing multiple parameters to the .Net method I want to pass only one parameter which will contain the columns of the input row s shown in the attachment where we are passing multiple parameters (Name, Age) in the format mentioned below
Instead of above mentioned technique I tried to pass only one parameter by mentioning only “input_row” but got an error. “Object reference not set to instance of an object”.
Can any one please tell me if its possible?
Solved! Go to Solution.
absolutely correct error
if You want send only one parameter - You must first prepare it
as variant use tJavaFlex, and define new parameter - as string, json or etc what accepted by Your service
Thanks for the answer.
But the method which you are saying doesn't sound an optimal method. Because as per my requirements there could be up to 50 fields which I may need to send to my DOTNET Library and creating a single string with some delimiter doesn't sound an optimal way. As I will have to split all the fields and then process them.
Can't we send single object to the DotNet library. This object I am expecting is to have all the fields that I need to pass.
I not 100% sure, what are You mean for "object"
but just few standard ways inter application / technologies exchange:
Talend is Java, .NET is .. .NET
before send something - need create something standard for both technology, sender must create it, receiver parse
other way - You can create any code in Java for work with Your .NET service
Just for your information by DotNet Object I mean creating a class with two or more properties. Then creating object of that class filling the properties with Data and then passing that DotNet object to Talend.
But as Talend is in Java it can't understand the DotNet Object. Please confirm if am right or wrong.
I think I got your point.
Did you mean If I have to exchange data between my DotNet library and Talend? Then that could be done only following 3 means
a. String or Integer
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Watch the recorded webinar!
Pick up some tips and tricks with Context Variables
Learn how media organizations have achieved success with Data Integration
Practical steps to developing your data integration strategy.