private void importAppProperties(boolean request) {
    if (_bindingProvider == null) return;

    if (request) {
      _logicalContext.putAll(_bindingProvider.getRequestContext(), Scope.APPLICATION);
      _soapContext.putAll(_bindingProvider.getRequestContext(), Scope.APPLICATION);
    } else {
      _logicalContext.putAll(_bindingProvider.getResponseContext(), Scope.APPLICATION);
      _soapContext.putAll(_bindingProvider.getResponseContext(), Scope.APPLICATION);
    }
  }
  private void exportAppProperties(boolean request) {
    if (_bindingProvider == null) return;

    if (request) {
      Map<String, Object> map = null;

      map = _logicalContext.getScopedSubMap(Scope.APPLICATION);
      _bindingProvider.getRequestContext().putAll(map);

      map = _soapContext.getScopedSubMap(Scope.APPLICATION);
      _bindingProvider.getRequestContext().putAll(map);
    } else {
      Map<String, Object> map = null;

      map = _logicalContext.getScopedSubMap(Scope.APPLICATION);
      _bindingProvider.getResponseContext().putAll(map);

      map = _soapContext.getScopedSubMap(Scope.APPLICATION);
      _bindingProvider.getResponseContext().putAll(map);
    }
  }