Q : pdk-url sample example

Hi all,
We are using a proxy server to work on PDK-URL. We configured the provider.xml and when we try to view the portlet we get the foll error in jserv log file:
[26/02/2002 12:24:42:963 GMT+05:30] urlsample/connection is .....HTTPClient.HttpURLConnection[http://www.google.com/]
urlsample/getURLStream: Failed to get Input Stream from URL : http://www.google.com/
[26/02/2002 12:24:43:024 GMT+05:30] urlsample/Response status: 500 : oracle.portal.provider.v1.AccessControlException: Failed to read contents from : http://www.google.com/
Please help.
Thanks

URLServices has an undocumented feature, which is not yet tested. It will be very much helpful, if you can try out the following solution with the latest URLServices available and let us know if it works ...
Here is the configuration info :
<proxyInfo
class="oracle.portal.provider.v1.http.ProxyInformation">
<httpProxyHost>your_proxy_host</httpProxyHost>
<httpProxyPort>proxy_port</httpProxyPort>
<proxyUser>proxy_user_name</proxyUser>
<proxyPassword>proxy_user_password</proxyPassword>
<proxyRealm>proxy_realm</proxyRealm>
</proxyInfo>
New tags introduced here are
(i) proxyUser - Name of the user having access to proxy
(ii) proxyPassword - password for the above user.
(iii) proxyRealm - Realm to which the authenticated proxy user belong to
Thanks,
Amjad.

Similar Messages

  • After installing PDK-URL sample I am getting an error

    After installing PDK-URL sample I am getting this error
    Error!
    javax.servlet.ServletException:
    Unable to find Provider class oracle.portal.provider.v1.http.URLProvider
    Hi I am getting this error after installing JPDK-URL and I when I try to run urlsample.
    I have used the exact steps mentioned in the installation document.
    Thanks.

    Narayana,
    Apache JServ will not take files from system class path. This information is to be given in jserv.properties through wrapper.classpath. It is much similar to how we install JPDK. I guess you have added urlservices.jar to the classpath using the above method.
    Thanks,
    Amjad.

  • Pdk-url samples

    i have tried to install the pdk-url samples and everything is fine until i try to add them to my portal.
    Must my computer have installed the IIS to run the asp pages? if so, is it possible to run a portal with jsp and asp portlets together? if not. what is my fault?
    thanks.

    from pdk (v1) point of view it is fine to have a portlet with asp as well jsp, as long as your webserver supports both.
    IIS alone will not help in running the jsp files, you need to have some third party container like JRun or ServletContainer which could map the appropriate URI to the specified container.

  • PDK-URL Services Sample

    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.
    Sanjay

    I 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

  • 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.

  • 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.
    Tony

    Encoded 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

  • 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>&lt;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>

  • Sample example of Report in OSB

    Hi can any one send the link for sample example of Report in message flow of OSB...Thanks in advance
    Mani

    Try to search on this forum. There were many examples here.

  • For each sample example  in OSB without Split join

    Hi,
    Any body have sample example for For each in OSB without Split join......Thanks in advance

    I know this is an old thread, but I just ran into this same problem. Wow! That's a crappy 'feature'. I wasted 4 hours this morning on this thinking it was me doing something wrong in my xpath, but nope, you need to cast the counter to an int .......
    I hope they fix things like this in the next major release.
    Thanks for the solution.

  • Sample example for Agentry

    Hi,
    i am working on the Android Mobile Application Development based on SMP using Agentry Plugin.i am new to this environment, i want to know how it works,and need a sample example to understand the structure.as of now i don't want to connect with any back end services. simple example like creating hello world in java.
    so please guide me on this? is there any link or any sample program ?
    Message was edited by: Michael Appleby

    These documents might help you:
    How-to Build an Agentry based mobile app from scratch connecting to an SAP back-end Part1
    Agentry - Build your own Apps
    Regards,
    Midhun VP

  • Sample example of publish in OSB

    Hi can any body send links for sample examples for publish in OSB

    In OSB there are two types of services:
    Proxy Service - Used for inbound transport i.e. these services are either invokes my a message polled (reading a file, polling from DB, reading a message from JMS queue) or an external application sending a request to this service. A Proxy service is essentially like a service to start a message flow in OSB. Just like a web service.
    Business Service - Used for outbound transport i.e. these services make a call from an already running OSB message flow to an external entity(writing a file, insert in DB, Publishing a message on JMS queue) or making a call to an external application for ex calling an external web service. Business service in this sense is like a Web Service client.
    Hence to publish a message to JMS (an outbound operation) you will create a Business Service in OSB. SOA Suite is no where involved in this.
    To publish a message on JMS from HelloWorld Proxy you need to do following:
    1. Create a Business Service of messaging type and JMS transport.
    2. Create a HelloWorld Proxy which receives a message over HTTP. In the message flow of this Proxy create a Publish action(its an action to send a one way message to a Business/Proxy servicing from within a Proxy) in request pipeline or Route to action in Route Node and select the JMS Business Service as target.
    When you invoke the HelloWorld Proxy it will send a message to Business Service which will then publish the message on Queue.

  • Sample example for with check box in iterator.

    Hi,
    I have a requirement where 5 to line items would be displayed with an iterator.
    I am able to display the output with checkbox in the iterator.
    In the next page i need to display the check items.
    How do i identify the checkbox is checked or not.
    Would be greatful if u can provide an sample example.
    Promise to reward point
    Regards,
    Jose

    data: loc_table_event type ref to cl_htmlb_event_tableview.
    Data: loc_cnt type i,
             loc_indx type 1.
    describe TABLE int_table .
    loc_cnt = sy-tfill.
    call method cl_hrrcf_iterator=>get_tv_attr
        exporting
          p_tv_id               = 'TV'
          p_component_id        = me->component_id
          po_request            = me->request
        importing
          p_visible_first_index = me->visible_first_row
          pt_selected_keys      = me->lt_selectedkeytab
          po_tv_event           = loc_table_event.
    *loc_cnt have number of records in intarnaltable, that you displayed in Table view.
    loc_indx = 1.
    do loc_cnt TIMES.
    wf   = loc_table_event->get_cell_value(
                                             row_index     = loc_indx
                                            column_index  = 1 ).
    /*  by using this you can get the value of chexk box in to wf . if wf is 'X' then that record is selected.
      /* you can fetch the record form intarnal table by using index(loc_indx)
    loc_indx = loc_indx + 1.
    enddo.
    vijay

  • 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>&lt;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

  • Toolbox tutorial and sample examples for OAF

    Hi all ,please help me to get Toolbox tutorial and sample examples for OAF , and Jdeveloper 9i download link,
    please give me to get the above stuff. Thanks
    Thanks & Regs

    Hi,
    Looks like you are not in 11.5.9, your instance is 11.5.10.
    You can download the Patch 4573517 Oracle9i JDeveloper with OA Extension for 11.5.10 CU2
    from metalink, search with platform as Windows Clinet 32 bit.
    Then you can develop pages for your instance.
    Btw: what is the output for the following query,
    Select bug_number from ad_bugs where bug_number in ('4334965','4125550','4676589','5473858');
    Thanks.
    With Regards,
    Kali.

  • PDK - URL Services for release 2 - available yet?

    Hi
    Is PDK URL Services for release2 available from OTN Yet?
    Regards
    Harry

    Hi,
    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

Maybe you are looking for

  • How can i show multiple windows on start?

    Hi everybody: I have an application that need to show 5 windows at the same time when the application is started. The 5 windows are seen but the canvas is not shown, so, i see 5 windows with no elements. I have tried with SHOW_WINDOW built in, but it

  • Firm Number on the Payment Run

    Hi All, I have an issue where the client is requesting the 'Firm Number' to appear on the payment list. At the moment, there is a number that gets printed on the payment run but this is incorrect. I presumed this was the SCB indicator that is entered

  • Need to delete drop down values of activity in travel request portal

    Hi, We need to hide/delete few of the drop down values from activity in travel request creation in portal, i know that if we delete in R/3 it will effect here, as per the client requirement we need values in R/3 system but that few of the values shou

  • Normal report with ALV's

    Hello Experts, i had one new development from Scratch one thing is that object already developed, but the customer not intrested that output, he want the output to be changed.it is normal report with ALV's. main task of this object is to change the v

  • Unsupported architecture or file format error at line 13 of file 'dbxrc'

    Hi , I have downloaded sun studio 12 bash-3.00# version Machine hardware: i86pc OS version: 5.10 Processor type: i386 Hardware: i86pc The following components are installed on your system: Sun Studio 12 Sun Studio 12 C Compiler Sun Studio 12 C++ Comp