We try to call an IVY process start link (/ivy/myprocess.ivp?id=213214) by an external application. As response we expect a JSON object. But it seems that the IVY Tomcat redirect our request (error 302), so we do not get the response back. Does anybody know to solve this problem? Thanks! asked 11.05.2016 at 12:02 peter_muc |
Let the process flow end on a Script activity. This activity is responsible to end the Request and write the serialized JSON directly to the HTTP response. For further information, have a look at "Can I expose api as REST service?" Q&A entry. It might help you. answered 11.05.2016 at 12:21 Dominik Regli ♦ For info: ....at the end we were able to identifiy the problem in general: if IVY does make a redirect (e.g. to a process end page), the Tomact blocks somehow the final response. We guess this problem is caused by Tomcat CORS (link). Anyways, with the help of the suggested approach link we were able to set a response to the external call.
(12.05.2016 at 13:36)
peter_muc
|
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 11.05.2016 at 12:02
Seen: 6,778 times
Last updated: 19.05.2016 at 11:24