IRemoteSession
contains information about the current connection and provides access to object managers that allow the client to query and manipulate a Plumtree server's state. To create an IRemoteSession
interface use RemoteSessionFactory
. Portlets automatically receive the WS Portal (ptapi) SOAP endpoint URL from the portal and can use IPortletContext
GetRemotePortalSession to create an IRemoteSession
. The PRC remote APIs for the portal, Search Server, Collaboration Server, and Content Server all require a WS server and a SOAP endpoint URL. The portal and Search Server can be accessed through WS Portal (ptapi). Collaboration Server and Content Server each have intrinsic WS servers to provide PRC remote API access. The endpoints for these intrinsic WS servers should never be used directly. All PRC requests should use the WS Portal (ptapi) endpoint first and will be redirected as needed to Collaboration or Content. To access Collaboration Server and Content Server remote APIs, first obtain an IRemoteSession
and then retrieve the corresponding ICollaborationFactory
or IContentFactory
from the session. No separate Collaboration session or Content session is needed to access the Collaboration or Content Server remote APIs. Individual Collaboration or Content object managers can thus be retrieved using the ICollaborationFactory
or IContentFactory
. For portal and Search Server remote APIs, a portal object manager or ISearchFactory
can be retrieved directly from an IRemoteSession
. For a list of all members of this type, see IRemoteSession Members.
Type | Description |
---|---|
RemoteSessionWrapper | This class is intended for internal use by Portlet API only. |
Namespace: Plumtree.Remote.PRC
Assembly: edk (in edk.dll)
IRemoteSession Members | Plumtree.Remote.PRC Namespace