I am currently testing OC 3.6 with web services as I am planning to migrate from 3.3 very soon. I just want to provide some info about changes for other users that also plan to upgrade:
1. web services in OC 3.6 have changed the default location of configuration files the same way as OC did some versions before. This means that after the deployment it creates a folder outside of tomcat webapps folder (named e.g. openclinica-ws.config).
this is where the modification on config file should be done
2. As always it is necessary to setup db attribute in datainfo.properties. OpenClinica DB name should be stated there.
3. The default value in org.quartz.threadPool.threadCount attribute in datainfo.properties should be changed to 0 (originally it is set to 1)
The services functionality should stay the same with one exception that is the dataImport service that introduces new Upsert feature and setup of form status after import. For more info please follow the documentation here:https://docs.openclinica.com/3.1/openclinica-user-guide/submit-data-module-overview/import-data
The documentation claims that if none of these new options are used, the service will work as in the previous versions of OC. This is true, but please be aware of one change that can cause that applications using the import web services can stop working properly. Originally after the import, the response XML from the WS sent back the ws-client could be "Success" or "Fail". In the new version there is additional information (e.g. message about how many forms have been imported) in the result attribute so if your client code was using pure comparison against "Success" or "Fail" keywords to notify user about the result of service call it will stop working as the comparison will fail. The service will execute fine but the client can assume that something was wrong as it could not match the result value in response to predefined response codes.