Class CallWSHelper

    • Method Detail

      • callWS

        public static Set<StringcallWS​(String url,
                                         Map<String,​String> parameters,
                                         Logger logger)
        Request the given url on remote server
        Parameters:
        url - the url to be called.
        parameters - the HTTP parameters
        logger - The logger for traces
        Returns:
        the list of server's url which failed. If empty all WS succeed. Returns null if a global error occurred.
      • callWS

        public static Set<StringcallWS​(String url,
                                         InputStream is,
                                         Logger logger)
        Request the given url on remote server
        Parameters:
        url - the url to be called.
        is - The input stream for HTTP entity
        logger - The logger for traces
        Returns:
        the list of server's url which failed. If empty all WS succeed. Returns null if a global error occurred.