Access a Running Sybase CEP Server

Every command or API call that issues one or more SOAP requests to a server needs to know the URI of the Sybase CEP Server.

Some of the API environments hide this detail by taking the URI and creating a connection object so that subsequent requests do not need to provide it every time. Others may require that the URI be specified for every request.

Remember that the form of a server URI is:

http://<hostname>:<port>

for example,

http://omega:6789

If your server contains separate managers and containers, use the URI of the manager. Sybase CEP Container Servers are used to run queries, in-process adapters, and user-defined functions. Sybase CEP Manager Servers "manage" containers by assigning tasks to them and by monitoring their status.

If you are using a secure server (in other words, if you have enabled SSL), use the prefix "https" rather than "http".

Note that a URI for a server or a stream, or any other object accessible with a URI, is useful only when the object is already running.