Returns an array of objects that identifies the Data Object Services that have been loaded for the current JSDOSession or Session object and its web application.
You load Data Object Services for a JSDOSession or Session object by loading the corresponding Data Service Catalogs using the object's addCatalog( ) method. You can load these Catalogs either before or after you log into a web application using the object's login( ) method.
Each object in the array returned by this session property contains two properties:
name — The name of a Data Object Service that is loaded for the specified session.
uri — The URI for the service. If the address of the service in the Catalog is an absolute URI, this value is that URI. If the service address is relative, this value is the relative address concatenated to the value of the JSDOSession or Session object's serviceURI property, which contains the web application URI used by the object's login( ) method.
Note: To return a corresponding list of URIs for the loaded Data Service Catalogs, read the catalogURIs property.
Example
Given two Catalogs, CustomerSvc.json and ItemSvc.json, that specify their services this way:
"CustomerSvc" service with this URI: "/rest/CustomerSvc"
"ItemSvc" service with this URI: "http://itemhost:8080/SportsApp/rest/ItemSvc"
The following code fragment produces the output that follows:
// create Session
pdsession = new progress.data.JSDOSession('http://custhost:8080/SportsApp');