How do I input a struct type input parameter to an XMLRPC component?

Highlighted
One Star

How do I input a struct type input parameter to an XMLRPC component?

Hi all,
I've been using tXMLRPCInput recently.
I can communicate successfully with simple server funcions. By simple I mean functions that expect just an integer or string as parameters. However, I have not found any example of anyone calling a function which expects a struct as a parameter.
How do I input a struct parameter to the XMLRPC component?
i.e. {"email": "example@example.com", "first.name": "John"}
I can't give any example code because the service which I am using is private. But any help would be appreciated.
Community Manager

Re: How do I input a struct type input parameter to an XMLRPC component?

What is the data type of parameter? It should be a Java data type here, select the corresponding data type in the class column.
Best regards
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: How do I input a struct type input parameter to an XMLRPC component?

The type in the xmlrpc spec is known as a struct (), containing strings.


There is no struct type in Talend that I know of, which I why I asked here, otherwise I would have selected it from the class menu, the same way that I select strings etc.


I will try to make my example more clear.


struct: {name: "stwe", 77.email: "email_address"}

Is there anyone familiar with this use-case that can answer what the correct class is that I should be using?

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Why Companies Move to the Cloud: 7 Success Stories

Learn how and why companies are moving to the Cloud

Read Now

Agile Data lakes & Analytics

Accelerate your data lake projects with an agile approach

Watch