Updates 49000 » History » Version 4

Version 3 (Pierre Marc, 12/02/2016 09:30 AM) → Version 4/5 (Pierre Marc, 12/09/2016 04:41 PM)

h1. 4.9.000 Updates

h2. Bugs

* Sorting of table and string list objects now made internally in unicode.
* The possibility to set an empty session open and close procedure were not working in the SESSION:CREATE command.


h2. Modifications

* Dynamic host in web services. It is now possible to set the web service host name as "dynamic" so the host used in WSDL will be the host used when requesting this WSDL.
* The TABLE_GET_ROWS command can now deliver the resulting rows in a string object instead of a table object. With this feature, one can retrieve a complete table in a single string than can be parsed by the programmer. This increases speed.
* The OBJECT:TABLE_SORT and OBJECT:STRINGLIST_SORT have a new optional parameter named LOCALE allowing to explicitly define the locale (language) of the sort. In most cases this parameter will not be necessary since the sort is now made in unicode.
* The java session open and close procedure can now be in a jar file.


h2. New features

* REST connector. The rest connector, also called universal connector, gives full control to the user to the input request data and to the response. The programmer defines the REST urls in the application.dsc file and provides procedures that will process input and output data returned to the user. The procedure will receive all input data including HTTP method, headers, content, etc…. The REST connector also introduces a 2 steps login (token identification). This avoids sending the password from client to server.
* Applications urls. One can set pre-defined order urls at application level in the application description file. This allows simplifying and reducing the size of the urls sent to Nirva.
* Adding a command named COMMAND:GET_HTTP_HEADERS that gives the http headers when the command comes from the web.
* Adding a command named COMMAND:SET_HTTP_RETURN_CODE that sets the HTTP return code when the command comes from the web.