You are not logged in.
When using the WebService component, the parameters are sent in a random order because they are added in a HashMap.
Wouldn't it be better to add them in a LinkedHashMap so they would be sent in the user defined order ?
For now, when talend call my web service, the arguments of the method called are totally in random order.
java.util.Map<String, Object> paramMap_tWebService_1 = new java.util.HashMap<String, Object>(); Object inputValueObject_tWebService_1; javax.xml.namespace.QName anyTypeQName_tWebService_1; inputValueObject_tWebService_1 = row4.params; paramMap_tWebService_1.put("parameters.params", inputValueObject_tWebService_1); inputValueObject_tWebService_1 = row4.timestamp; paramMap_tWebService_1.put("parameters.timestamp", inputValueObject_tWebService_1); inputValueObject_tWebService_1 = row4.user; paramMap_tWebService_1.put("parameters.user", inputValueObject_tWebService_1); inputValueObject_tWebService_1 = row4.signature; paramMap_tWebService_1.put("parameters.signature", inputValueObject_tWebService_1);
i'm actually working on talend project using a webservice of Magento !
i'm trying to do a call but i'm facing a lot of problem.
i'm using tWebservice as shown here (MySql database------->tMap------>twebservice)
i don't know how to fill the input and output mapping of my webservice i have to fill ressource path and args ) but i don't know how
if you have any idea how to fill those fields it will be welcom
could you please show me the schema followed for your post , where do we have to put the java Code ?
thanks a lot in advance for your help