public PortletManagementService getPortletManagementService() throws Exception
{
if (isV2)
{
WSRPV2PortletManagementPortType port = getService(WSRPV2PortletManagementPortType.class);
return new V2PortletManagementService(port);
}
else
{
WSRPV1PortletManagementPortType port = getService(WSRPV1PortletManagementPortType.class);
return new V1PortletManagementService(port);