Open topic with navigation

TIBCO GridServer® 7.1.0

# Java/.NET Client

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.

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO GridServer®

Copyright © 2001-2022. TIBCO Software Inc. All Rights Reserved.