-
1. Re: REST
dosten Dec 19, 2014 10:45 AM (in response to rogerparkinson)When you add a REST service using workbench, it will be populated with the appropriate input variables and assignments. You just need to set the variable values in the Assignments dialog (set the To Value). For the result, add a Data Output assignment: From Object = Result, Assignment Type = is mapped to, To Object = $your_process_var.
-
2. Re: REST
rogerparkinson Jan 13, 2015 9:44 PM (in response to dosten)You are right. And when you add one from Eclipse there are various fields missing.
I conclude that the Eclipse plugin is not useful for adding rest service.
-
3. Re: REST
sanjay05222 Jan 14, 2015 2:03 AM (in response to rogerparkinson)I think same goes for REST and WS services , eclipse plugin doesn't event show it in the Palette at all. but related to that I have question for the kie bench when I show the WS example which was check weather works fine and I can see in the assignments for the async task parameter is mapped to the usZipCode. what we have to do if the Parameter is not a String instead it is a Pojo ? How can we map it . I have my example below and I am not able to assign the parameter which will be input for the web service operations.
Check Weather Takes Operations Method a String Type .
My Problem
I added the data input as Parameter and also updated to the ObjectDataType in the workItem.wid still it shows me error in mapping the Parameter to the Pojo NotifcationDTO ? any help would be highly appreciated .
I get this error and the Data Input just vanishes
Guys Please let me know if you have any suggestions
thanks
Sanjay Gautam