t_SOAConnections_SOAConnection
SOAConnection
Properties
address : stringThe 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.- Example
http://hostname:port/nexj/text
authThe authentication mode for connecting to the service. Overrides the authentication mode from the registry.
Valid values based on“string”. basic perimeter bindingThe 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 : stringThe name of the service instance to connect; unspecified for the default instance.
password : passwordThe 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 : stringThe service connected by this connection.
user : stringThe 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.
Content
Sequence of:
t_SOAConnection_Properties [0..1]
Parents
Parent topic: t_Connections_SOAConnections
Parent topic: t_Environment_SOAConnections