Changeset 1853 for trunk


Ignore:
Timestamp:
May 19, 2011, 4:19:08 PM (9 years ago)
Author:
s.h.sikkema@…
Message:

changed module communication HTTP method to "POST" to deal with extremely long URLs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/services/dbnp/studycapturing/AssayService.groovy

    r1841 r1853  
    253253
    254254        try {
    255             jsonArray = moduleCommunicationService.callModuleMethod(moduleUrl, path, query)
     255            jsonArray = moduleCommunicationService.callModuleMethod(moduleUrl, path, query, "POST")
    256256        } catch (e) {
    257257            throw new Exception("An error occured while trying to get the measurement tokens from the $assay.module.name. \
     
    294294
    295295        try {
    296             (sampleTokens, measurementTokens, moduleData) = moduleCommunicationService.callModuleMethod(moduleUrl, path, query)
     296            (sampleTokens, measurementTokens, moduleData) = moduleCommunicationService.callModuleMethod(moduleUrl, path, query, "POST")
    297297        } catch (e) {
    298298            throw new Exception("An error occured while trying to get the measurement data from the $assay.module.name. \
Note: See TracChangeset for help on using the changeset viewer.