Type to start searching...
address : string
The address for connecting to the service. Overrides the address from the registry.
The address is a string in binding-specific format. If address is specified, then binding must also be specified. The host (and port if applicable) must be that of the target service server.
http://hostname:port/nexj/text
auth
The authentication mode for connecting to the service. Overrides the authentication mode from the registry.
Valid values based on“string”. | |
---|---|
basic | |
perimeter |
binding
The binding for connecting to the service. Overrides the binding from the registry.
Valid values based on“string”. | |
---|---|
trpc |
Use NexJ-proprietary text RPC for invoking the service. Requires address (to be set to the text server URL) and auth (potentially including user and password, depending on the auth mode), provided by either the user registry or this connection metadata. |
context |
Executes the local implementation of the service in a new invocation context. Invoking a service with the context binding is functionally equivalent to invoking it with the trpc binding. Uses the current thread. Requires basic auth and a user to log in the invocation context, but does not use address or password. |
local |
Executes the local implementation of the service in the current invocation context. This mode is used internally by the SOA framework and should be avoided in most real-world scenarios. |
instance : string
The name of the service instance to connect; unspecified for the default instance.
password : password
The password to log in to the service, if using an authentication mode that requires a password. Overrides the password provided by the registry, if any.
Valid values based on“string”. | |
---|---|
service : string
The service connected by this connection.
user : string
The user to log in to the service, if using an authentication mode that requires a user name. Overrides the user provided by the registry, if any.
Sequence of:
Properties [0..1]