May 13, 2010 12:47 pm
Today, I was setting up an internal (intranet) deployment of WebCenter and one of the things I needed to display was the company share price, pulled from the Internet. In order to do this, I used the built in Web Clipping portlet. However, it needs to be configured to use an HTTP proxy so that it can access content on the Internet.
This is done by adding some settings to the provider.xml configuration file used by the portlet. This configuration file is stored under the domain directory. In my case, it is located here:
C:\Oracle\Middleware\user_projects\domains\base_domain\servers\
WLS_Portlet\tmp\_WL_user\portalTools_11.1.1.2.0\vuzpes\war\WEB-INF\
providers\webClipping\provider.xml
Note that the directory in bold and underlined is an automatically generated name. Yours will probably have a different name. It gets created when you add the web clipping portlet to a page. You will want to do that first, if you have not already, so that the configuration file we need will be created.
If you open up this file, and scroll down about 30 or so lines, you will find that there is a long commented section that explains all of the proxy settings. Following this, there is a sample set of proxy settings, as shown below:
<!-- proxy information: Fill the following up if you have a proxy server between the provider and external sites.<proxyInfo class="oracle.portal.provider.v2.ProxyInformation"><httpProxyHost>yourproxy.yourdomain.com</httpProxyHost><httpProxyPort>80</httpProxyPort><dontProxyFor>.yourdomain.com</dontProxyFor></proxyInfo>-->
Posted by Mark Nelson
Categories: Uncategorized
Tags: proxy, web clipping, WebCenter
You must be logged in to post a comment.
Mobile Site | Full Site
Get a free blog at WordPress.com Theme: WordPress Mobile Edition by Alex King.