| Author |
Registering a PortletService in WSAD + Portal Toolkit
|
|
| eishay 2004-12-06, 7:48 am |
| I am using WSAD 5.1.2 and Portal Toolkit 5.0.2.2
I am trying to register a costume PortletService I created so that my
portlets will be able to use it.
The documentation say that it should be registered in a file named
"PortletServices.properties" located at
<WP-ROOT>\app\wps.ear\wps.war\WEB-INF\conf
I couldn't find a trace of the location and file in my env.
Anybody knows is the equivalent in the WSAD+Toolkit env ?
Thanks in advance,
Eishay
| |
|
| Are you sure you are referring to correct documentation?
WP5.0.2 Information Center says you need to register your portlet
service in the PortletServiceRegistryService.properties file in the
<wp_root>/shared/app/config/services directory.
I don't know whether Portlet Service is supported in Test Environment or
not, though.
url
| |
| Lee Francis Wilhelmsen 2004-12-08, 7:50 am |
| > Are you sure you are referring to correct documentation?
This is probably the problem. The redbook "IBM WebSphere Portal V5 - A
guide for portlet application development" seems to refer to a
PortletService.properties file. However, this is either wrong or has
been changed in later versions of the portal. The correct file is
PortalServiceRegistryService.properties
I can also say that the factory classes the redbook refers to also are
wrong (or have been changed in later versions of the portal).
> I don't know whether Portlet Service is supported in Test Environment or
> not, though.
Pretty sure that it is supported. Someone told me that you also can
debug a service using WSAD, but I haven't tried.
Regards
Lee Francis
|
|
|
|