Dynamic Invocation of portlets

Hi,
I have created portlets and able to deploy them in webcenter portal application successfully at run time.
My qstn is, how can we invoke portlets dynamically(by Sending some parameters).........?
Regards.

Daniel,
yeah its run-time,
My Scenario is:
I have two taskflows deployed as portlets,
One TaskFlow having table containing a list of 3 rows,where each row represents a unique graph in another taskflow.
Other TaskFlow contains three deployed graphs.
Intially, second portlet must be empty...whenever user selects particular row in first portlet, respective graph should be displayed.
Note: I thought use InterPortlet Communication between those two portlets and to pass some unique value(may be Id) as a parameter.
Is there any other way of implementing...?
Regards.

Similar Messages

  • How to form a URL dynamically in my portlet

    hi all,
    i have a requirement in weblogic portal 10.2,how do i form my URL dyncamically in my portlet which is as below
    I have a requirement to dynamically form my URL. Further suppose I have a left navigation portlet which has 3 links and right navigation portlet should show the content for the respective links clicked on left navigation portlet.so in this scenario I need to dynamically create my url which I need to display on the right hand side portlet
    Dynamic access to portlet B
    Portlet A ------------------------------------------> Portlet B
    The Url which has to be displayed on portlet B has to created dynamically in my portlet A,
    i.e portlet A should dynamically access portlet B and the page of Portlet B which has to be displayed and create the URL,Once the URL is formed I should be able to access portlet B,
    Portlet A ---> access Portlet B context ---> get portlet B context ----> get Portlet B output jsp page and hence form the url
    Portlet A = (Portlet B context) + (get Portlet B output jsp page)
    = Well formed URL of output jsp page which is in the right hand portlet B
    If u have the source code pertaining to above/material.please share it with me.
    Thanks
    Deepak
    Edited by deepakl_2000 at 05/17/2008 1:20 AM

    hi [email protected]
    tell me my friend .. how can i extend
    the standard Forms button in Java ? ... what is the tool for that ... can you explain more please .. or can you give me a full example ... i don't have any expereience on that .. i'm waiting for your reply .
    Thanx a lot for your cooperation .
    Ali
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by [email protected]:
    Henrik, the Java importer lets you call Java classes on the app server side - I think what Ali is trying to do is integrate on the client side.
    If you want to add your own button then if you extend the standard Forms button in Java and then use this class name in the implementation class property then the Java for your button will be used instead of the standard Forms button. And since it has extended the basic Forms button it has all the standard button functionality.
    There is a white paper on OTN about this and we have created a new white paper which will be out in a couple of months (I think).
    Regards
    Grant Ronald<HR></BLOCKQUOTE>
    null

  • Setting the charset in dynamic invocation

    I'm on WLS 8.1 SP1. The doc (http://e-docs.bea.com/wls/docs81/webserv/i18n.html)
    shows how to set the charset attribute of the Content-Type HTTP header via the
    client stub. But I am not using client stubs, I'm using dynamic invocation. So
    how do I accomplish the equivalent? I don't see an obvious javax.xml.rpc.Call
    property field for this.
    TIA...
    Mark

    The trouble with this example is that it doesn't use JAX-RPC dynamic invocation.
    The attachment contains an example of what I am trying to do. The method of interest
    is case3(), in which. on lines 294-296, is an (unsuccessful) attempt to set the
    character set. The other methods of interest here are getEMAExceptionServices()
    (which creates the javax.xml.rpc.Service object) and getUpdateExceptionResolutionStatusCall(Service
    iService) (which creates the javax.xml.rpc.Call object).
    [OK, this time I attached something.]
    -- Mark --
    Bruce Stephens <[email protected]> wrote:
    Hi Mark,
    Take a quick look at Manoj's Mega example [1] and see if this clears
    things up. If not, post your code and we can take a look, or speak to
    our outstanding support team: http://support.bea.com or [email protected]
    Thanks,
    Bruce
    [1]
    http://manojc.com/tutorial/mega/client/BindingProperties.java
    Mark Shaffer wrote:
    Bruce,
    If I try to get the "weblogic.webservice.bindinginfo" property froma Call object,
    this exception is thrown:
    javax.xml.rpc.JAXRPCException: unknown property: weblogic.webservice.bindinginfo
    at weblogic.webservice.core.rpc.CallImpl.getProperty(CallImpl.java:322)
    -- Mark --
    Bruce Stephens <[email protected]> wrote:
    Hi Mark,
    Did you try the code in the doc?
    import weblogic.webservice.binding.BindingInfo;
    BindingInfo info =
    (BindingInfo)stub._getProperty("weblogic.webservice.bindinginfo" );
    // The following method sets the Content-Type HTTP header
    info.setCharset( "UTF-8" );
    port.helloWorld();
    Thanks,
    Bruce
    Mark Shaffer wrote:
    Bruce,
    OK, but the disconnect here is that I don't have a BindingInfo object,nor do
    I know how to obtain one. All I have is javax.xml.rpc.* objects.
    -- Mark --
    Bruce Stephens <[email protected]> wrote:
    Hi Mark,
    Your client application can specify the character set that it would
    prefer the Web Service to use in its response by using the
    weblogic.webservice.binding.BindingInfo.setAcceptCharset() method.
    See: http://e-docs.bea.com/wls/docs81/webserv/i18n.html#1069629
    There is example code there as well.
    Hope this helps,
    Bruce
    Mark Shaffer wrote:
    I'm on WLS 8.1 SP1. The doc (http://e-docs.bea.com/wls/docs81/webserv/i18n.html)
    shows how to set the charset attribute of the Content-Type HTTP
    header
    via the
    client stub. But I am not using client stubs, I'm using dynamic
    invocation.
    So
    how do I accomplish the equivalent? I don't see an obvious javax.xml.rpc.Call
    property field for this.
    TIA...
    Mark
    [UTEMAExceptionServices.java]

  • Problem with Dynamic Invocation of Webservice

    Hi,
    I am trying to use Dynamic Invocation Of Webservice, as defined in the following link .
    "http://download.oracle.com/docs/cd/B14099_19/web.1012/b14027/xhtmlstrm.htm#i1010275"
    I have written standalone java client program to invoke, while invoking i got the error as follows :
    Exception in thread "main" java.lang.NoSuchFieldError: FAULT_CODE_IOEXCEPTION
         at oracle.soap.transport.http.OracleSOAPHTTPConnection.send(OracleSOAPHTTPConnection.java:765)
         at org.apache.soap.rpc.Call.invoke(Call.java:248)
         at oracle.ds.v2.impl.adaptor.protocol.soap.DsSoapRpcHandler.execute(DsSoapRpcHandler.java:93)
         at oracle.ds.v2.impl.adaptor.protocol.soap.DsSoapHandler.execute(DsSoapHandler.java:130)
         at oracle.ds.v2.impl.adaptor.protocol.soap.DsSoapProtocolAdaptor.process(DsSoapProtocolAdaptor.java:134)
         at oracle.ds.v2.impl.engine.ProtocolManager.process(ProtocolManager.java:69)
         at oracle.ds.v2.impl.engine.DefaultManagerExecutionContext.executeProtocolAdaptor(DefaultManagerExecutionContext.java:382)
         at oracle.ds.v2.impl.adaptor.execution.DummyExecutionAdaptor.process(DummyExecutionAdaptor.java:54)
         at oracle.ds.v2.impl.engine.ExecutionManager.process(ExecutionManager.java:393)
         at oracle.ds.v2.impl.engine.ExecutionManager.doExecute(ExecutionManager.java:348)
         at oracle.ds.v2.impl.engine.ExecutionManager.execute(ExecutionManager.java:259)
         at oracle.ds.v2.impl.connection.DefaultDsConnection.execute(DefaultDsConnection.java:162)
         at oracle.j2ee.ws.client.impl.DefaultWebServiceMethod.execute(DefaultWebServiceMethod.java:192)
         at oracle.j2ee.ws.client.impl.DefaultWebServiceMethod.invoke(DefaultWebServiceMethod.java:160)
         at com.sub.atl.dynamicws.DynamicWS.wsdlDetails(DynamicWS.java:102)
         at com.sub.atl.dynamicws.DynamicWS.main(DynamicWS.java:19)
    Can, any one help to solve this error.

    What does your code look like?
    By the error it appears you are trying to access a field called "FAULT_CODE_IOEXCEPTION" which doesn't exist.

  • Web Services Dynamic Invocation

    Hi,
    I am trying to find a way to do web services dynamic invocation where params and return type can be complex types.
    The process I intent to follow is, query a uddi registry based on some search criteria to get a reference to the service wsdl. Use maybe wsdl4j to introspect the wsdl to determine porttype, operations, param data types etc and then perform a dynamic invocation.
    Does anybody have any ideas on how best this can be achieved without having to reinvent the wheel.
    Thanks,
    -V

    Hi
    I am looking for the same thing, please let me know if you resolve it.
    thanks

  • Dynamic User Survey Portlet

    Dynamic User Survey Portlet. I want to create a dynamic survey in oracle portals.
    The administrator should be able to specify the questions, answer column attributes in a database table and activate the
    current survey using a status_flag column. How to write a portlet to generate the survey page dynamically and
    present to the user. The questions and answers should be inserted into another database table on submit.
    Any sample, ideas really appreciated
    Vimal

    Hi,
    I have answered a similar question in
    Re: .NET application works OK on infrastructure, but has problems on midtie
    Thanks,
    Sharmila

  • Dynamic invocation in Axis

    I've deployed two services, one using framework Axis, one using framework Muse(a web service apache project).
    I want to make a dynamic invocation from Axis to use an operation of Muse, I add the code in the impl document of Axis. Is it possible to do that?
    Thank you in advance.

    first of all, you are invoking the webservice with a string, not with xml.
    secondly, ditch axis and go read a tutorial on jaxws, it will be 10 times easier.

  • Dynamic Invocation: Error The SOAP PA receives a SOAP Fault from SOAP serve

    Hi All,
    I am trying to run the sample code "Dynamic Invocation of Oracle9i Web Services using Oracle UDDI registry"
    I was able to run the web services, publish them, and inquiry them using local UDDI registry.
    However, while invoking any method provided by the web services using the inovk method I get the following error
    oracle.j2ee.ws.client.WebServiceProxyException: Invocation failed 5,100: The SOAP PA receives a SOAP Fault from SOAP server
    Can anybody help me please?
    Regards,
    S.Al Shamsi

    It looks like the problem is occuring on the server side. I guess you have included the stacktrace from the client, can you get hold of the server side stacktrace?

  • Reg@ Dynamic invocation of Webservices using an Single Invoke

    Hi ,
    I am trying to implement Dynamic invocation of webservices using a single Invoke .
    Say , i have three webservices = WebA,WebB and Webc .Based on Logic , i need to invoke either of the webservice with an single Invoke .
    In [  ws-addressing.xsd ] there are different elements ,"Address" is for endpoint URL.PortType??ServiceName ?? .
    If i need to make use of this XSD can any one help me to map the WSDL components to this XSD Or lease suggest options if any ??
    Regards ,
    Naga

    http://blogs.oracle.com/dasoa/2010/09/11g_dynamic_partnerlink_example.html
    see the article he's refering too
    eventually you need something like :
    <assign>
    <copy>
    <from>
    <EndpointReference xmlns="http://schemas.xmlsoap.org/ws/2003/03/addressing">
    <Address>http://localhost:9700/orabpel/default/UnitedLoan</Address>
    <ServiceName
    xmlns:ns1="http://services.otn.com">ns1:UnitedLoan</ServiceName>
    </EndpointReference>
    </from>
    <to variable="partnerReference"/>
    </copy>
    </assign>

  • Array of String for input paramter + dynamic invocation

    Does anybody know a place I can find an example of web service
    using the following methods:
    1. Array of String as input parameter
    2. Client uses dynamic invocation
    Specifically, 1. how do I define the parameter type in web-services.xml?
    2. how do I refer to the type in a client code?
    Thanks,
    Hong

    Hello,
    The doclitparam interop round 3 example does a echo string array.
    http://dev2dev.bea.com/managed_content/direct/webservice/r3server.zip
    Also there is a DII example in the WebService Wizard's archive:
    http://dev2dev.bea.com/managed_content/direct/webservice/wswa.html#qz29
    HTH,
    Bruce
    Hong wrote:
    Does anybody know a place I can find an example of web service
    using the following methods:
    1. Array of String as input parameter
    2. Client uses dynamic invocation
    Specifically, 1. how do I define the parameter type in web-services.xml?
    2. how do I refer to the type in a client code?
    Thanks,
    Hong

  • Step by step installation for Web Services Dynamic Invocation application?

    please let me know the step by step process to install the Web Services Dynamic Invocation application Sample code.The install.htm that comes with the download does not give enough information.
    Thanks in Advance
    Shyam

    Sorry for the confusion,i got hold of the right document.
    Thanks
    Shyam

  • Dynamic LOV on portlet

    I have a dynamic LOV as the only item in a portlet. The page is a 2 column layout with 2 tabs. When I click on the second tab I get 'There is currently no HTML content' message where the LOV should appear. Why?

    Hi, I'm using Discoverer portlet on my Portal. As far as I know you need to map your form parameters to the page parameters and page parameters to Discoverer Portlet parameter. (Form > Page > Discoverer). There seems to be no direct way to pass parameters to Discoverer portlet.
    Can you explain how did you build Custom Form with dynamic LOV and use session variables. I tried but I was unable to do so.
    Please, provide steps to do the task. This would be of great help.
    Thanks in advance.

  • Explain please differences of report, dynamic page, frame, portlet

    Hi to all -
    I am a beginner with using WebDB/Portal development so forgive me for such simple questions.
    Can someone explain or point me to a site that explains the differences between report, dynamic pages, frame drivers and portlets? I am trying to understand when I might use say a dynamic page rather than a report, etc. Also, does the PDK functionality complement Portal or is it it's own web development tool entirely?
    I thank you for your shared knowledge
    Mark

    gday Mark -
    There is actually a portal specific forum on OTN which is where the portal experts are all concentrated. See, <a href="http://technet.oracle.com:89/cgi-bin/forumdisplay.cgi?action=topics&forum=Oracle9[ii[/i+AS+Portal&number=70&DaysPrune=20&LastLogin=">Oracle9iAS Portal</a>
    If you've not seen it, there is a ton of good info available for portal. See the page for
    <A HREf="http://otn.oracle.com/docs/products/iportal/doc_index.htm">Portal</a> whitepapers, tutories, faqs, etc.
    The PDK is a set of APIs which expose the services provided by Oracle9iAS Portal. This enables you to build your own custom portlets (the building blocks of a portal and it's pages) using your preferred development language and environment. Note that you can also expose a lot of the inbuilt functionality of portal as portlets to enable the easy reuse of people's work.
    See <a href="http://portalstudio.oracle.com/servlet/page?_pageid=350&_dad=ops&_schema=OPSTUDIO">Oracle Portal Studio</a> site for more details on the PDK and portlets.
    cheers!
    -steve-
    null

  • Dynamic Invocation Of EJB's ?

    I am intending to write a dispatcher class that takes the name of an EJB at
    runtime and then looks up and invokes a method on the EJB. I was intending
    to
    create a simple interface that the EJB will implement something like:-
    public interface DynamicEJBDef
    public void dynamicMethod() throws Exception;
    The dynamic method would be implemented in the Bean class and thus the
    Remote class.
    Then to invoke I was thinking of something like the following:-
    String ejbJNDIName = "testEJB";
    EJBHome ejbHome = (EJBHome) ctx.lookup(ejbJNDIName);
    DynamicEJBDef ejbObj = (DynamicEJBDef) ejbHome.create();
    ejbObj.dynamicMethod();
    Has anyone done this before ? Will it work and if not any other
    suggestions...?
    TIA

    We did this a couple of year ago with a servlet that called a
    'GenericRequestHandler' class. The servlet was passed an xml message in the
    request that had a header that contained the request type. The data for the
    request was in a body portion of the xml message. We used the information in
    the header to call a request handler factory class that returned a request
    handler that would deal with the message type. Most of the time, if the request
    was generic enough, it returned the 'GenericRequestHandler'. If the request was
    more complex, the factory would return a specific request handler. The request
    handler classes all implemented the same interface and used the header info to
    map to a jndi lookup of an entity ejb, and a call to an appropriate method on
    the entity ejb. It was great if all of the requests were of a generic nature.
    Kind of a poor man's SOAP request.
    The hassle was parsing all the xml and figuring out what to do in the factory,
    as well as, writing the specific request handlers when the requests got more
    complex. The specific request handlers got pretty involved.
    I don't have access to the code....and if I did I couldn't give it to you....or
    they would kill me. ;-)
    But, it worked.
    Bill
    Martin J Porter wrote:
    I am intending to write a dispatcher class that takes the name of an EJB at
    runtime and then looks up and invokes a method on the EJB. I was intending
    to
    create a simple interface that the EJB will implement something like:-
    public interface DynamicEJBDef
    public void dynamicMethod() throws Exception;
    The dynamic method would be implemented in the Bean class and thus the
    Remote class.
    Then to invoke I was thinking of something like the following:-
    String ejbJNDIName = "testEJB";
    EJBHome ejbHome = (EJBHome) ctx.lookup(ejbJNDIName);
    DynamicEJBDef ejbObj = (DynamicEJBDef) ejbHome.create();
    ejbObj.dynamicMethod();
    Has anyone done this before ? Will it work and if not any other
    suggestions...?
    TIA

  • Dynamic invocation of javac with custom class path.

    To all the Java Gurus out there,
    Consider the following classes:
    XYZ/test/TestUtil.java
    package test;
    class TestUtil {
      void useMe() {
    }ABC/test/Test.java
    package test;
    public class Test {
      public static void main(String[] args) {
        TestUtil t = new TestUtil();
         t.useMe();
    }The class Test uses package private access to the TestUtil.useMe() method. Then the Test class is packaged into test.jar and the TestUtil class is packaged into testutil.jar.
    Our application uses a custom class loader architecture where the test.jar is loaded by class loader "X" and testutil.jar is loaded by class loader "Y". Also Y is the parent class loader of X. When the main() of Test class is run it results into IllegalAccessException as the package private method is being accessed from different class loaders.
    We are currently using a dynamic way to detect the dependency between test.jar and testutil.jar and generating the classpath argument to the "javac" ant task which dyncamically invokes the sun.tools.javac.Main class. So while compiling Test class the following command line is generated:
    javac -classpath XYZ/testutil.jar Test.java
    It compiles fine assuming that the Test class and the TestUtil class are loaded by the same class loader but at runtime this fails.
    Is there a way to make "javac" use our runtime class loader architecture to instead of static classpath, so that the access violation is captured at compile time?
    Any help is appreciated.
    Ravi
    PS: If this is not the right forum please point me to the right place to post this questions.

    Not that I'm aware of - the Java Language is designed to be platform-independent so absolute file paths which is a specific feature of various file systems would naturally not to be mixed up with the object-oriented hierarchy structure.
    Just like a compiler wouldn't check if a file exists in
    new File("<FilePath>")I don't think you can get compile-time checks for what you have wanted.
    Hope this helps~
    Alex Lam S.L.

Maybe you are looking for

  • Day wise cal of FI report...cl/bal..open..bal

    Dear friends,                I am working in FI report (vendor balance for date ranges) .Its a ALV report. I want to fetch the datas for debit , credit,opening balance,closing balance,for the paticular vendor or all vendors for date ranges.the table

  • Error getting,while generating the Webi report

    hi, while  i am generatign the Webi report, i am getting below error. com.jpmorgan.extraclear.reportservice.BOException:  :generateReport :: Exception com.businessobjects.rebean.wi.ServerException: The number of simultaneous report jobs was limited t

  • Exit for collective search help KRED

    Hi all, we have a requirement to enhance collective search help for Vendor in the TransactionsME51, ME52, ME53, ME51N, ME52N, ME53N.Collective search help for vendor is KRED.We need an exit to create extra search help in the collective search help.We

  • How to do Repair Request in BI 7.0

    Hi All, I'm doing some testing in BI 7.0 system, would like to know how do I go about in doing repair request via BI 7.0 without Infopackage. Is there any other option. Please advise TQ

  • Too many Full garabge collection

    I know that this is a problematic issue, i will try to explain the situation the best i understand it. i'm doing a performance tests on Websphere with JDK 1.5. when i'm runnning load tests the Perm Gen is always in a grow. and i get a full gc every 1