Welcome to the PDK-URL Services. Now that you have successfully installed the URL Services Framework and Samples, you may want to use PDK-URL Services to create URL-based portlets. This article describes how to install and configure the PDK-URL Services parameter passing and inline rendering portlets.
With parameter passing portlets, the Portal user can specify for himself what parameter values to pass to the URL on which the portlet is based. With inline rendering, portlet links can be rendered inside the body of the portlet, instead of causing the whole browser to redirect to the selected destination.
You have already installed the samples downloaded with the most recent PDK-Java Framework and and understand the steps required to display a URL Services Portlet on a portal page. For more information on installing PDK-Java and Samples, please review the Installing the JPDK and Samples article.
You have installed the PDK-URL Services runtime by following the Installing the URL Services Samples article.
You are using this sample with Portal 3.0.8 and up.
You are using JPDK 3.0.9.0.4 and up.
Note: This section will update an Oracle HTTP Server configuration file, zone.properties. We recommend that you backup file before making the changes specfiied. zone.properties is located at %ORACLE_HOME%\Apache\Jserv\servlets on NT. This file is located at $ORACLE_HOME/Apache/Jserv/etc on UNIX.
Updating the zone.properties
Stop the Oracle HTTP Server.
Open zone.properties.
servlet.urlparams.code=oracle.portal.provider.v1.http.HttpProvider
servlet.urlparams.initArgs=provider_root=C:\urlservices\providers\urlparams,sessiontimeout=1800000, debuglevel=1
Save and close the file.
Start the Oracle HTTP Server.
http://host.domain:port/servlet/urlparams
Updating provider.xml
If you do not need to use a proxy server, remove the following tags.
<proxyInfo class="oracle.portal.provider.v1.http.ProxyInformation">
<httpProxyHost>www-proxy.us.oracle.com</httpProxyHost>
<httpProxyPort>80</httpProxyPort>
</proxyInfo>
If you need to use your own proxy server, alter the <httpProxyHost> and <httpProxyPort> tags and specify your proxy server and port.
Now that you have successfully tested your new alias and updated the provider.xml file, you will need to register a new provider that calls this alias.
Register your new Provider.
Name: MyParameterPassingPortletProvider
Display Name: My PDK-URL Parameter Passing Portlet Provider
Provider ID: Leave blank, it will automatically be generated
Timeout: 100
Timeout Message: My PDK-URL Parameter Passing Portlet Provider Timed Out
Implementation Style: Web
Register on Remote Nodes: No
Provider Login Frequency: Never
URL: http://host.domain:port/servlet/urlparams
Click on OK.
Now that you have successfully installed your own PDK-URL Services parameter passing and inline rendering portlets using URL services, please look for future articles that will guide you through adding services to your portlet such as NLS, SSL, basic authentication, etc. Review the following URL services articles for detailed information about the URL services architecture:
Revision History: