Can you tell which components to install to be able to call REST End points using configuration in the application
Hey Sven
I would recommend M10074 Novulo API Calls and responses. This component depends on M7899 Novulo Basic Calls and responses.
It allows you to configure and debug call templates and group them in call template collections. This is an example call template:
You can execute test calls, create dynamic URLs, bodies and import the response and map it onto Novulo records, if you want.
Furthermore, each call is logged and the response that has been received.
Once your calls are working, you might want to use M10388 Novulo Call template processes. It allows you to configure the execution of Novulo processes before/after building/processing.
Let me know if it works out or if you get stuck, I am happy to help
Thanks Joachim,
I will try this method in our solution. I seems a lot easier then building them in the architect
Indeed, it is intended to be flexible and reusable for all kinds of calls, similar to what is possible with the postman UI. If you have any suggestions, let me know. We are currently improving this component on a weekly basis.
Using dynamic URL parameters and/or dynamic bodies can be challenging when you use it for the first time. I am happy to write more detailed instructions on that if you want
Also see: Call Templates - Using call parameters in a call template export - #2 by j.batzke
Hi Joachim, I got stuck with the generation/installation. I had a few errors and fixed them with the suggested solutions. Can you check order 44564 what the logs mean why the generation is not succeeded? Don’t know if it is caused by the implementation of the different models for REST calls or the change I made in M10079
I do not have access to order with ID 44564, unfortunately. Please contact your partner manger.
The problem is somewhere with the implementation of the different models. The suggested models are:
Is this correct?
And then I again get an other error: No producer of N_WebSiteUser
But all the suggested fixes are either specific made models OR removing one of the ones above OR using novulo cms component
I tried to add m7708 Novulo Dummy N_Websitegebruiker as a fix but then the generation of the solution failes
Hey!
The dependency of 8737 and 3624 is correct and desirable.
8737 allows you to configure custom JSON bodies
3624 allows you to import the responses that you receive as Novulo records.
However, 8737 should not depend on CMS components, in my opinion.
I will investigate this issue with the goal to solve the undesirable dependencies.
Please add the new component M10485 r3 “Novulo Website user dummy” to the cart.
It should fix the undesirable dependency from 3031 Novulo CMS.
Let me know if you encounter any further issues/errors, good luck
I added that component but it still fails when generating with the following log:
Generation finished with this error log (last 1000 characters):
odel at Novulo.Connector.ApplicationServerConnector.callProcess(String processName, Dictionary2 parDict) at Novulo.Connector.ApplicationServerConnector.GetRevisionRecord(Int32 modelID, Nullable
1 revision)
at Novulo.Connector.ApplicationServerConnector.loadWithoutLock(Int32 modelID, Nullable`1 revision)
at Novulo.Generator.Generator.LoadSystem()
at Novulo.Generator.Generator.Start()
at Novulo.Generator.GeneratorHTTPHandler.ProcessRequest(HttpContext context)
Error processing queue item fd91dca0-35b2-4cb1-b78e-eac87d3f75ca: System.Exception: Generation failed
at GeneratorQueueService.Queue.QueueItem.Start() in C:\Users\wim\Documents\Visual Studio 2017\Projects\NovuloGeneratorQueueService\GeneratorQueueService\Queue\QueueItem.cs:line 214
at GeneratorQueueService.Queue.QueueItem.<>c__DisplayClass32_0.b__0() in C:\Users\wim\Documents\Visual Studio 2017\Projects\NovuloGeneratorQueueService\GeneratorQueueService\Queue\QueueItem.cs:line 257
This issue seems to be related to the generation and not the chosen components, if I am not mistaken.
@Wim do you know how to solve the generation error?
The generator queue that was used here appears to have no rights to open this model. It should, so I have corrected this.
Thanks guys, the installation is done and I can play around now!