Java/.NET Client

Last published : Nov 13, 2026
Java/.NET Clients must comply with the following rules when calling methods in a Service:
  • Pass arguments into calls as Object[], which corresponds to the arguments of the method. Note that you must use exactly the type Object[]. For instance, a set of strings cannot be passed in as a String[]. The array length must match the number of arguments.
  • For convenience, if the method takes only a single argument, you pass it directly into the call. It is the equivalent of passing in an Object[1] with the 0th element being the object.
  • If a method takes no arguments, you can call it only with zero-length Object[] or a null object.
  • Autoboxing is used for primitive types. For example, a Service method that returns a Double on the client.