code: protected Object[] processSoapArguments(Method soapClientMethod, Object[] args) {
      if (args == null) {
        return null;
      }
      int argsCount = Math.max(soapClientMethod.getParameterTypes().length, args.length);
      return Arrays.copyOf(args, argsCount);
    }
docs: Processes the arguments such that they will be ready to be passed into the
  supplied SOAP client method. This method can be overridden in the case that
  a particular framework must additionally process the arguments.
  <p>
  In the default implementation of processing arguments, if the number of
  arguments is too small, the argument list will be padded with {@code null}.
  If {@code args} is {@code null}, {@code null} will be returned.
  </p>
  
  @param soapClientMethod the SOAP client method that will be called with the
  {@code args}
  @param args the arguments that will be processed
  @return the arguments ready to be passed into the {@code soapClientMethod}.