PDK URL SERVICES:
My Customer is using PDK-URL Services to display his application
from within a portlet.
However, the customer noted that when he clicks on any link the
within the application he is taken outside the browser window
(i.e. outside the portlet window).
Are there any workarounds for this behavior?
Steve F.
I've answered this question in other threads, but will repeat
here with an addition question.
Realistically, this behavior we designed for the portal:
aggregating, summarizing, and displaying information as
interfaces to larger applications. I understand the value but
I'm also curious what some of you would like to do with in-
portlet rendition and why a lot of people seem to ask for it.
That said, we are putting the finishing touches on a version of
the PDK-URL Services that will support this feature.
Similar Messages
-
How can I pass more than one parameters in PDK-URL services?
Hi all,
How can I pass more than one parameters in PDK-URL service? All samples on Portal Center shows just one parameter passing.
<inputParameter class="oracle.portal.provider.v1.URLPortletParameter">
<name>csz</name>
<isMandatory>false</isMandatory>
<displayName>What location do you want a map for (City, State or Zip)?</displayName>
</inputParameter>
How can I write the privider.xml file for passing multiple parameters?I answer to my question. I've got the answer.
I repeatly write down the <inputParameter> tags, and it works. -
Error in pdk url services when using a proxy server
Hi All,
i created a pdk url services portlet, which connects to a google site. i got a sucessful provider test page..when i tried to add it as a portlet it gives me the following error ,
Portlet Information could not be obtained. (WWC-44334)
An unexpected error occurred: ORA-29532: Java call terminated by uncaught Java exception: HTTPClient.AuthSchemeNotImplException: NTLM (WWC-43000)
An unexpected error occurred: HTTPClient.AuthSchemeNotImplException: NTLM
at HTTPClient.DefaultAuthHandler.getAuthorization(DefaultAuthHandler.java:136)
at HTTPClient.AuthorizationInfo.queryAuthHandler(AuthorizationInfo.java:330)
at HTTPClient.AuthorizationModule.setAuthHeaders(AuthorizationModule.java:454)
at HTTPClient.AuthorizationModule.responsePhase2Handler(AuthorizationModule.java:287)
at HTTPClient.HTTPResponse.handleResponse(HTTPResponse.java:635)
at HTTPClient.HTTPResponse.getInputStream(HTTPResponse.java:515)
at oracle.webdb.provider.web.HttpProviderDispatcher.dispatch(HttpProviderDispatcher.java:809)
what could be the reason for this error. can anyone help me plzz..its urgent
Regds
Kiran
at oracle.webdb.provider.web.HttpProviderDispatcher.getPortlet(HttpProviderDispatcher.java:463)
(WWC-43000)1. The version of my pdk is 3.0.9.0.5
2. provider.xml
<?xml version = '1.0' encoding = 'UTF-8'?>
<?providerDefinition version="2.0"?>
<provider class="oracle.portal.provider.v1.http.URLProvider">
<session>true</session>
<proxyInfo class="oracle.portal.provider.v1.http.ProxyInformation">
<httpProxyHost>proxy</httpProxyHost>
<httpProxyPort>80</httpProxyPort>
<proxyUser>username</proxyUser>
<proxyPassword>password</proxyPassword>
</proxyInfo>
<portlet class="oracle.portal.provider.v1.http.URLPortlet">
<id>1</id>
<name>Google.com Portlet</name>
<title>Google.com Portlet</title>
<description>This portlet is to test PDK-URL Services using Google</description>
<timeout>100</timeout>
<timeoutMessage>Google Portlet timed out</timeoutMessage>
<showEdit>false</showEdit>
<showEditDefault>false</showEditDefault>
<showPreview>false</showPreview>
<showDetails>false</showDetails>
<hasHelp>false</hasHelp>
<hasAbout>false</hasAbout>
<acceptContentType>text/html</acceptContentType>
<registrationPortlet>false</registrationPortlet>
<accessControl>public</accessControl>
<renderer class="oracle.portal.provider.v1.RenderManager">
<showPage class="oracle.portal.provider.v1.http.URLRenderer">
<contentType>text/html</contentType>
<pageExpires>60</pageExpires>
<pageUrl>http://www.google.com</pageUrl>
<filter class="oracle.portal.provider.v1.http.HtmlFilter">
<headerTrimTag><center</headerTrimTag>
<footerTrimTag>/center></footerTrimTag>
<convertTarget>true</convertTarget>
</filter>
</showPage>
</renderer>
<securityManager class="oracle.portal.provider.v1.http.URLSecurityManager">
<authorizType>public</authorizType>
</securityManager>
</portlet>
</provider>
Regds
Kiran -
PDK - URL Services for release 2 - available yet?
Hi
Is PDK URL Services for release2 available from OTN Yet?
Regards
HarryHi,
You can fin the beta release of URLServices for 902 here.
http://portalstudio.oracle.com/servlet/page?_pageid=2750&_dad=ops&_schema=OPSTUDIO&_mode=3
Thanks,
Sriram -
When I tried to install the PDK-URL Services Sample, Everything went fine. I am able to test the test page. When I tried to register the provider I am getting the following error.
An error occurred when attempting to call the providers register function.
(WWC-43134)
The following error occurred during the call to Web provider:
java.lang.NoSuchMethodError: oracle.portal.provider.v1.http.DefaultProvider:
method getDebugLevel()I not found
at oracle.portal.provider.v1.http.URLProvider.register(URLProvider.java:658)
at
oracle.portal.provider.v1.http.ServletProviderResponse$SoapWriter.marshalRegiste
rProvider(ServletProviderResponse.java:640)
at
oracle.portal.provider.v1.http.ServletProviderResponse$SoapWriter.access$1(Servl
etProviderResponse.java:635)
at
oracle.portal.provider.v1.http.ServletProviderResponse.registerProvider(ServletP
roviderResponse.java:116)
at
oracle.portal.provider.v1.http.HttpProvider.dispatchProviderAction(HttpProvider.
java:632)
at oracle.portal.provider.v1.http.HttpProvider.service(Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:435)
at org.apache.jserv.JServConnection.run(Compiled Code)
at java.lang.Thread.run(Compiled Code)
(WWC-43147)
Does anyone else encounterd this error ?
We are using portal 3.0.9.8.2 on Sun Solaris.
Thanks in advance.
SanjayI have been trying to Install the Java-PDK, URLServices and Exchange Portlets on HP-UX and I haven't succeeded in getting the PDK samples to work.
The error I am getting when I go to http://xxx.com/servlet/sample is:
javax.servlet.ServletException: HttpProvider.startProvider: Unable to initialize new provider instance: oracle.portal.utils.xml.v1.NodeHandlerException: XML processing error: unable to create object of type oracle.portal.sample.devguide.samplerenderer.SampleRenderer due to the following exception: java.lang.ClassNotFoundException: oracle.portal.sample.devguide.samplerenderer.SampleRenderer
I have followed all the instructions, read all the discussion forums and still could not get it to work.
Since you mentioned that you were using HP/UX , can you please give me some pointers to on how to get this to work and also let me know the various versions of products used.
The specifics of what I am looking for is:
1. Java-XDK version used (ie xmlparserv2.jar)
2. Java Servet Engine Version (ie ojsp.jar)
3. samples.jar version (file size), provider.jar version (file size), urlservices.jar (file size)
4. Java JDK version used.
5. The jserv.conf, jserv.properties, zone.properties, relevant provider.xml files
6. Any other information which will help.
Thanks -
PDK-URL Services: URLPageRenderer
In the following xml fragement from the document 'Understanding the provider.xml for URL Services'
There is a reference to URLRenderer class in the <ShowPage> tag. We have been unable to find this class anywhere, other PDK docs refer to URLPageRenderer which also doesnt exist.
Can you please describe the process of setting up a simple URL based Portlet ?
<renderer class="oracle.portal.provider.v1.RenderManager">
<showPage class="oracle.portal.provider.v1.http.URLRenderer ">
nullhi Rob,
There has been a change in the name of the renderer class, with respect to the latest UrlServices version. Earlier it used to be URLPageRenderer.class and now it has been changed to URLRenderer.class.
You can find this in 'urlservices.jar' file located at the lib directory of UrlServices download.
This is how you need to specify your showPage tag, if you are using URLRenderer as your renderer.
<showPage class="oracle.portal.provider.v1.http.URLRenderer">
I think the document "Understanding Url Services Runtime" needs to be updated with the name change from URLPageRenderer to URLRenderer!
--Sriram -
PDK-URL Services portlets cause error
Hi:
I recently installed URL services and began testing some of the
sample portlets. The portles display as advertized however when
trying to return to another page we get the following error:
Error: Timeout whilst retrieving Meta Data.
Once this message starts, no other page will be displayed and we
can only make it stop by stopping/starting the Apache Web
Server.
The JSERV log contains the following error messages:
[11/12/2001 10:47:05:015 EST] page/JNI: Exception when trying to
connect in 0.
[11/12/2001 10:47:05:031 EST] page/Timeout occurred, label=page
url=https://myserver/pls/portal30/!PORTAL30.wwpob_page.show?
_pageid=1
[11/12/2001 10:47:05:031 EST] page/ContentFetcher Unexpected
Exception, name=content-fetcher21
java.io.EOFException: Encountered premature EOF while reading
Version
at HTTPClient.Response.readResponseHeaders
(Response.java, Compiled Code)
at HTTPClient.Response.getHeaders(Response.java,
Compiled Code)
at HTTPClient.HTTPConnection.enableSSLTunneling
(HTTPConnection.java, Compiled Code)
at HTTPClient.HTTPConnection.sendRequest
(HTTPConnection.java, Compiled Code)
at HTTPClient.HTTPConnection.handleRequest
(HTTPConnection.java, Compiled Code)
at HTTPClient.HTTPConnection.setupRequest
(HTTPConnection.java:3545)
at HTTPClient.HTTPConnection.Post
(HTTPConnection.java:2478)
at HTTPClient.HTTPConnection.Post
(HTTPConnection.java:2605)
at oracle.webdb.cache.CacheHTTPConnection.getHTTPResponse
(CacheHTTPConnection.java:129)
at oracle.webdb.cache.CacheHTTPResponse.process
(CacheHTTPResponse.java, Compiled Code)
at oracle.webdb.cache.CacheHTTPConnection.common
(CacheHTTPConnection.java:114)
at oracle.webdb.cache.CacheHTTPConnection.Post
(CacheHTTPConnection.java:210)
at oracle.webdb.page.ContentFetcher.run
(ContentFetcher.java, Compiled Code)
We are using 8.1.7.1 database and 1.2.2 iAs with SSL enabled.
Any help would be appreciatedI also experienced some of the same problems as described in the
posts you mentioned. The disapearing page problem was the first
thing I noticed (along with having to restart the HTTP server to
get back to portal. It (disapearing page) eventually went away,
but I'm not sure why. Now, the URLServices portlets will
display but it still crashes the server. It's funny because if
I am logged in as PORTAL30, the first time I look at the
URLServices portlet page it crashes the server. After
restarting, the page will display with no further problems.
However, if I logout and login as another user and look at the
page, it crashes again. Not sure what to do.
John
John,
Do you think this might be the same as what Javier is seeing in
this post:
Re: A simple question about Calculation property
We're investigating this. -
How do I get proxy authentication working with PDK-URL Services?
I am posting this question for a PDK user
HEllo!!!
I installed the jpdk and the urlservices.
In the company, we have to log into the proxy server before
we can go to the internet.
How can setup my urlservices so they can pass this
authentication
proxy ? Can I put the username and password in the provider.xml?
I already tried to put the username and password in the url,
like
this : http://username:[email protected] But this doesn't
work.
When I try registry , I receive the following error :
An error occurred when attempting to call the providers register
function. (WWC-43134)
An unexpected error occurred: ORA-29532: Java call terminated by
uncaught Java exception: java.io.InterruptedIOException:
Connection establishment timed out (WWC-43000)
An unexpected error occurred: java.io.InterruptedIOException:
Connection establishment timed out
at HTTPClient.HTTPConnection.getSocket(HTTPConnection.java)
at HTTPClient.HTTPConnection.sendRequest(HTTPConnection.java)
at HTTPClient.HTTPConnection.handleRequest(HTTPConnection.java)
at HTTPClient.HTTPConnection.setupRequest(HTTPConnection.java)
at HTTPClient.HTTPConnection.Post(HTTPConnection.java)
at
oracle.webdb.provider.web.ProviderConnection.connectToProvider
(ProviderConnection.java:171)
at oracle.webdb.provider.web.HttpProviderDispatcher.dispatch
(HttpProviderDispatcher.java:804)
at
oracle.webdb.provider.web.HttpProviderDispatcher.registerProvider
(HttpProviderDispatcher.java:259)
(WWC-43000)
Can anybody help me?
Any information is welcome.
Thanks !
Robson GodoyWe have an undocumented 'Authenticating Proxy' feature, which can be used when user needs to be authenticated before accessing external sites.
Sample usage in provider.xml:
<proxyInfo class="oracle.portal.provider.v1.http.ProxyInformation">
<httpProxyHost>proxy.server.com</httpProxyHost>
<httpProxyPort>8080</httpProxyPort>
<proxyUser>abcd</proxyUser>
<proxyPassword>123456</proxyPassword>
<proxyRealm>your_proxy_realm</proxyRealm>
</proxyInfo>
Three new tags introduced here are :
(i) proxyUser - name of proxy user
(ii) proxyPassword - password for the above user.
(iii) proxyRealm - Realm under which this user information is valid.
Please edit all the tags and provide your domain specific proxy details.
Please post your results (successes and problems) on the forum to enable us to better scope how stable this undocumented feature is before moving forward. -
Help w/ PDK-URL Services Sample
I believe I've followed all directions. My server displays the proper information when I enter
"http://cariodon.tqtx.com:7777/jpdk/providers/sample" I get the sample page. However, when
I enter "http://cariodon.tqtx.com:7777/jpdk/providers/urlsample", I get the following errors...
oracle.webdb.provider.v2.utils.soap.SOAPException: Can't read deployment properties for service: urlsample
at oracle.webdb.provider.v2.utils.soap.SOAPProcessor.locateService(Unknown Source)
at oracle.webdb.provider.v2.adapter.SOAPServlet.doHTTPCall(Unknown Source)
at oracle.webdb.provider.v2.adapter.SOAPServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)
at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.AJPRequestHandler.run(AJPRequestHandler.java:151)
at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java:64)
WHAT AM I DOING WRONG??? If this is not the right place to ask this, where should I go?
Thanks & regards,
RonOkay, I re-downloaded the Oct PDK. I expanded the directory (in my home directory) and did a search for the
urlsample.properties file and did not find one in the JPDK. We're running Portal 9iAS v2 so I printed out the "Installing
the PDK Framework and Samples" documentation from the v2 directory and performed the following steps...
1. Copied the jpdk.ear file (replacing the previous version)
2. Edited the server.xml file adding <application name="jpdk" path="../applications/jpdk.ear" />
even though there is a similar statement with "auto-load" included.
3. Edited the http-web-site.xml files adding <web-app application="jpdk" name="jpdk" root="/jpdk" />
Stopped and started the server using the "dcmctl stop" and "dcmctl start" commands
Is there some step missing from these instructions? Is everything in the jpdk.ear file? Do I need to copy additional
files and/or directories from the downloaded jpdk package? It seems that something is missing because the
directions are pretty straight forward and yet it doesn't seem to work properly.
Regards,
Ron -
Is the iFrame portlet part of the PDK ?
If I search 'iFrame' on the PortalStudio, I find links to the zip and HTML files, but cannot find them in the v1 or v2 PDK.
Can someone provide information and status on this portlet.
ThanksHi,
IFrame Portlet is a part of community contribution and not a part of PDK.
You can download from community contribution.
--Sriram -
Rendering Problems using PDK-URL (URL dynamically changes)
Oracle 9i Application Server 1.0.2.2.1
Oracle Portal 3.0.9.8.0
PDK Services for Java version 3.0.9.0.5.
PDK URL Services version 3.0.9.0.4.
Oracle HTTP Server 1.3.19.0.0a
The PDK-URL installed fine and the rendering examples work
(www.google.com, etc). As a POC, I'd like to render our help
desk page on portal tab. For the help desk portlet, I added an
entry in the URL provider.xml with the following url:
<pageUrl>http://intranet.mas.alcoa.com/tiweb/default.asp</pageUrl>
When the portlet is placed on a public help desk tab on the main
portal and the help desk tab is clicked, the address resolved is
http://mas_itport-ws2/servlet/scripts/TrackIt.asp. The
"intranet.mas.alcoa.com" portion of the URL is being
replaced with "mas_itport-ws2/servlet".
Metalink referred me to this discussion forum. Please let me
know if you have any ideas regarding this issue or can advise
where else to get support.
Thank you in advance,
[email protected]Thank you for the reply amjad. But I do not understand what it
is that I am suppose to look for. Here is the provider.xml
entry.
<provider class="oracle.portal.provider.v1.http.URLProvider">
<proxyInfo
class="oracle.portal.provider.v1.http.ProxyInformation">
<httpProxyHost>na-proxy.alcoa.com</httpProxyHost>
<httpProxyPort>80</httpProxyPort>
</proxyInfo>
<session>true</session>
<portlet class="oracle.portal.provider.v1.http.URLPortlet">
<id>1</id>
<name>TrackIt Portlet</name>
<title>TrackIt Portlet</title>
<description>Display TrackIt as a portlet.</description>
<timeout>100</timeout>
<timeoutMessage>Timed out waiting for TrackIt
Portlet.</timeoutMessage>
<acceptContentType>text/html</acceptContentType>
<showEdit>false</showEdit>
<showEditToPublic>false</showEditToPublic>
<showEditDefault>false</showEditDefault>
<showPreview>false</showPreview>
<showDetails>false</showDetails>
<hasHelp>false</hasHelp>
<hasAbout>false</hasAbout>
<renderer class="oracle.portal.provider.v1.RenderManager">
<contentType>text/html</contentType>
<showPage class="oracle.portal.provider.v1.http.URLRenderer">
<contentType>text/html</contentType>
<charSet>ISO-8859-1</charSet>
<pageUrl>http://intranet.mas.alcoa.com/tiweb/default.asp</pageUrl
>
<filter class="oracle.portal.provider.v1.http.HtmlFilter">
<headerTrimTag><body</headerTrimTag>
<footerTrimTag>/body></footerTrimTag>
<baseHRef>http://intranet.mas.alcoa.com/Tiweb/default.asp</baseHR
ef>
<secBaseHRef>http://intranet.mas.alcoa.com/Tiweb/default.asp</sec
BaseHRef>
<inlineRendering>true</inlineRendering>
</filter>
</showPage>
</renderer>
</portlet> -
Help dealing with Firewall, and URL Services
All,
We have recently installed the PDK URL Services for Portal to help
fulfill a requirement to enable Single Sign-On to access web sites
outside our client's network. We have hit a snag though, in that the
client has in place a firewall that challenges the browser at each
request to access an outside site. URL Services does not seem equipped
to handle these extra challenges in addition to the Single Sign-On
Username and Password requirements.
Has anyone dealt effectively with this problem? Is there an effective
remedy or technique using SSO /URL Services providers that will allow
this to take place? Can we more effectively use the built in proxy
services to help us with this?
We are currently using the latest URL Services download under Portal
3.0.9.8.2 on Solaris.
Thanks in advance for any help on this, our need is urgent, and time is
short.
Stuart DautrichStuart,
I guess you're currently in touch with the appropriate people for this issue now.
It would be great if you share your experience and tips with other users too.
Thanks,
Mohana -
Help dealing with URL Services and Firewall
All,
We have recently installed the PDK URL Services for Portal to help
fulfill a requirement to enable Single Sign-On to access web sites
outside our client's network. We have hit a snag though, in that the
client has in place a firewall that challenges the browser at each
request to access an outside site. URL Services does not seem equipped
to handle these extra challenges in addition to the Single Sign-On
Username and Password requirements.
Has anyone dealt effectively with this problem? Is there an effective
remedy or technique using SSO /URL Services providers that will allow
this to take place? Can we more effectively use the built in proxy
services to help us with this?
We are currently using the latest URL Services download under Portal
3.0.9.8.2 on Solaris.
Thanks in advance for any help on this, our need is urgent, and time is
short.
Stuart DautrichStuart,
I guess you're currently in touch with the appropriate people for this issue now.
It would be great if you share your experience and tips with other users too.
Thanks,
Mohana -
How to solve this problem in PDK-URL
Dear all
I success install PDK-URL in my 9i AS, and i test all the PDK-URL example can run on the server, so i edit the providers.xml to add a new URL. My exist web service URL address is : http://testserver.com/service;userid=6687362346283.ehtml
, But i can not use this URL, because i found that PDK-URL can not contain ';', if the address can not change, how can i use this address in PDK-URL??
Thanks for your help.
TonyEncoded URL should be used under <pageURL> tag in your provider.xml. Hence you need to replace ";" with "%3b".
Example
http://testserver.com/service%3buserid=6687362346283.ehtml -
Hi,
We are trying to test the samples provided in the PDK for URL Services, but for all the 4 in-built portlets we are getting 'AccessControlException' when we try to view the portlet thru the 'Display Portlet' link in the 'Administer' tab of Oracle Portal Homepage.
Any suggestions?
Thanks,
Vandana
nullPlease verify whether your test page is coming up properly. Also, please verify the proxy that is set in the provider.xml.
Maybe you are looking for
-
Hi, I am doing an Attachment implementation in my UI. I gone throught the stpes given in this url http://docs.oracle.com/cd/E25178_01/fusionapps.1111/e15524/ui_attachments.htm I created my business object VO and then added Applications Core (Attachme
-
Bluetooth no longer finds my phone
Hello All, I used to be able to send files (photos, ringtones, etc) back and forth from my phone to my computer, but for some reason it doesn't work anymore. Last time I tried was one month ago and it worked no problem. I've also been able to sync (c
-
*********************This is my HTML form for Media search***************** <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN"> <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"> <title>search media form</tit
-
Compressor takes two hours for iPhone setting??
I have never had much success using Compressor and so simply use the export settings in FCP. I would like to use Compressor, but admittedly, have not learned the ins and outs...however, this evening I sent a 5 minute video to Compressor, chose the iP
-
Newbie here. Love my Macs (iMac and Macbook Pro). I recently created a blog using iWeb and my .Mac account. I'm kinda disappointed that I can't work on my blog using my Macbook Pro. I created the blog using my iMac and iWeb 08. I understand that if y