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.
2 REPLIES
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?