Passing Input parameters to BPEl Process

Hi,
The requirement is to link OBIEE report and a BPEl Process.By clcking on the link in OBIEE report , the BPEl process should be executed which accepts the input parameters at run time from the user along with the input parameters being passed from OBIEE report.I am stuck with how to pass the parameters from OBIEE report to BPEL process.I'm using OBI V 10.1.3.3 and developed the BPEL process using Oracle JDeveloper.Could someone help me in resolving this?
Thanks,
Vidya

hi vid
the bpel process talks in language of web services ie partener links , i guess there must be some way of creating web service of obi and then you can make the two talk, also you can have reverse approach by generating axis client of BPEL webservice and using this client jar in your other obiee whatever....
hope this helps....
amit...

Similar Messages

  • Passing complex object from bpel process to web service

    I have deployed my web service on apache axis.The wsdl file looks like as follows,
    <?xml version="1.0" encoding="UTF-8" ?>
    - <wsdl:definitions targetNamespace="http://bpel.jmetro.actiontech.com" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://bpel.jmetro.actiontech.com" xmlns:intf="http://bpel.jmetro.actiontech.com" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    - <wsdl:types>
    - <schema targetNamespace="http://bpel.jmetro.actiontech.com" xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
    - <complexType name="ADLevelBpelWS">
    - <sequence>
    <element name="adLevelStr" nillable="true" type="xsd:string" />
    <element name="id" type="xsd:int" />
    </sequence>
    </complexType>
    - <complexType name="TransResultWS">
    - <sequence>
    <element name="description" nillable="true" type="xsd:string" />
    <element name="id" type="xsd:long" />
    <element name="responseType" type="xsd:int" />
    <element name="status" type="xsd:boolean" />
    </sequence>
    </complexType>
    - <complexType name="NamespaceDataImplBpelWS">
    - <sequence>
    <element name="ADLevel" nillable="true" type="impl:ADLevelBpelWS" />
    <element name="appdataDef" nillable="true" type="apachesoap:Map" />
    <element name="description" nillable="true" type="xsd:string" />
    <element name="name" nillable="true" type="xsd:string" />
    </sequence>
    </complexType>
    - <complexType name="CreateSharedNamespaceBpelWS">
    - <sequence>
    <element name="actor" nillable="true" type="xsd:string" />
    <element name="comment" nillable="true" type="xsd:string" />
    <element name="from" nillable="true" type="xsd:string" />
    <element name="namespaceData" nillable="true" type="impl:NamespaceDataImplBpelWS" />
    <element name="priority" type="xsd:int" />
    <element name="processAtTime" nillable="true" type="xsd:dateTime" />
    <element name="replyTo" nillable="true" type="xsd:string" />
    <element name="responseRequired" type="xsd:boolean" />
    </sequence>
    </complexType>
    </schema>
    - <schema targetNamespace="http://xml.apache.org/xml-soap" xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
    - <complexType name="mapItem">
    - <sequence>
    <element name="key" nillable="true" type="xsd:string" />
    <element name="value" nillable="true" type="xsd:string" />
    </sequence>
    </complexType>
    - <complexType name="Map">
    - <sequence>
    <element maxOccurs="unbounded" minOccurs="0" name="item" type="apachesoap:mapItem" />
    </sequence>
    </complexType>
    </schema>
    </wsdl:types>
    + <wsdl:message name="createNamespaceRequest">
    <wsdl:part name="createNs" type="impl:CreateSharedNamespaceBpelWS" />
    </wsdl:message>
    - <wsdl:message name="createNamespaceResponse">
    <wsdl:part name="createNamespaceReturn" type="impl:TransResultWS" />
    </wsdl:message>
    - <wsdl:portType name="JMetroWebService">
    - <wsdl:operation name="createNamespace" parameterOrder="createNs">
    <wsdl:input message="impl:createNamespaceRequest" name="createNamespaceRequest" />
    <wsdl:output message="impl:createNamespaceResponse" name="createNamespaceResponse" />
    </wsdl:operation>
    </wsdl:portType>
    - <wsdl:binding name="NAMESPACEWITHMAPSoapBinding" type="impl:JMetroWebService">
    <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
    - <wsdl:operation name="createNamespace">
    <wsdlsoap:operation soapAction="" />
    - <wsdl:input name="createNamespaceRequest">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://bpel.jmetro.actiontech.com" use="encoded" />
    </wsdl:input>
    - <wsdl:output name="createNamespaceResponse">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://bpel.jmetro.actiontech.com" use="encoded" />
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    - <wsdl:service name="JMetroWebServiceService">
    - <wsdl:port binding="impl:NAMESPACEWITHMAPSoapBinding" name="NAMESPACEWITHMAP">
    <wsdlsoap:address location="http://localhost:7001/axis/services/NAMESPACEWITHMAP" />
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    My NamespaceDataObjectImplBpelWS object contains element appDataDef which is of type java.util.Map.My bpel wsdl file is as below,
    <?xml version="1.0"?>
    <definitions name="NsWithMap"
    targetNamespace="http://bpel.jmetro.actiontech.com"
    xmlns:tns="http://bpel.jmetro.actiontech.com"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:apachesoap="http://xml.apache.org/xml-soap"
    >
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    TYPE DEFINITION - List of services participating in this BPEL process
    The default output of the BPEL designer uses strings as input and
    output to the BPEL Process. But you can define or import any XML
    Schema type and us them as part of the message types.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    <types>
         <schema targetNamespace="http://bpel.jmetro.actiontech.com" xmlns="http://www.w3.org/2001/XMLSchema">
         <import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
              <element name="createNamespace" type="tns:CreateSharedNamespaceBpelWS"/>
              <element name="transResult" type="tns:TransResultWS"/>
              <complexType name="TransResultWS">
                   <sequence>
                        <element name="description" type="string" />
                        <element name="id" type="long" />
                        <element name="responseType" type="int" />
                        <element name="status" type="boolean" />
              </sequence>
              </complexType>
              <complexType name="ADLevelBpelWS">
                   <sequence>
                        <element name="adLevelStr" type="string" />
                        <element name="id" type="int" />
                   </sequence>
              </complexType>
              <complexType name="NamespaceDataImplBpelWS">
                   <sequence>
                        <element name="ADLevel" type="tns:ADLevelBpelWS" />
                        <element name="description" type="string" />
                        <element name="name" type="string" />
                        <element name="appdataDef" type="apachesoap:Map" />
                   </sequence>
              </complexType>
              <complexType name="CreateSharedNamespaceBpelWS">
                   <sequence>
                        <element name="namespaceData" type="tns:NamespaceDataImplBpelWS" />
              </sequence>
              </complexType>
         <element name="desc" type="string"/>
         </schema>
         <schema targetNamespace="http://xml.apache.org/xml-soap" xmlns="http://www.w3.org/2001/XMLSchema">
                   <import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
                        <complexType name="mapItem">
                             <sequence>
                                  <element name="key" type="string" />
                                  <element name="value" type="string" />
                        </sequence>
                        </complexType>
                        <complexType name="Map">
                             <sequence>
                             <element maxOccurs="unbounded" minOccurs="0" name="item" type="apachesoap:mapItem" />
                             </sequence>
                        </complexType>
              </schema>
    </types>
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    MESSAGE TYPE DEFINITION - Definition of the message types used as
    part of the port type defintions
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    <message name="NsWithMapRequestMessage">
    <part name="payload" element="tns:createNamespace"/>
    </message>
    <message name="NsWithMapResponseMessage">
    <part name="payload" element="tns:transResult"/>
    </message>
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    PORT TYPE DEFINITION - A port type groups a set of operations into
    a logical service unit.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    <!-- portType implemented by the NsWithMap BPEL process -->
    <portType name="NsWithMap">
    <operation name="initiate">
    <input message="tns:NsWithMapRequestMessage"/>
    </operation>
    </portType>
    <!-- portType implemented by the requester of NsWithMap BPEL process
    for asynchronous callback purposes
    -->
    <portType name="NsWithMapCallback">
    <operation name="onResult">
    <input message="tns:NsWithMapResponseMessage"/>
    </operation>
    </portType>
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    PARTNER LINK TYPE DEFINITION
    the NsWithMap partnerLinkType binds the provider and
    requester portType into an asynchronous conversation.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    <plnk:partnerLinkType name="NsWithMap">
    <plnk:role name="NsWithMapProvider">
    <plnk:portType name="tns:NsWithMap"/>
    </plnk:role>
    <plnk:role name="NsWithMapRequester">
    <plnk:portType name="tns:NsWithMapCallback"/>
    </plnk:role>
    </plnk:partnerLinkType>
    </definitions>
    I am trying to set this map data using java code ,
         HashMap procADMap1 = new HashMap(5);
                   PropertyTypeWS pType = new PropertyTypeWS();
                   pType.setTypeIndex(2);     
              AppdataDefImplWS appData1 = new AppdataDefImplWS();
              appData1.setName("Project");
              appData1.setType(pType);
              appData1.setMaxSize(400);
              appData1.setLOB(false);
         appData1.setDefaultValue("Project Default value");
              procADMap1.put(appData1.getName(), appData1);
              setVariableData("request","createNs","/createNs/namespaceData/appdataDef",procADMap1);     
    Then I am passing request object to the method which I want to invoke from bpel process.
    I am able to deploy the application but when I do post message I am getting following exception,
    NamespaceWithMap (createNamespace) (faulted)
    [2004/09/09 18:35:54] "{http://schemas.oracle.com/bpel/extension}bindingFault" has been thrown. Less
    faultName: {{http://schemas.oracle.com/bpel/extension}bindingFault}
    messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}
    code: {Server.userException}
    summary: {org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.}
    detail: {null}
    Is there any other way to handle Map type in bpel process?
    Thanks in advance,
    Sanjay

    Thanks for the quick reply.Actually the web service is already deployed on the server.What I want to do is use existing wsdl file of the deployed web service and invoke the method of the same using oracle PM.
    If I remove element which uses apachesoap:Map type it just works fine also I am getting the complex object returned by the web service method.But when I try to set appDataDef which is of type apachesoap:Map(Axis conversion for java.util.Map and it uses namespace xmlns:apachesoap="http://xml.apache.org/xml-soap") I am getting the error.
    Can you give me some direction to use this exising wsdl file to set map object or it is not possible.

  • What is the better way to pass input parameters between components?

    Hi all,
    I had a dispute with a colleague about passing data between different WDP Development Components. The situation is like this:
    Colleague has a SearchWDP (parent) und I have a BrowseWDP (child). After searching for some objects and clicking a hit in the SearchWDP, the corresponding details should be shown in BrowseWDP, via passing a bunch of parameters such as selected item's id, etc.
    Now which of the following is the better practice:
    - Defining a node in BrowseWDP (child) with isInputParameter set to TRUE, creating a similar node from the same type (simply via ModelBinding, both WDPs are using the same model) in SearchWDP, and defining a mapping between them so that SearchWDP fills the input nodes. From BrowserWDPs perspective, I'd call this Pull method.
    or...
    - Defining a node in BrowseWDP (child) with isInputParameter set to FALSE, creating a setter method in BrowseWDP Interface Controller for the collection (to be passed as parameters) and calling a wdContext.nodeBlaBla().bind(pInputParameterFromModelType). From BrowserWDPs perspective, I'd call this Push method.
    The colleague's argumentation in favor of Push has not convinced me at all and I'd like to ask your opinions. Is there a best practice or recommendation for this scenario? TIA
    ps: Any answer will be rewarded.

    Hi Cuneyt,
    Refer the links below, they are very informative!
    http://help.sap.com/saphelp_nw04s/helpdata/en/22/15a441cd47a209e10000000a155106/content.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/67/cc744176cb127de10000000a155106/content.htm
    These links are a part of the WebDynpro ABAP documentation, but the concepts are same for WDA and WDJ.
    Considering your scenario, I would recommend the first alternative you have mentioned (if you refer the second link its called External Context Mapping), where component controller context node of component A (SearchWDP) is the source for Interface controller context (same name) of component B (BrowseWDP).
    Thanks.
    Chitrali

  • How can i pass input parameters to .rdf file in DOS  command prompt?

    Hi friends,
    Please give some idea about this problem.
    I am running a .rdf file at dos mode like this .
    c:\orareport\bin\RWRUN60 TEST.RDF USERNAME/PASS@DBINSTANCE
    now it asking input parameters.
    insted of passing the input values to parameter form
    can i pass at command line along with report name.
    if possible how ?
    thanx
    Reddy

    Hi,
    there is a plenty of parameters you can specify from DOC command line.
    You can have them in help menu.
    Lanch rwrun60
    Help\search\ seach for: param
    you will find parameters from rwrun60 from the command line.
    MODULErunfile
    [USERID=]userid
    [PARAMFORM=]YES
    [CMDFILE=]cmdfile
    [TERM=]termfile
    [ARRAYSIZE=]n
    [DESTYPE=]SCREEN]
    [DESNAME=]desname
    [DESFORMAT=]desformat
    [CACHELOB=]YES
    [COPIES=]n
    [CURRENCY=]currency_symbol
    [THOUSANDS=]thousands_symbol
    [DECIMAL=]decimal_symbol
    [READONLY=]YES
    [LOGFILE=]logfile
    [BUFFERS=]n
    [BATCH=]YES
    [PAGESIZE=]width x height
    [PROFILE=]profiler_file
    [RUNDEBUG=]YES
    [ONSUCCESS=]COMMIT
    [ONFAILURE=]COMMIT
    [KEYIN=]keyin_file
    [KEYOUT=]keyout_file
    [ERRFILE=]error_file
    [LONGCHUNK=]n
    [ORIENTATION=]DEFAULT
    [BACKGROUND=]YES
    [MODE=]BITMAP
    [PRINTJOB]YES
    [TRACEFILE=]tracefile
    [TRACEMODE=]{TRACE_APPEND|TRACE_REPLACE}
    [TRACEOPTS=]{TRACE_ERR|TRACE_PRF|TRACE_APP|TRACE_PLS|
    TRACE_SQL|TRACE_TMS|TRACE_DST|TRACE_ALL|(opt1, opt2, ...)}
    [AUTOCOMMIT=]YES
    [NONBLOCKSQL=]YES
    [ROLE=]rolename/[rolepassword]
    [BLANKPAGES=]YES
    [DISABLEPRINT=]YES
    [DISABLEMAIL=]YES
    [DISABLEFILE=]YES
    [DISABLENEW=]YES
    [DELIMITER=]value
    [CELLWRAPPER=]value
    [DATEFORMATMASK=]mask
    [NUMBERFORMATMASK=]mask
    [DESTINATION=]filename.DST
    [DISTRIBUTE=]YES
    [PAGESTREAM=]YES
    EXPRESS_SERVER="server=[server]/domain=[domain]/user=[userid]/password=[passwd]"
    [CUSTOMIZE]=filename.xml | (filename1.xml, filename2.xml, . . .)
    [SAVE_RDF]=filename.rdf
    <param>=value
    Mbo

  • Passing input parameters to the method call in ADF task flow.

    Hi,
    I have the following use case:
    There is a task flow with 2 jspx pages. In the first page I have 2 input search parameters and search button. the search button calls the webservice data control execute (GET_ACCOUNTOperation) method .
    Displaying the search results in the same page is not a problem , but my requirement is that the search results are to be displayed in the second page in tabular form.
    To achieve this, I dragged the execute method as the method call in the task flow and specified the input parameters for the method call (right click and add parameters) . I am getting the following exception :
    javax.el.MethodNotFoundException: Method not found: GET_ACCOUNTOperation.execute(java.lang.String, java.lang.String)
         at com.sun.el.util.ReflectionUtil.getMethod(Unknown Source)
         at com.sun.el.parser.AstValue.getMethodInfo(Unknown Source)
         at com.sun.el.MethodExpressionImpl.getMethodInfo(Unknown Source)
         at oracle.adf.controller.internal.util.ELInterfaceImpl.getReturnType(ELInterfaceImpl.java:214)
         at oracle.adfinternal.controller.activity.MethodCallActivityLogic.execute(MethodCallActivityLogic.java:135)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.executeActivity(ControlFlowEngine.java:1035)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:921)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:820)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.routeFromActivity(ControlFlowEngine.java:552)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.performControlFlow(ControlFlowEngine.java:148)
         at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleAdfcNavigation(NavigationHandlerImpl.java:109)
         at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:78)
         at org.apache.myfaces.trinidadinternal.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:43)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:130)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:889)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:379)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
    even though the execute method is there and the service is up and running. I am not sure whether its the correct way of doing it. Please shed some light on how to solve this use case
    Some additional info:
    Under the data controls pallete, the GET_ACCOUNTOperation method has a parameters section , which has "part" (java.lang.Object) as
    the input parameter.
    Regards,
    Rampal

    Hi,
    thanks for the quick turn-around. Jdev version that i am using is Studio Edition Version 11.1.1.6.0. And i am using SOAP. Isnt there a way without using a backing bean? I am planning to use it as a portlet. Would'nt creating a backing bean cause a problem in that case?? Also i am confused here . The method that i am dragging is GET_ACCOUNTOperation(Object). I tried passing the hashmap . It gave the following exception :
    javax.el.MethodNotFoundException: Method not found: GET_ACCOUNTOperation.execute(java.util.HashMap)
    Rampal

  • How to give multiple inputs to syn BPEL process in Jdeveloper

    Hi,
    I am new to BPEL . I have created programs which takes single input and after processing displays single output. I want to give more than one input at run time (for ex. employee name,age, salary ) and want to display Multiple output after processing them Instead of Just one that I am doing currently. How I can do that using Synchronous BPEL process . Can some one tell that What will be learning time for BPEL using google and forums, for a 3 year exeperienced person in JAVA and new to BPEL.
    Yogendra Rishishwar

    Hi,
    You just need to change the XSD of your process.
    Someone posted something similar last week : How to change the input and output schema in BPEL process
    Hope it will help you ..
    romain.

  • How to pass GET parameters from BPEL to webservice?

    Hi,
    How can I pass GET parameters to webservice from BPEL. For example if a webservice expects to get 2 parameters as GET parameters like the following URL:
    http://xxx.xxx.xxx.xxx/some-web-service?parama=abc&paramb=123
    How can I pass parama and paramb to the webservice call?
    Thanks,
    Ronen

    Hello Ronen,
    Im assuming that you're using SOA Suite 11g. The developer guide describes the following: http://docs.oracle.com/cd/E29505_01/dev.1111/e10224/sca_bindingcomps.htm#CHDEEGDC
    And the following blogpost explains in detail how to implement https://blogs.oracle.com/reynolds/entry/oracle_http_adapter
    Good luck!
    Melvin

  • Passing input parameters from an applet to a JSP page

    Hello all,
    Yes, its one of these questions which I have tried to find a solution from the already large number of postings but with no luck. I'm still a novice to Java/JSP so bear with me.
    Consider this scenario.
    1. An applet which has two input boxes (say First name and surname). 2. These parameters will be passed to a JSP page (so the applet will call a JSP page).
    3. The JSP will have have the necessary logic (or actually a JavaBean will) to connect to a database and add a new record with these parameters (first name and surname).
    I also need to consider editing/updating the record in the database. So a JSP page will connect to the database, retrieving the required record from the database and then display the parameters back in an applet in two input boxes (first name and surname) to be edited and saved again.
    I have been able to develop a similar application using simple HTML forms to add and update records in a database so I'm not worried about the database connectivity simply the issue of passing parameters from the applet to the JSP page and vice versa (for edit/update).
    Once i've managed to do this with input boxes, I can experiment with the other input types radios, checkboxes, select etc.
    Many thanks in advance,
    Assad

    create an URL object with u'r specified link of the java class and send the parameters..write trhis action in any buttonclick event in u'r applet.

  • How to pass input parameters to ZRFC using sap connector 3.0

    Hi,
    In the connector 2.0 we were passing parameters (vendor# as input) to rfc as ( eg: rfc_name(I_vendor, E_VendorTBL) and able get the results in the output table .
    How do we do this using new NCO3.0.
    Thanks,
    Rajender

    S0008226571 wrote:>
    > I have implemented an example similar to the above which stores the results of a table in a .net DataTable. I am trying to bind the DataTable to a DataGridView but the DataGridView is simply blank.
    >
    >
    >                
    DataTable dt = svc.getTableData("crmd_orderadm_h");
    >
    >                 bindingSource.DataSource = dt;
    >                 dataGridView1.DataSource = bindingSource;
    >
    >
    > Any ideas on why the DataGridView is empty?
    For the benefit of others here, I resolved the problem by examining the properties of the datagridview control. In this case, the datagridview control binding property was being set in the visual studio designer and for some reason was not able to be set at runtime. I removed the binding property in the visual studio property window and the problem was resolved.
    Thanks for those who contributed answers to this issue.
    Edited by: Mike Powell on Mar 1, 2011 3:30 PM

  • Swing questions: passing inputs(parameters) betwen classes

    Hi,
    I am writing a program that needs GUI. It is very new to me. And many simple questions I couldn't find answer. Part of the reason is that I don't even know how to ask questions. So, I hope you can help me.
    First question:
    I have the application ( main program ) class, in which a 'set parameter' button should invoke another 'input' panel ( coded in a separated class, I suppose), which has a couple of test fields with labels. once numbers are put in those fields and 'OK' button is clicked, those numbers need to be returned to the main program (in the form of an 'parameter' object or an array . ) My question is how to pass those information back to the main class?
    2nd
    Somehow when I click the 'X' button in the input panel, the whole program quits. I want it behaves like a 'cancel' button. How?
    Thanks!

    1) This is more of a design issue than really a java
    question. Establishing references between the objects
    is quite simple. At some point, you must have created
    the GUI from your main program. This would be a good
    point to establish a reference:Thanks! I guess I over-thought about this issue
    >
    2) You can set for a frame the default Closing
    operation, but I don't remember the exact method
    call. See the sun tutorials for this, as well.should the default closing operation be set in the parent panel or in the child panel? currently I set the parent panel to be closed when exits, and didn't set the operation in the child.
    Thanks!
    Message was edited by:
    18wheeler

  • Create an API to Launch an LabVIEW Built Executable and Pass it Input Parameters

    Hello,
    I'm looking for a way to create an API to Launch/Close an executable, created with LabVIEW, which in additional to Launching/Closing tht executable, will also allow me to pass input parameters.
    To give you some background, I'm working on a logging utility, basically a background dameon, which I currently have implemented as a LabVIEW packed library and my API is a few VIs to launch that daemon and pass it a filename and a logging rate.  Functionally it works just fine however is executes within LabVIEW not as an independent process.  So instead of using a packed library, I would like to compile my logging daemon down to an executable but I still need a way to launch it and pass it parameters from an external application (such as Teststand).
    I know you can launch executables and pass parameters using windows command lines, but I'm wondering if there is a more direct method such as a DLL that I could call in Teststand?  Thanks.
    Post CLD and when I'm a CLA when someone asks who I am, I can spin around in my chair and say "I am... the architect."

    When Teststand Launches the Logger, it does so by opening a reference to the logger daemon using the "Open VI Reference" primitive and then it launches an instance of the dameon using the "Start Asynchronous Call" node.
    This currently, launches the logger within labview not teststand.  If I were to directly call the logger daemon VI itself as a step in TestStand, then it could run in a new teststand thread.  At that point I would need a way to stop that logger which I should be able to do by storing a reference to its control queue within the teststand thread that it is running in.  Since teststand let's you specify VI execution in the runtime engine instead of LabVIEW that might do the job.
    The one catch is once the sequence completes, the logger does some cleanup, post processing, etc that depending on the amount of data captured can take some time so if a set of sequences needs to be executed, this could hang up teststand until that post processing is completed.  That is one reason why I wanted it to execute outside of testtand so that additonal sequences could continue to run while the daemon finishes up in the background.
    But, it's something I'll have to look into.
    Post CLD and when I'm a CLA when someone asks who I am, I can spin around in my chair and say "I am... the architect."

  • SQLPLUS Acitivity in process flow Input parameters to the script

    I have a sqlplus Activity in the process flow. In the script section I have a update statement which has a where clause where I need to pass a date field as input paramter to this script to compare and update the records.
    Is there a way to pass Input Parameters to the script.
    update test
    set last_name = 'TEST'
    where trunc(begin_date) = :begin_date;
    Begin_date is a variable in my process flow which I need to pass to this script.
    Any ideas as to how I can accomplish this.
    Thanks in advance.

    You can Create a procedure of the Update statement with one input paramenter like
    Create Or replace procedure Update_test ( p_begin_date date )
    IS
    update test
    set last_name = 'TEST'
    where trunc(begin_date) = p_begin_date;
    End;Then call this Procedure in the Process Flow and give input parameter from PF variable.
    Cheers
    Nawneet

  • Input parameters from process

    Hi,
    I have a scenario where the user enters the process id as the input and once he submits it
    I have to retrieve the input parameters of that process
    Is it possible to get the input parameters using the GP API
    Please give me a lead on how to achieve this
    Thanks
    Padmaja

    Hi
    You can achieve this using wd api, you need to create the webdynpro application
    IGPProcess process = null;
         String message = "";
         String processName = "Cab Booking Process";
         try {
               IWDClientUser wdUser = WDClientUser.getCurrentUser();
               IUser user = wdUser.getSAPUser();
              // wdComponentAPI.getMessageManager().reportSuccess("current user is : " + user.getFirstName());
               IGPUserContext userContext = GPContextFactory.getContextManager().createUserContext(user);//, user.getLocale());
               process =GPProcessFactory.getDesigntimeManager().getActiveTemplate("7031AF6B877511DCBBB60016353AC84F",userContext);
               IGPRuntimeManager rtm = GPProcessFactory.getRuntimeManager();
               IGPProcessRoleInstanceList roles = rtm.createProcessRoleInstanceList();
               int rolenum = process.getRoleInfoCount();
               //wdComponentAPI.getMessageManager().reportSuccess("dyn user is : " + user.getFirstName());
               IGPProcessRoleInstance roleInstance=null;
               IGPStructure params = null;
              // wdComponentAPI.getMessageManager().reportSuccess("Title is "+ process.getTitle());
    //           if (process.getTitle().equals("Cab Booking Process"))
    //               wdComponentAPI.getMessageManager().reportSuccess("get process instance "user.getFirstName()"  "user.getLastName()rtm.getRunningInstances(0, new Date(2007,1,1), new Date(System.currentTimeMillis()), user));
               try {
                    params = GPStructureFactory.getStructure(process.getInputParameters());
                         if (process.getTitle().equals("Cab Booking Process")) {
                             params.setAttributeValue("RequestId.4",wdContext.currentContextElement().getRequestId());
                             params.setAttributeValue("EmployeeId.4",wdContext.currentContextElement().getEmployeeId());
                             params.setAttributeValue("ApproverId.4",wdContext.nodeZhr_Emp_Sup_Info_Input().nodeOutput_Approver().node_Output().current_OutputElement().getUser_Id());
                             params.setAttributeValue("ApproverName.4",wdContext.nodeZhr_Emp_Sup_Info_Input().nodeOutput_Approver().node_Output().current_OutputElement().getName());
                             params.setAttributeValue("Name.4",wdContext.currentOrg_AssignmentElement().getName());
                             params.setAttributeValue("Grade.4",wdContext.currentOrg_AssignmentElement().getEsubgroup());
                             params.setAttributeValue("Department.4",wdContext.currentOrg_AssignmentElement().getOrgtxt());
                             params.setAttributeValue("PersonalArea.4",wdContext.currentContextElement().getPersonalSubAreaText());
                             params.setAttributeValue("CostCenter.4",wdContext.currentContextElement().getCostCenter_GuestText());
                             //params.setAttributeValue("ActionName.4","Test Cab Request From Reddy");
                             if(wdContext.currentContextElement().getResultState().equalsIgnoreCase("Submit")){
                                  //setting the Action name dynamically(UWL Task Name)
                                  wdContext.currentContextElement().setActionName("Approve Cab Request Of " + wdContext.currentOrg_AssignmentElement().getName());
                                  params.setAttributeValue("ActionName.4", wdContext.currentContextElement().getActionName());
                                  wdComponentAPI.getMessageManager().reportSuccess("Your Request Form has been sumbited for the Approval.");
                                  message = "Your Request has been sumbited for the Approval.\n\tRequest ID : " + wdContext.currentContextElement().getRequestId();
                             } else {
                                  //setting the Action name dynamically(UWL Task Name)
                                  wdContext.currentContextElement().setActionName("Cab Booking Request from " + wdContext.currentOrg_AssignmentElement().getName());
                                  params.setAttributeValue("ActionName.4", wdContext.currentContextElement().getActionName());
                                  params.setAttributeValue("Extra.4",getTravelDeskPortalId());//Travel Desk Id
                                  wdComponentAPI.getMessageManager().reportSuccess("Your Request has been sent to Travel Desk.");
                                  message = "Your Request has been sumbited to the Travel Desk.\n\tRequest ID : " + wdContext.currentContextElement().getRequestId();
                    }catch(Exception e){
                         wdComponentAPI.getMessageManager().reportSuccess("Exception in Parameter Set "+e);
               IGPProcessInstance prInstance = rtm.startProcess(process,processName,"This process has been started using the GP public API",user,roles,params,user);
               catch(Exception e){
                    wdComponentAPI.getMessageManager().reportSuccess("Exception Main Try Block "+e);
               try{
               catch (Exception e){
                   wdComponentAPI.getMessageManager().reportSuccess("Error in Calling Complete" +e.getMessage());

  • Oracle Workflow and mapping input parameters

    Hello all,
    I am trying to create a process flow in OWB that will be able to pass input parameters into each of my mappings. Each mapping contains 2 inputs, a start time and an end time.
    Does OWB's process flows allow for this or is there another approach that i should take in creating a workflow for these mappings?
    I am currently using 11gR2(11.2.0.1) and OWF v. 2.6.4.
    Thanks in advanced for any and all help,
    Randy

    Hi Randy,
    Open the process flow editor. In the structure window (menu view->structure), select the mapping activity and expand it to see its parameters. If you select a parameter, you can set its value or bind it to a variable in the property window.
    In the structure window you can also add process flow parameters to the start activity or define process flow variables.
    Regards,
    Carsten.

  • How to get response from an asynchronous BPEL process in Java

    I'm experimenting with BPEL and doesn't seem to be able to get response from an asynchronous BPEL process. Here's the deal:
    I have a BPEL process that takes a string as input, and gives another string as output. This is a asyncronous process.
    I want to initiate this BPEL process as a web service so I generate a Webservice Proxy in JDeveloper 10g (10.1.3.0.4). The function to call the process is now called "initiate" and takes three arguments: the input string, a "org.xmlsoap.schemas.ws._2003._03.addressing.EndpointReferenceType replyTo" and a
    "org.xmlsoap.schemas.ws._2003._03.addressing.AttributedURI messageID".
    HTTP-Analyzer shows that invoking the BPEL process with initiate("somestring", null, null) results in sending a SOAP message to the BPEL process, which returns a "202 Accepted". How do I get the response from the process? My intuition tells me that I have to use that second argument, that EnpointReferenceType thing. How do I use that?
    Another question: If a asynchronous BPEL process does not exists (so the endpoint does not exist) the Java proxy does not throw an error when runned. It does not even sends a message. It exits with status 0! (This happens for example when deploying a new version of a process and when the "old" version is undeployed). Calling a non-existing synchronous BPEL process, the Java proxy DOES throw an error.

    Clemens,
    That all sounds logical. But somehow it is still a mystery for me ... Somehow I don't see what should be done.
    To call the async BPEL process I have the following procedure:
    initiate(String input, org.xmlsoap.schemas.ws._2003._03.addressing.EndpointReferenceType replyTo, org.xmlsoap.schemas.ws._2003._03.addressing.AttributedURI messageID)
    The first argument is the input for my BPEL process. The second is the address to a webservice that should handle the callback, right? The third is a messageID (makes sense, but why of the type AttributedURI?).
    Here lies my problem. It is not clear to me how these EndpointReferenceType & AttributedURI work. I can't find anything on the net about it. The AXIS examples as where mentioned earlier use other types (namely the "org.xmlsoap.schemas.ws.addressing.MessageID" and "org.xmlsoap.schemas.ws.addressing.ReplyTo") which are completely different.
    What I did so far:
    - I created an webservice proxy that listens on the onResult endpoint of the BPEL process.
    - I created an webservice proxy that calls the BPEL process through the initiate procedure, but it is not completely clear to me how to construct the EndPointreferenceType replyTo, and the MessageID. I did something like this:
    EndpointReferenceType replyTo = new EndpointReferenceType();
    // callback service running on local machine
    // This URI class is the java.net's version
    URI replyToURI = new URI("http://vaccinatie:8988/syncro-callback-context-root/stringconcatCallbackBindingPort");
    // This AttributedURI is the org.xmlsoap.schemas.ws._2003._03.addressing's version
    AttributedURI address = new AttributedURI();
    // the only public methos that made sense to me:
    address.set_value(replyToURI);
    replyTo.setAddress(address);
    // call the BPEL process
    myPort.initiate("test123", replyTo, address);
    But the above doesn't work (largely because I don't know what I'm doing here prob.:-) ) It does send the "test123" message, and the BPEL process does process it, but I don't seem to get the callback right.
    I hope this makes my problems somewhat clearer. I hope someone can help me, because I'm just a beginner in this whole "web service area" and seems to do something terribly wrong here, because it should be very simple. Thx.

Maybe you are looking for

  • [Solved] Playing movie on external monitor gives me a blue screen

    Nevermind.  I found the xvattr package in the AUR. I've tried this on both VLC and Mplayer and everytime the movie starts I see blue instead.  On the built in monitor for my laptop the DVD is viewable.  To get tv-out I use this command: xrandr --outp

  • Opening files from a Novell-Share takes about ten seconds

    Hi there, first a few information about our environment: Windows 7 Enterprise SP1 Clients with Novell Client installed in latest version Windows Server 2008 R2 DCs Network-shares based on Novell Netware When accessing files on Novell-Shares for the f

  • Frequent WLan disconnections on Equium M40X-230

    My laptop suffers frequent disconnections from the internet and it is getting very annoying. Situation is the laptop connects wirelessly to the net via a Belkin router. The router is working ok, and I use Aol for ISP. Our second laptop, also a Toshib

  • CANNOT OPEN HELP

    I am using ID CS on windows XP pro. I was trying to open help but just get notepad pop-up that's full of gibberish and then IE opens and locks up. I use maxthon as my usual browser. If I have maxthon open, the ID help opens just fine. Is there a way

  • Separate Standalone/Projector settings from browser plugin settings for H. Acceleration?

    Hello, I'd like to have Hardware Acceleration in my Standalone/Projector executable, but turned off when browsing, for the plugin. I can't seem to find a per website solution for this option - it's either on or off, everywhere. Using W7 x64, latest F