Oracle® WebCenter Interaction Development Kit 10.3.3.0.0

IRemoteSession Interface

Interface that represents a PRC connection to the portal. An IRemoteSession contains information about the current connection and provides access to object managers that allow the client to query and manipulate a portal 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 Publisher 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 Publisher 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 Publisher.

To access Collaboration Server and Publisher remote APIs, first obtain an IRemoteSession and then retrieve the corresponding ICollaborationFactory or IContentFactory from the session. No separate Collaboration session or Publisher session is needed to access the Collaboration or Publisher remote APIs. Individual Collaboration or Publisher 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.

public interface IRemoteSession

Types that implement IRemoteSession

TypeDescription
RemoteSessionWrapper This class is intended for internal use by Portlet API only.

Requirements

Namespace: Plumtree.Remote.PRC

Assembly: idk (in idk.dll)

See Also

IRemoteSession Members | Plumtree.Remote.PRC Namespace | RemoteSessionFactory | GetRemotePortalSession