Welcome to the PDK-URL Services. Now that you have successfully downloaded and installed the PDK-URL Services Framework and Samples, you may want to use PDK-URL Services to create other URL-based portlets. PDK-URL Services has extended PDK-Java to support portlets created in any Web-based language. This article describes how to install and configure the PDK-URL Services NLS Portlets. These portlets are best viewed with IE 5.0 and above.
You have already downloaded and installed the samples 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 are using this sample with Portal 3.0.8 and up.
You have installed Portal on a database that is using a character set compatible with the language of your portlet. For example, if your portlet has multibyte characters then the Portal database must be using a character set compatible with this (i.e., UTF-8).
You are using JPDK 1.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.nls.code=oracle.portal.provider.v1.http.HttpProvider
servlet.nls.initArgs=provider_root=C:\urlservices\providers\nls,sessiontimeout=1800000, debuglevel=1
Save and close the file.
Start the Oracle HTTP Server.
http://host.domain:port/servlet/nls
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>
<httpsProxyInfo class="oracle.portal.provider.v1.http.ProxyInformation">
<httpsProxyHost>www-proxy.us.oracle.com</httpsProxyHost>
<httpsProxyPort>80</httpsProxyPort>
</httpsProxyInfo>
If you need to use your own proxy server, alter the <httpProxyHost>, <httpProxyPort>, <httpsProxyHost>, and <httpsProxyPort> 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: MyNLSProvider
Display Name: My PDK-URL NLS Provider
Provider ID: Leave blank, it will automatically be generated
Timeout: 100
Timeout Message: My PDK-URL NLS Provider Timed Out
Implementation Style: Web
Register on Remote Nodes: No
Provider Login Frequency: Never
URL: http://host.domain:port/servlet/nls
Click on OK.
Now add your new portlet to a page.
In I.E. encoding can be set using View -> Encoding -> <Encoding-Type>
You have successfully installed your own PDK-URL Services NLS portlet using URL services. Review the following URL services articles for detailed information about the URL services architecture:
Revision History: