I've a case to get employee details based on employee id. This value comes from the repeated grid as user can enter multiple ids. It should then call the service and set the details of employee in the other controls in same repetition.
I cannot do the POST method as my rest service do not accept it.
Tried using an action to set the URL parameters for a GET request.
Steps I did -
1.Create http service
* enter the resource url
* Method - GET
* Serialisation - HTML form
* URL parameters - employeeid in first column first row and left blank in second column first row (the value of this emplyee id is set from the control in the repeated grid)
2. Create action
* run action when 'employeeId' control changes its value
* call created http service
* set service request values - control 'employeeId' and xpath - '/request/employeeid '
* and response to the respective controls in the same iteration
It does not give any response. Also tested the http service using the test button in HTTP service editor by entering a sample employeeid in the url parameters section -> receives a resource error. It works when I pass the same value in the url and test it it works and returns a response.
Need help in setting the get request parameter from the repeated grid control?
Thank you
--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[hidden email].
To view this discussion on the web visit
https://groups.google.com/d/msgid/orbeon/a1467fee-ae15-4ccb-8e47-894aa940037b%40googlegroups.com.