diff --git a/doc/api/content/client/getting-started/services.md b/doc/api/content/client/getting-started/services.md index 43807a656..c01bd497e 100644 --- a/doc/api/content/client/getting-started/services.md +++ b/doc/api/content/client/getting-started/services.md @@ -19,6 +19,11 @@ Construct a ServiceContext by calling the default constructor. The ServiceConte If your application is running on a system with the BTS Client installed this will probably work without any further configuration. If you plan to run your client application on a separate machine we recommend setting the `BTSCONFIG` environment variable. +
+ +If you are using the Spark Server SDK to run a local copy of the Spark server set

BTSCONFIG = http://localhost:9000/config/

+
+ To get a proxy for a given service call ServiceContext.locate<T>("qualifier") where T is the type of the service and "qualifier" is an optional qualifier used to disambiguate between 2 instances of the same service. The locate call cannot fail but it may return a disconnected proxy. When you make a call on the proxy you should check the call result to see if the method call succeeded. # RPC