HttpServlet and BPEL processes

Hi!
I've created a Http Servlet in my web application (in Jdeveloper, using ADF BC, application is deployed to Oracle AS 10.1.3.3 where BPEL PM is also runnig) that has doPost method implemented. This servlet is 'listening' on defined URL for http POST calls and recieves an XML message. Now I'd like to pass these XML to different BPEL processes. What is the best way to do it?
I can set two more direct questions:
1. Since I don't have any Data Controls access in my http servlet class (there aren't any jspxs or PageDefs linked to this servlet and I can't get the reference on Faces Config instance), how can I invoke my BPEL processes. I already have calls to my BPEL processes implemented but from a jspx and that is not that difficult.
2. Is it possible to 'listen' to some url for POST method with BPEL PM without using http servlet in my web application? This way I wouldn't need my servlet and an answer to my 1st question.
Hope I made myself clear and someone can answer any of the questions.
Regards,
BB.

Hi,
When you deploy a new BPEL process on the BPEL PM, the process will have an endpoint address http://bpelhost:bpelport/orabpel/default/Your_Process_Name/1.0 (which is the address that the process is "listening to" for POST requests) and it will have a WSDL file at the url http://bpelhost:bpelport/orabpel/default/Your_Process_Name/1.0/Your_Process_Name?wsdl . Therefore, when a web service request which conforms to the WSDL of the process is received at the endpoint URL, your BPEL process will start executing.
Hope this short explanation helps..

Similar Messages

  • Server name, port from OSB proxy and BPEL processes

    How do I read the server name, port and any other server related information from OSB proxy and BPEL processes?

    http://www.experts-exchange.com/Software/Server_Software/Application_Servers/Java/BEA_WebLogic/Q_24480613.html
    ObjectName service = new ObjectName("com.bea:Name=RuntimeService,Type=weblogic.management.mbeanservers.runtime.RuntimeServiceMBean");
    InitialContext ctx = new InitialContext();
    MBeanServer server = (MBeanServer)ctx.lookup("java:comp/env/jmx/runtime");
    ObjectName rt = (ObjectName)server.getAttribute(service,"ServerRuntime");
    System.out.println("Server Name : "+server.getAttribute(rt,"Name"));
    System.out.println("Server Address : "+server.getAttribute(rt,"ListenAddress"));
    System.out.println("Server Port : "+server.getAttribute(rt,"ListenPort"));
    ctx.close();
    By the way, it tool 10 seconds on google ...

  • BPM and BPEL process differentiaition.

    Hi All,
    Can any one shed some light on below points
    1) How is a BPM process different from BPEL process.
    2) Can i achieve every thing in BPM process that i can achieve in BPEL process.
    3) Also when BPEL process is available why has Oracle introduced BPM process.
    Thanks
    Parker.

    Hi,
    You can refer the following short PDF about the key differences between BPEL and BPM and when would be the right strategy to use either BPEL or BPM.
    http://beatechnologies.files.wordpress.com/2011/03/bpm_and_bpel.pdf
    Edited by: Arun Pareek on Mar 8, 2011 3:32 PM

  • JHeadstart, Oracle Business Rules and BPEL Process Manager

    Dear JHeadstart Team,
    I have some questions regarding integration of JHeadstart and Oracle Business Rules and Oracle BPEL Process Manager. As a matter of fact I don't have any work expriences with these tools so my questions may not be good and precise.
    1- Using a business rule engine can dramatically increase speed of development and ease of maintenance.I had a very good exprience in using JHeadstart and Headstart in the past but I wanted to know if it is possible to use Oracle Business Rules in conjunction with the JHeadstart ? If so, What steps should be taken? Is there any known issue about this integration? Does Oracle Business Rules have any interference with JHeadstart or it is only used in model layer during insert,update,delete?
    2- Is it possible to develope a system based on oracle work flow engine (Oracle BPEL Process Manager) using JHeadstart ? If so, What steps should be taken and how the changes in the flow of work would by applyed in a system developed by JHeadstart. Is there any known issue about this integration?
    Any help,link to documents or general guidelines would be highly appreciated.
    Thanks in advance,
    Navid

    Couple of things I would like to add, are the following.
    In the context of an ADF application usage of Oracle Business Rules most likely is in the business logic layer, but mind that it does not need to be restricted to that.
    Oracle Business Rules takes so called 'facts' as input, evaluates some rules based on that and change those facts or return some result. That might be checking a business rule as defined in the JHeadstart Developers Guide. But it might also return some value that is used in a navigation rule.
    Think about a page flow where after page A normally page C is presentend, but in case of some situation (like a customer ordered something and you want to present some special offering based on that) you want page B presented in between (i.e. A -> B -> C). Oracle Rules could be used to determine this page flow. This would be an example of using it in the controller layer (probably in combination with using facts that come from the model layer).
    Another remark that I would like to make, is that in my opinion it does not make much sense to use Oracle Rules for business rules that logically more or less are part of your data model (like end date must be on or after begin date). You typically use Oracle Rules to implement business rules that are of a volatile nature, meaning that day-to-day business may require a change of the rules. One example is the navigation case that I mentioned before. Another (typical) example would be a rule that defines when a customer is a Gold customer.
    Jan Kettenis

  • What is the difference between WORKFLOW API and BPEL PROCESS MANAGER API

    Hi,
    I am using BPEL process manager and would like to know the correct api set.
    I found the workflow api which appears to be part of the oracle workflow.
    is workflow api and oracle BPEL process manager two seperate products? --- Pls confirm/deny.

    Hi me_sun, me_oracle :)
    The bpel api can be found here
    http://download.oracle.com/docs/cd/B31017_01/integrate.1013/b28986/toc.htm
    workflow found here
    http://download.oracle.com/docs/cd/E12483_01/integrate.1013/b28985/toc.htm
    when us install BPEL you do get BPELs human workflow component. This is different to the Oracle Oracle workflow which was based on the database and PL/SQL.
    cheers
    James

  • Help with jsp page and bpel process

    I learnt BPEL process is a web service and it could be invoked.
    I want to write a jsp page to do it.
    I read about Locator, Idelliveryservice,normalizedmessage...
    The method addPart of normalizedmessage class take only one string (other than payload) or an element.
    If i have 2 or more variables in payload, have i to use
    normmessage.addPart(...,var1)
    normmessage.addPart(...,var2)
    normmessage.addPart(...,var3)
    or have i to put all the variable in an element and use only once addPart?
    Thanks
    Ema
    PS-Is there a precise example about this problem? i read only "loandemo" process and "helloworld" process.

    Here's how I built mine:
    String xml = "<EmailControlProcessRequest xmlns=\"http://xmlns.oracle.com/EmailControl\">"
    + "<input>" + input + "</input>" + "<changeType>" + changeType + "</changeType>" + "<days>" + days + "</days>" + "</EmailControlProcessRequest>"
    Basically, look inside JDev to see the how your whole variable is formed. Then, build your xml string according to how it's built.
    My variable is built like this:
    <EmailControlProcessRequest>
    <input>input info</input>
    <changeType>changeType info</changeType>
    <days>days info</days>
    </EmailControlProcessRequest>
    Then, after that, I do this:
    NormalizedMessage nm = new NormalizedMessage();
    nm.addPart("payload", xml);

  • Weblogic JMS and BPEL Process

    Hello,
    Can someone please help me with the steps necessary to configure a BPEL process to accept messages from a JMS queue hosted on Weblogic 9.x?
    My setup:
    - Weblogic 9.1 hosts JMS queues
    - Oracle BPEL 10.1.3.1.0 hosted in OC4J
    - I have not touched oc4j-ra.xml to configure a JMS queue or connection factory. It looks as if the BPEL designer in JDeveloper allows you to specifiy everything necessary for this descritor.
    - I have not moved any jars from my appserver (weblogic) into BPEL's classpath.
    I have a JMS Adapter configured to point to my JMS queue. My jca:address looks as follows:
    <jca:address location="order.process.queue"
    ManagedConnectionFactory="oracle.tip.adapter.jms.JmsManagedConnectionFactory"
    mcf.ConnectionFactoryLocation="jms.connection.factory"
    mcf.FactoryProperties="java.naming.provider.url=http://wljms:7001"
    mcf.IsTopic="false"
    mcf.IsTransacted="false"
    mcf.Username=""
    mcf.Password=""
    UIJmsProvider="THIRDPARTY" />
    I receive the following exception:
    ORABPEL-12141
    ERRJMS_CONN_FAC_NOT_FOUND.
    Unable to instantiate connection factory. JMS adapter was unable to look up the connection factor jms.connection.factory neither through JNDI nor instantiate it as a Java class
    Please examine the log file to determine the problem.
    The stacktrace that follows points to a naming exception:
    Caused by: javax.naming.NameNotFoundException: jms.connection.factory not found
    I've seen posts on this forum where people have included jars from their app server distro on to OC4J's (or whatever BPEL's container) classpath. Is this the correct thing to do? That approach looks like it could be trouble.
    I've verified that my queue is set up correctly on the Weblogic side. I am able to place messages on queue successfully. I can also see my Weblogic server from the BPEL server.
    Any help is appreciated!
    Al

    Thank you for the reply. I did change the protocol to use t3 and copied the weblogic.jar over to the BPEL server under "\j2ee\home\applib". Now, I get a whole host of other exceptions related to JNDI lookups related for bpel related resources such as"java:comp/env/jms/collaxa/BPELWorkerQueue". The good news is that this happens whenever I drop a message on queue, so I am almost there.
    Is there any documentation on this particular setup? I suspect a collision in JNDI classes between OC4J and weblogic now.
    Here is a snap of my stacktrace:
    <2007-10-10 09:43:34,513> <ERROR> <default.collaxa.cube.activation> <AdapterFramework::Inbound>
    java.lang.Exception: Failed to create "java:comp/env/ejb/local/CubeDeliveryLocalBean" bean; exception reported is: "javax.naming.NameNotFoundException
    : remaining name: env/ejb/local/CubeDeliveryLocalBean
    at weblogic.j2eeclient.SimpleContext.resolve(SimpleContext.java:35)
    at weblogic.j2eeclient.SimpleContext.resolve(SimpleContext.java:39)
    at weblogic.j2eeclient.SimpleContext.lookup(SimpleContext.java:59)
    at weblogic.j2eeclient.SimpleContext.lookup(SimpleContext.java:59)
    at weblogic.j2eeclient.SimpleContext.lookup(SimpleContext.java:64)
    And later on...
    <2007-10-10 09:41:52,024> <ERROR> <default.collaxa.cube.engine.dispatch> <Dispatcher::adjustThreadPool> Error allocating 1 thread(s)
    ORABPEL-05005
    Cannot send JMS message.
    The process domain was unable to send a message to the JMS queue "". The exception reported is: Cannot lookup context object.
    The process domain was unable to lookup the context object using the bind name "java:comp/env/jms/collaxa/BPELWorkerQueue". The exception reported is
    : remaining name: env/jms/collaxa/BPELWorkerQueue
    Please verify the JNDI identifier is valid.
    Please check that the JMS service for the application server has been configured properly.
    at com.collaxa.cube.engine.ejb.impl.DispatcherBean.send(DispatcherBean.java:129)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
    at com.evermind.server.ThreadState.runAs(ThreadState.java:620)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.TxNotSupportedInterceptor.invoke(TxNotSupportedInterceptor.java:43)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
    at DispatcherBean_LocalProxy_4bin6i8.send(Unknown Source)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.sendLocal(DispatchHelper.java:450)
    at com.collaxa.cube.engine.dispatch.Dispatcher.adjustThreadPool(Dispatcher.java:711)
    at com.collaxa.cube.engine.dispatch.Dispatcher.receive(Dispatcher.java:453)
    at com.collaxa.cube.engine.ejb.impl.DispatcherBean.schedule(DispatcherBean.java:87)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
    at com.evermind.server.ThreadState.runAs(ThreadState.java:620)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.TxNotSupportedInterceptor.invoke(TxNotSupportedInterceptor.java:43)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
    at DispatcherBean_RemoteProxy_4bin6i8.schedule(Unknown Source)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.scheduleRemote(DispatchHelper.java:366)
    at com.collaxa.cube.engine.agents.BaseSimpleAgent$SimpleJob.execute(BaseSimpleAgent.java:271)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:191)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)
    <2007-10-10 09:41:52,024> <DEBUG> <default.collaxa.cube.engine.agents> <SimpleJob::execute> Sent message to dispatcher
    <2007-10-10 09:41:52,024> <DEBUG> <default.collaxa.cube.engine.agents> <SimpleScheduler::schedule> Next activation time for agent dispatch: Wed Oct 10
    09:43:52 EDT 2007

  • Problem while invoking Bpel Process from Browser

    server WSDL
    <definitions
         name="getOpenInvoicesService"
         targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/getOpenInvoicesService/"
         xmlns="http://schemas.xmlsoap.org/wsdl/"
         xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/db/getOpenInvoicesService/"
         xmlns:db="http://xmlns.oracle.com/pcbpel/adapter/db/getOpenInvoicesService"
         xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
         xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"
        >
        <types>
          <schema xmlns="http://www.w3.org/2001/XMLSchema" >
            <import namespace="http://xmlns.oracle.com/pcbpel/adapter/db/getOpenInvoicesService" schemaLocation="getOpenInvoicesService.xsd" />
          </schema>
        </types>
        <message name="getOpenInvoicesServiceInput_msg">
            <part name="getOpenInvoicesServiceInput_msg" element="db:getOpenInvoicesServiceInput"/>
        </message>
        <message name="getOpenInvoicesServiceOutputCollection_msg">
            <part name="getOpenInvoicesServiceOutputCollection" element="db:getOpenInvoicesServiceOutputCollection"/>
        </message>
        <portType name="getOpenInvoicesService_ptt">
            <operation name="getOpenInvoicesService">
                <input message="tns:getOpenInvoicesServiceInput_msg"/>
                <output message="tns:getOpenInvoicesServiceOutputCollection_msg"/>
            </operation>
        </portType>
        <binding name="getOpenInvoicesService_binding" type="tns:getOpenInvoicesService_ptt">
        <jca:binding  />
            <operation name="getOpenInvoicesService">
          <jca:operation
              SqlString=" SELECT distinct aps.trx_number TrxNumber,       ra.purchase_order PurchaseOrder,       rl.sales_order OrderNumber,       ra.interface_header_attribute2 OrderType,       hc.account_number CustomerNumber,        rt.name TrxType,       aps.acctd_amount_due_remaining AmmountDue,       aps.trx_date TrxDate,        aps.due_date TrxDueDate    FROM ra_customer_trx_all ra     ,   ra_customer_trx_lines_all rl     ,   ar_payment_schedules_all aps     ,   ra_cust_trx_types_all rt         ,   hz_cust_accounts hc              ,   hz_parties hp                    ,   hz_cust_acct_sites_all hcasa_bill,   hz_cust_site_uses_all hcsua_bill ,   hz_party_sites hps_bill          ,   ra_cust_trx_line_gl_dist_all rct   WHERE 1                        = 1 AND ra.customer_trx_id           = rl.customer_trx_id AND ra.customer_trx_id           = aps.customer_trx_id AND ra.org_id                    = aps.org_id AND rct.customer_trx_id          = aps.customer_trx_id AND rct.customer_trx_id          = ra.customer_trx_id AND rct.customer_trx_id          = rl.customer_trx_id AND rct.customer_trx_line_id     = rl.customer_trx_line_id AND ra.complete_flag             = &apos;Y&apos; AND rl.line_type                IN (&apos;FREIGHT&apos;, &apos;LINE&apos;) AND ra.cust_trx_type_id          = rt.cust_trx_type_id AND ra.bill_to_customer_id       = hc.cust_account_id AND hc.status                    = &apos;A&apos; AND hp.party_id                  = hc.party_id AND hcasa_bill.cust_account_id   = ra.bill_to_customer_id AND hcasa_bill.cust_acct_site_id = hcsua_bill.cust_acct_site_id AND hcsua_bill.site_use_code     = &apos;BILL_TO&apos; AND hcsua_bill.site_use_id       = ra.bill_to_site_use_id AND hps_bill.party_site_id       = hcasa_bill.party_site_id AND hcasa_bill.status            = &apos;A&apos; AND hcsua_bill.status            = &apos;A&apos; AND aps.amount_due_remaining    &lt;&gt; 0 AND aps.status                   = &apos;OP&apos; AND hc.account_number= ?"
              InteractionSpec="oracle.tip.adapter.db.DBPureSQLInteractionSpec" >
          </jca:operation>
                <input/>
                <output/>
            </operation>
        </binding>
        <service name="getOpenInvoicesService">
            <port name="getOpenInvoicesService_pt" binding="tns:getOpenInvoicesService_binding">
    <!--Your runtime connection is declared in
    J2EE_HOME/application-deployments/default/DbAdapter/oc4j-ra.xml
    These mcf properties here are from your design time connection and
    save you from having to edit that file and restart the application server
    if eis/DB/sfh is missing.
    These mcf properties are safe to remove.-->
          <jca:address location="eis/DB/sfh" UIConnectionName="sfh"
              ManagedConnectionFactory="oracle.tip.adapter.db.DBManagedConnectionFactory"
              mcf.DriverClassName="oracle.jdbc.OracleDriver"
              mcf.PlatformClassName="oracle.toplink.internal.databaseaccess.Oracle9Platform"
              mcf.ConnectionString="jdbc:oracle:thin:@localhost:1526:xxxx"
              mcf.UserName="apps"
              mcf.Password="53CB0F044A0D3DD2C063679F18F89870" />
            </port>
        </service>
      <plt:partnerLinkType name="getOpenInvoicesService_plt" >
        <plt:role name="getOpenInvoicesService_role" >
          <plt:portType name="tns:getOpenInvoicesService_ptt" />
        </plt:role>
      </plt:partnerLinkType>
    </definitions>
    client.wsdl
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions
         name="getOpenInvoices"
         targetNamespace="http://xmlns.oracle.com/getOpenInvoices"
         xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
         xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
         xmlns:xsd="http://www.w3.org/2001/XMLSchema"
         xmlns="http://schemas.xmlsoap.org/wsdl/"
         xmlns:client="http://xmlns.oracle.com/getOpenInvoices"
         xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
        >
        <types>
            <schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://xmlns.oracle.com/getOpenInvoices" xmlns="http://www.w3.org/2001/XMLSchema">
            <element name="getOpenInvoicesProcessResponse">
            <complexType>
            <sequence>
            <element name="result" type="string"/>
            </sequence>
            </complexType>
            </element>
            <element name="getOpenInvoicesProcessRequest">
            <complexType>
            <sequence>
            <element name="accountNumber" type="string"/>
            </sequence>
            </complexType>
            </element>
            </schema>
        </types>
        <message name="getOpenInvoicesRequestMessage">
            <part name="payload" element="client:getOpenInvoicesProcessRequest"/>
        </message>
        <message name="getOpenInvoicesResponseMessage">
            <part name="payload" element="client:getOpenInvoicesProcessResponse"/>
        </message>
        <portType name="getOpenInvoices">
            <operation name="OpenInvoices">
                <input message="client:getOpenInvoicesRequestMessage"/>
                <output message="client:getOpenInvoicesResponseMessage"/>
            </operation>
        </portType>
        <binding name="OpenInvoicebindings" type="client:getOpenInvoices">
        <http:binding verb="GET"/>
        <operation name="OpenInvoices">
        <http:operation location="/OpenInvoices"/>
        <input>
        <http:urlEncoded/>
        </input>
        <output>
        <mime:mimeXml part="Body"/>
        </output>
        </operation>
        </binding>
        <service name="OpenInvoiceService">
        <port binding="client:OpenInvoicebindings" name="OpenInvoicesport">
        <http:address location="http://sys0004:8889/httpbinding/default/getOpenInvoices"/>
        </port>
        </service>
        <plnk:partnerLinkType name="getOpenInvoices">
            <plnk:role name="getOpenInvoicesProvider">
                <plnk:portType name="client:getOpenInvoices"/>
            </plnk:role>
        </plnk:partnerLinkType>
    </definitions>
    bpel process
    <?xml version = "1.0" encoding = "UTF-8" ?>
    <!--
      Oracle JDeveloper BPEL Designer
      Created: Tue Jul 13 11:05:51 IST 2010
      Author: 
      Purpose: Synchronous BPEL Process
    -->
    <process name="getOpenInvoices"
             targetNamespace="http://xmlns.oracle.com/getOpenInvoices"
             xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
             xmlns:xsd="http://www.w3.org/2001/XMLSchema"
             xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
             xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
             xmlns:ns1="http://xmlns.oracle.com/pcbpel/adapter/db/getOpenInvoicesService/"
             xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
             xmlns:ns2="http://xmlns.oracle.com/pcbpel/adapter/db/getOpenInvoicesService"
             xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
             xmlns:client="http://xmlns.oracle.com/getOpenInvoices"
             xmlns:ora="http://schemas.oracle.com/xpath/extension"
             xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc">
      <!--
          PARTNERLINKS                                                     
          List of services participating in this BPEL process              
      -->
      <partnerLinks>
        <!--
          The 'client' role represents the requester of this service. It is
          used for callback. The location and correlation information associated
          with the client role are automatically set using WS-Addressing.
        -->
        <partnerLink name="client" partnerLinkType="client:getOpenInvoices"
                     myRole="getOpenInvoicesProvider"/>
        <partnerLink name="getOpenInvoicesService"
                     partnerRole="getOpenInvoicesService_role"
                     partnerLinkType="ns1:getOpenInvoicesService_plt"/>
      </partnerLinks>
      <!--
          VARIABLES                                                       
          List of messages and XML documents used within this BPEL process
      -->
      <variables>
        <!-- Reference to the message passed as input during initiation -->
        <variable name="inputVariable"
                  messageType="client:getOpenInvoicesRequestMessage"/>
        <!-- Reference to the message that will be returned to the requester-->
        <variable name="outputVariable"
                  messageType="client:getOpenInvoicesResponseMessage"/>
        <variable name="Invoke_1_getOpenInvoicesService_InputVariable"
                  messageType="ns1:getOpenInvoicesServiceInput_msg"/>
        <variable name="Invoke_1_getOpenInvoicesService_OutputVariable"
                  messageType="ns1:getOpenInvoicesServiceOutputCollection_msg"/>
      </variables>
      <!--
         ORCHESTRATION LOGIC                                              
         Set of activities coordinating the flow of messages across the   
         services integrated within this business process                 
      -->
      <sequence name="main">
        <!-- Receive input from requestor. (Note: This maps to operation defined in getOpenInvoices.wsdl) -->
        <receive name="receiveInput" partnerLink="client"
                 portType="client:getOpenInvoices" operation="OpenInvoices"
                 variable="inputVariable" createInstance="yes"/>
        <!-- Generate reply to synchronous request -->
        <assign name="Assign_1">
          <copy>
            <from variable="inputVariable" part="payload"/>
            <to variable="Invoke_1_getOpenInvoicesService_InputVariable"
                part="getOpenInvoicesServiceInput_msg"/>
          </copy>
        </assign>
        <invoke name="Invoke_1" partnerLink="getOpenInvoicesService"
                portType="ns1:getOpenInvoicesService_ptt"
                operation="getOpenInvoicesService"
                inputVariable="Invoke_1_getOpenInvoicesService_InputVariable"
                outputVariable="Invoke_1_getOpenInvoicesService_OutputVariable"/>
        <assign name="Assign_2">
          <copy>
            <from variable="Invoke_1_getOpenInvoicesService_OutputVariable"
                  part="getOpenInvoicesServiceOutputCollection"/>
            <to variable="outputVariable" part="payload"/>
          </copy>
        </assign>
        <reply name="replyOutput" partnerLink="client"
               portType="client:getOpenInvoices" operation="OpenInvoices"
               variable="outputVariable"/>
      </sequence>
    </process>the above is the server and client wsdls and Bpel process. i have created the wsdl so as to call from HTTP calling, means process is been called from Browser .... but i can't see the result ...
    http://sys0004:8889/httpbinding/default/getOpenInvoices/OpenInvoices?accountNumber=1608
    above is the link called from browser
    output in the browser ::: <getOpenInvoicesProcessResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.oracle.com/getOpenInvoices" />
    actually it has to fetch data from DB and show in xml format can anyone assist me where i am going wrong

    Hi Rajesh,
    Please refer \bpel\samples\tutorials\102.InvokingProcesses\jsp.
    BPEL Tutorial 7: Invoking BPEL Processes through SOAP and Java : Reference: 2004/06/14/orabpel/d5/1.0
    Hope this helps!
    Regards
    Anirudh Pucha

  • Error deploying BPEL process

    Hi,
    I am following the SOA Order booking tutorial (chapter 7: Creating the SelectManufacturer Project).
    When I try to build the BPEL Process, I get the following error:
    Buildfile: C:\Jdev10g\jdev\SOADEMOLAB\SelectManufacturer\build.xml
    pre-build:
    validateTask:
    [echo]
    | Validating workflow
    [validateTask] Validation of workflow task definitions is completed without errors
    compile:
    [echo]
    | Compiling bpel process SelectManufacturer, revision 1.0
    [bpelc] home directory is: C:\Jdev10g\/integration/bpel
    [bpelc] loading WSDLs ...
    [bpelc] reading partner SelectService's WSDL at C:\Jdev10g\jdev\SOADEMOLAB\SelectManufacturer\bpel\SelectManufacturer.wsdl
    [bpelc] done reading wsdl for partner: SelectService
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C:/Jdev10g/jdev/SOADEMOLAB/SelectManufacturer/bpel/SelectManufacturer.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema schema
    [bpelc] validating "file:/C:/Jdev10g/jdev/SOADEMOLAB/SelectManufacturer/bpel/SelectManufacturer.wsdl" ...
    [bpelc] validating "C:\Jdev10g\jdev\SOADEMOLAB\SelectManufacturer\bpel\SelectManufacturer.bpel" ...
    [bpelc] <process/> at line 27
    [bpelc] <partnerLinks/> at line 47
    [bpelc] <partnerLink/> at line 50
    [bpelc] <variables/> at line 52
    [bpelc] <variable/> at line 54
    [bpelc] <variable/> at line 56
    [bpelc] <sequence/> at line 58
    [bpelc] <receive/> at line 61
    [bpelc] <assign/> at line 62
    [bpelc] <copy/> at line 63
    [bpelc] <from/> at line 64
    [bpelc] bpel parsing failed
    [bpelc] java.lang.NullPointerException
    [bpelc]      at com.collaxa.cube.lang.compiler.bpel.XPathExprValidatorVisitor.rectifyGetDataFunctionAndAssert(XPathExprValidatorVisitor.java:994)
    [bpelc]      at com.collaxa.cube.lang.compiler.bpel.XPathExprValidatorVisitor.assertGetVariableData(XPathExprValidatorVisitor.java:1155)
    [bpelc]      at com.collaxa.cube.lang.compiler.bpel.XPathExprValidatorVisitor.visit(XPathExprValidatorVisitor.java:730)
    [bpelc]      at org.collaxa.thirdparty.jaxen.expr.DefaultFunctionCallExpr.accept(DefaultFunctionCallExpr.java:234)
    [bpelc]      at com.collaxa.cube.lang.compiler.bpel.XPathExprValidatorVisitor.printLhsRhs(XPathExprValidatorVisitor.java:435)
    [bpelc]      at com.collaxa.cube.lang.compiler.bpel.XPathExprValidatorVisitor.visit(XPathExprValidatorVisitor.java:465)
    [bpelc]      at com.collaxa.cube.lang.compiler.bpel.XPathExprValidatorVisitor.visitExpr(XPathExprValidatorVisitor.java:312)
    [bpelc]      at com.collaxa.cube.lang.compiler.bpel.XPathExprValidatorVisitor.assertGeneralExpr(XPathExprValidatorVisitor.java:128)
    [bpelc]      at com.collaxa.cube.lang.compiler.bpel.AssignValidator.assertGeneralExpression(AssignValidator.java:197)
    [bpelc]      at com.collaxa.cube.lang.compiler.bpel.AssignValidator.assertGeneralExpression(AssignValidator.java:183)
    [bpelc]      at com.collaxa.cube.lang.compiler.bpel.AssignValidator.assertFrom(AssignValidator.java:271)
    [bpelc]      at com.collaxa.cube.lang.compiler.bpel.BpelParser.parseFrom(BpelParser.java:2888)
    [bpelc]      at com.collaxa.cube.lang.compiler.bpel.BpelParser.startElement(BpelParser.java:640)
    [bpelc]      at org.collaxa.thirdparty.apache.xerces.parsers.AbstractDOMParser.emptyElement(AbstractDOMParser.java:1139)
    [bpelc]      at org.collaxa.thirdparty.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:312)
    [bpelc]      at org.collaxa.thirdparty.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1534)
    [bpelc]      at org.collaxa.thirdparty.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:338)
    [bpelc]      at org.collaxa.thirdparty.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:827)
    [bpelc]      at org.collaxa.thirdparty.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:757)
    [bpelc]      at org.collaxa.thirdparty.apache.xerces.parsers.XMLParser.parse(XMLParser.java:148)
    [bpelc]      at org.collaxa.thirdparty.apache.xerces.parsers.DOMParser.parse(DOMParser.java:186)
    [bpelc]      at com.collaxa.cube.lang.compiler.bpel.BpelParser.parse(BpelParser.java:401)
    [bpelc]      at com.collaxa.cube.lang.compiler.bpel.BPELValidator.validate(BPELValidator.java:138)
    [bpelc]      at com.collaxa.cube.lang.compiler.bpel.BPELValidator.validateClientSide(BPELValidator.java:80)
    [bpelc]      at com.collaxa.cube.lang.compiler.CubeProcessor.validateClientSide(CubeProcessor.java:1130)
    [bpelc]      at com.collaxa.cube.lang.compiler.CubeProcessor.transformClientSide(CubeProcessor.java:449)
    [bpelc]      at com.collaxa.cube.lang.compiler.CubeParserHelper.compileClientSide(CubeParserHelper.java:83)
    [bpelc]      at com.collaxa.cube.ant.taskdefs.Bpelc.execute(Bpelc.java:626)
    [bpelc]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [bpelc]      at org.apache.tools.ant.Task.perform(Task.java:364)
    [bpelc]      at org.apache.tools.ant.Target.execute(Target.java:341)
    [bpelc]      at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [bpelc]      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    [bpelc]      at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    [bpelc]      at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    [bpelc]      at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    [bpelc]      at oracle.jdevimpl.ant.runner.AntLauncher.launch(AntLauncher.java:321)
    [bpelc]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [bpelc]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [bpelc]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [bpelc]      at java.lang.reflect.Method.invoke(Method.java:585)
    [bpelc]      at oracle.jdevimpl.ant.runner.InProcessAntStarter.runAnt(InProcessAntStarter.java:295)
    [bpelc]      at oracle.jdevimpl.ant.runner.InProcessAntStarter.mav$runAnt(InProcessAntStarter.java:43)
    [bpelc]      at oracle.jdevimpl.ant.runner.InProcessAntStarter$1.run(InProcessAntStarter.java:71)
    [bpelc] ORABPEL-01021
    [bpelc]
    [bpelc] BPEL validation failed.
    [bpelc] BPEL source validation failed, the errors are:
    [bpelc]
    [bpelc] [Error ORABPEL-10902]: compilation failed
    [bpelc] [Description]: in "C:\Jdev10g\jdev\SOADEMOLAB\SelectManufacturer\bpel\SelectManufacturer.bpel", XML parsing failed because "".
    [bpelc] [Potential fix]: n/a.
    [bpelc] .
    [bpelc]
    [bpelc]      at com.collaxa.cube.lang.compiler.CubeProcessor.validateClientSide(CubeProcessor.java:1133)
    [bpelc]      at com.collaxa.cube.lang.compiler.CubeProcessor.transformClientSide(CubeProcessor.java:449)
    [bpelc]      at com.collaxa.cube.lang.compiler.CubeParserHelper.compileClientSide(CubeParserHelper.java:83)
    [bpelc]      at com.collaxa.cube.ant.taskdefs.Bpelc.execute(Bpelc.java:626)
    [bpelc]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [bpelc]      at org.apache.tools.ant.Task.perform(Task.java:364)
    [bpelc]      at org.apache.tools.ant.Target.execute(Target.java:341)
    [bpelc]      at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [bpelc]      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    [bpelc]      at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    [bpelc]      at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    [bpelc]      at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    [bpelc]      at oracle.jdevimpl.ant.runner.AntLauncher.launch(AntLauncher.java:321)
    [bpelc]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [bpelc]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [bpelc]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [bpelc]      at java.lang.reflect.Method.invoke(Method.java:585)
    [bpelc]      at oracle.jdevimpl.ant.runner.InProcessAntStarter.runAnt(InProcessAntStarter.java:295)
    [bpelc]      at oracle.jdevimpl.ant.runner.InProcessAntStarter.mav$runAnt(InProcessAntStarter.java:43)
    [bpelc]      at oracle.jdevimpl.ant.runner.InProcessAntStarter$1.run(InProcessAntStarter.java:71)
    [bpelc] BPEL validation failed.
    [bpelc] BPEL source validation failed, the errors are:
    [bpelc]
    [bpelc] [Error ORABPEL-10902]: compilation failed
    [bpelc] [Description]: in "C:\Jdev10g\jdev\SOADEMOLAB\SelectManufacturer\bpel\SelectManufacturer.bpel", XML parsing failed because "".
    [bpelc] [Potential fix]: n/a.
    [bpelc] .
    [bpelc]
    BUILD FAILED
    C:\Jdev10g\jdev\SOADEMOLAB\SelectManufacturer\build.xml:61: Validation error
    Total time: 6 seconds
    Any clue how to fix it?
    <target name="compile">
    <echo>
    | Compiling bpel process ${process.name}, revision ${rev}
    </echo>
    <bpelc input="${process.dir}/bpel/bpel.xml" out="${process.dir}/output" rev="${rev}" home="${bpel.home}" />
    </target>
    This is the segment corresponding to line 61 in build.xml.
    Thanks,
    Ashish

    Hi,
    Yes, this is the first time I am using ANT for deployment. This is the content of ant-orabel.properties
    ## ant-orabpel.properties contains commonly used installation and appserver ##
    ## specific properties. They contains replace tokens, which gets replaced by ##
    ## appropriate values during installation ##
    ## VERIFY THAT THESE PROPERTIES MATCHES YOUR ENVIRONMENT ##
    ##### Properties for used for process deployment #####
    # Which is app server going to use on this machine?
    platform = ias_10g
    # hostname, http.port must match with values for http url for BPEL engine, i.e.
    # property soapServerUrl defined in collaxa-config.xml
    hostname = Ashish
    http.hostname = ${hostname}
    http.port = 8888
    # For BPEL in cluster environemnt, j2ee.hostname may not be same as
    # http.hostname, where j2ee.hostname will be local hostname,
    # while http.hostname will be virtual hostname
    # For deployment of applications in oc4j cluster, set cluster = true
    # and oc4jinstancename to opmn cluster group it belongs to such as
    # default_group.
    cluster = false
    oc4jinstancename = home
    j2ee.hostname = Ashish
    # rmi.port or opmn.requestport is used in jndi.url/deployment-url in
    # standalone or midtier installation respectively.
    # rmi.port value below is default value as in BPEL standalone-developer install.
    # If you rely on this value, make sure it's correct for your installation
    # as from command "opmnctl status -l" output in midtier/SOA install.
    rmi.port = 23791
    opmn.requestport = 6003
    # make sure admin.user, admin.password is correct for [PLATFORM] appserver
    admin.user = oc4jadmin
    admin.password = welcome1
    # DONOT use jndi.user, jndi.password as they will get deprecated
    jndi.user = ${admin.user}
    jndi.password = ${admin.password}
    asinstancename =
    # default domain and bpel process revision for deployment
    domain = default
    rev = 1.0
    # Set verbose to true if you want to see verbose output from deployment tasks
    verbose = false
    ##### End of Properties for used for process deployment #####
    # Where the j2ee applications can be deployed, this environment variable
    # is application server dependent. The process developers will use this
    # this env. variable to deploy their J2EE applications
    # (e.g. .war or .ear files)
    apps = C:/SOASuite10g/product/10.1.3.1/OracleAS_1/j2ee/home/applications
    # default-web-app.dir is directory pointing to url http://http.host:http.port/
    default-web-app.dir = C:/SOASuite10g/product/10.1.3.1/OracleAS_1/j2ee/home/applications/../default-web-app
    ##### Properties for used for process testing #####
    bpeltest.minCoverage = 100%
    bpeltest.timeout = 90
    bpeltest.numWorkers = 1
    bpeltest.package =
    bpeltest.results.dir = ${default-web-app.dir}${file.separator}results
    ##### End of Properties for used for process testing #####
    # Oracle BPEL Version and Build info as also reported by obversion[.sh] command
    bpel.version = 10.1.3.1.0
    bpel.build = PCBPEL_10.1.3.1.0_GENERIC_061009.0802
    # Where has Orabpel been installed on this machine?
    bpel.home = C:/SOASuite10g/product/10.1.3.1/OracleAS_1/bpel
    # oracle.home is useful for ias/midtier
    oracle.home = C:/SOASuite10g/product/10.1.3.1/OracleAS_1/bpel/..
    # ias_10g appserver specific j2ee.home
    j2ee.home = C:/SOASuite10g/product/10.1.3.1/OracleAS_1/bpel/../j2ee/home
    # ias_10g appserver specific jndi.url
    jndi.url = opmn:ormi://Ashish:6003:home
    # ias_10g appserver specific jndi.InitialContextFactory
    jndi.InitialContextFactory = com.evermind.server.rmi.RMIInitialContextFactory
    soapServerUrl = http://${hostname}:${http.port}
    # Properties for ORABPEL dehydration store's DB connection as supplied during
    # installation of BPEL in midtier or SOA installation i.e. these would not
    # be set in case of standalone developer installation.
    orabpel.db.user = [DB_USERNAME]
    orabpel.db.password = [DB_PASSWORD]
    orabpel.db.connect_string = [DB_CONNECT_STRING]
    # [platform] appserver specific client.classpath
    client.classpath = C:/SOASuite10g/product/10.1.3.1/OracleAS_1/bpel/../j2ee/home/oc4jclient.jar;C:/SOASuite10g/product/10.1.3.1/OracleAS_1/bpel/../j2ee/home/../../lib/xml.jar;C:/SOASuite10g/product/10.1.3.1/OracleAS_1/bpel/../j2ee/home/rmic.jar;C:/SOASuite10g/product/10.1.3.1/OracleAS_1/bpel/../j2ee/home/../../lib/dms.jar;C:/SOASuite10g/product/10.1.3.1/OracleAS_1/bpel/../j2ee/home/oc4j.jar;C:/SOASuite10g/product/10.1.3.1/OracleAS_1/bpel/../j2ee/home/lib/jmxri.jar;C:/SOASuite10g/product/10.1.3.1/OracleAS_1/bpel/../j2ee/home/lib/javax77.jar;C:/SOASuite10g/product/10.1.3.1/OracleAS_1/bpel/../j2ee/home/admin_client.jar;C:/SOASuite10g/product/10.1.3.1/OracleAS_1/bpel/lib/orabpel.jar;C:/SOASuite10g/product/10.1.3.1/OracleAS_1/bpel/lib/orabpel-common.jar;C:/SOASuite10g/product/10.1.3.1/OracleAS_1/bpel/lib/orabpel-thirdparty.jar
    # END OF FILE

  • Tracking only Error records from Batch file in BPEL process

    Hi,
    I am reading file of 1000 records from file adaptor and debatching into two instance of each 500 records. And using invoke insert operation writing into database.
    The first batch of 500 records processed successfully and written into database custom table.
    The second set of 500 records created warning instance with some error message and nothing is written to database from second set.
    The error is due to some wrong data in one row of second set of 500 records. Due to that single row error, the remaining 499 got rejected and nothing from second set is inserted into database.
    Do we have control on that only one record of second set(500records) and BPEL process should write remaining 499 records to database.
    Please help me on this issue. It would be great help. Thanks inadvance.
    Waiting for your replies.
    Thank you.
    Edited by: PraveenT2 on May 13, 2009 4:27 AM

    Hi james,
    Below is the schema file using for reading file
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
    targetNamespace="http://TargetNamespace.com/readService"
    xmlns:tns="http://TargetNamespace.com/readService"
    elementFormDefault="qualified"
    attributeFormDefault="unqualified" nxsd:encoding="ASCII" nxsd:stream="chars" nxsd:version="NXSD"
    *nxsd:uniqueMessageSeparator="${eol}">*
    <xsd:element name="Root-Element">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="root" minOccurs="1" maxOccurs="unbounded">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="C1" type="xsd:int" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;">
    </xsd:element>
    <xsd:element name="C2" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;">
    </xsd:element>
    <xsd:element name="C3" type="xsd:int" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;">
    </xsd:element>
    <xsd:element name="C4" type="xsd:int" nxsd:style="terminated" nxsd:terminatedBy="${eol}" nxsd:quotedBy="&quot;">
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    *and in bpel .xml file edited property for rejected file*
    activationAgent
    className="oracle.tip.adapter.fw.agent.jca.JCAActivationAgent"
    partnerLink="readService">
    <property name="rejectedMessageHandlers">
    file://C:/Initiatives/Employee/RejectedRecords
    </property>
    </activationAgent>
    The Issue i am facing is when i provide the datafile with all invalid values then process didn't create instance but made entry of all invalid record into directory path specified in bpel.xml while setting rejectMessageHandler property.
    But when i provide mix of valid and invalid records of file, then bpel process created instance with warning status.
    the file i was provided is :
    10,veer,10000,12
    20,james,2000,10
    Veer|name|Test
    Veer|name|Test
    Veer|name|Test
    10,file,10000,12
    20,error,2000,10
    I was expecting 1st,2nd,6th and 7th row should be processes and invalid 3rd,4th and 5th rows should get written into rejectedMessageHandlers folder set at bpel.xml. But instance has created and treated whole invalid rows + 10 as first column for 6th row as pasted below.
    <ns0:eno>Veer|name|Test
    Veer|name|Test
    Veer|name|Test
    10
    </ns0:eno>
    <ns0:ename>file</ns0:ename>
    <ns0:sal>10000</ns0:sal>
    <ns0:dept>12</ns0:dept>
    Nothing has written into rejectedMessageHandlers folder set at bpel.xml.
    Can you please help me on this issue. Thank you very much.
    Edited by: PraveenT2 on May 13, 2009 10:33 PM
    Edited by: PraveenT2 on May 13, 2009 10:34 PM
    Edited by: PraveenT2 on May 13, 2009 10:48 PM

  • OSB proxy service and BPEL depedency is not established in BTM

    Hi All,
    I am using BTM 12.1.0.3 and I have deployed a service where an OSB proxy service is taking employee information and callling a BPEL process which writes data in some database table. The OSB proxy service and BPEL got discovered in BTM but the dependecy between OSB Proxy service and BPEL process is not established in BTM. I have used soa-dorect protocol to call the BPEL from OSB. I have also tried with using http protocol in OSB for calling a BPEL but nothing worked and the depedency is not established in BTM.
    Now I want to create an end-toend transaction i.e. starting from OSB proxy to the database. For this I selected OSB proxy operation and BPEL operation but correlation is not established. How can I correlate these operation? And how can I create an end-to-end transaction for this type of service where OSB calls a BPEL?
    Please guide!!
    Thanks in advance!!

    you can manually correlate any number of services to create an end-2-end transaction. Please see http://docs.oracle.com/cd/E24628_01/doc.121/e37014/transactions004.htm#BABDBDFI on how to manually correlate services in BTM.

  • Jdev version compatible with BPEL Process Manager

    Hi,
    I would like to know if there is any compatibility issues between the versions of JDev and BPEL Process Manager. (Please note we have only BPEL Process Manager and not the complete SOA suite).
    Thanks.
    Vipal

    The documentation would mention to use same versions, but may be not be the exact justification. However, here it goes : mostly for testcases related to humanworkflows/custom worklist applications.

  • How to know BPEL process is running

    Hi,
    I have BPEL process which is triggerred by FileAdapter. File Adapter polls for every 120seconds and if any file exists, it reads and BPEL process is initiated.
    As BPEL proccess is big and sometimes it executes more than 120seconds and it depends on environment with less load process faster and more load its takes more time.
    Due to this is there a way to know BPEL process is running before fetching new file or before starting actual BPEL process.
    JDev: 11.1.1.6.0
    Thanks,
    Bhaskar

    Can a singleton bpel will resolve your problem ?
    At a time only one bpel process will be running there wont be any parallel instances for that bpel. In that way there wont be any second instance created until the first instance has done with its job.
    http://orasoa.blogspot.co.uk/2007/05/create-singleton-process.html
    http://blogs.bpel-people.com/2009/04/writing-singleton-bpel-process.html
    Give points - it is good etiquette to reward an answerer points (5 - helpful; 10 - correct) for their post if they answer your question.
    Thanks,
    Vijay

  • Using a Java Web Service in a BPEL Process

    Hello.
    I am newie with Oracle Soa Suite and BPEL process and i have problems. I have developed a Java Web Service, first developing the Java Class and then using the wizard to create a Java Web Service.
    Now i want to develope a BPEL Process that use this Java Web Service. I have tried it with the component Partnert Link from de palette and looking for the java web service wsdl file. I have tried it with the component Java Web Service from the palette. In both of them, it happens the same, it appears erros looking for the wsdl or looking for something that the wsdl use. If someone could try it. Its easy. Create a Java class with one simple method. Create A java web service with the wizard. Then create a BPEL process and try to use it with a partner link.
    I have been trying it one week...
    Thank you in advance.

    Hi
    You can use a java web service to publish a Web service from a Java class.
    A wizard creates the WSDL document and deployment files needed to publish your code as a Web service. After you select the class and methods you want to publish, the wizard generates deployment descriptors, a JAX-RPC mapping file, and a WSDL document that can be deployed to an application server.
    You can refer : \bpel\samples\tutorials\102.InvokingProcesses\ws sample to invoke a WS using JAX-RPC Call.
    Hope that helps!
    Cheers
    A

  • Issue with Deploying and calling a BPEL process on ALBPM enterprise server

    Hi,
    I am trying to put in place a POC using Aqualogic BEA products (using ALBPM 5.7, Enterprise Server 5.7, ALSB 2.6, Weblogic App server 9.2). My goal is to put in place a simple BPEL process (using ALBPM) which would call a webservice exposed through ALSB. This BPEL process is initiated by a wrapper BPMN process calling the BPEL process through fuego code.
    Though we are able to do the above on a standalone ALBPM studio, When we try to deploy the exported BPM project on the enterprise server and access it through the hiper workspace portal we are getting the following error in the BPM Process Administrator Log of the Engine.
    A component failed while executing activity '/Process#Default-1.0/Global' (BP-method Global). Details: The task could not be successfully executed. Reason: 'fuego.connector.ConnectorException: The configuration name [ProcessService] and type [Web Service] is not defined. Detail:The connector must be configured in the appropiate context. '. Caused by: The configuration name [ProcessService] and type [Web Service] is not defined. Detail:The connector must be configured in the appropiate context. fuego.lang.ComponentExecutionException: The task could not be successfully executed. Reason: 'fuego.connector.ConnectorException: The configuration name [ProcessService] and type [Web Service] is not defined. Detail:The connector must be configured in the appropiate context. '. at fuego.server.execution.EngineExecutionContext.invokeMethodAsCil(EngineExecutionContext.java:916) at fuego.server.execution.EngineExecutionContext.runCil(EngineExecutionContext.java:1068) at fuego.server.execution.TaskExecution.invoke(TaskExecution.java:389) at fuego.server.execution.GlobalTaskExecution.invoke(GlobalTaskExecution.java:106) at fuego.server.execution.TaskExecution.executeCIL(TaskExecution.java:481) at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:655) at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:616) at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:442) at fuego.server.execution.GlobalTaskExecution.executeGlobalCIL(GlobalTaskExecution.java:164) at fuego.server.execution.GlobalTaskExecution.executeGlobalCIL(GlobalTaskExecution.java:142) at fuego.server.execution.Global.execute(Global.java:81) at fuego.server.AbstractProcessBean$38.execute(AbstractProcessBean.java:2496) at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:290) at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:462) at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:540) at fuego.transaction.TransactionAction.start(TransactionAction.java:213) at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:117) at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66) at fuego.server.AbstractProcessBean.runGlobalActivity(AbstractProcessBean.java:2491) at fuego.ejbengine.EJBProcessControlAdapter.runGlobalActivity(EJBProcessControlAdapter.java:386) at fuego.ejbengine.EJBProcessControlAdapter_hu750h_EOImpl.runGlobalActivity(EJBProcessControlAdapter_hu750h_EOImpl.java:2877) at fuego.ejbengine.EJBProcessControlAdapter_hu750h_EOImpl_WLSkel.invoke(Unknown Source) at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174) at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:335) at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:252) at fuego.ejbengine.EJBProcessControlAdapter_hu750h_EOImpl_921_WLStub.runGlobalActivity(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at fuego.papi.impl.AbstractProcessControlHandler.invokeInternal(AbstractProcessControlHandler.java:48) at fuego.papi.impl.j2ee.EJBProcessControlHandler.doInvoke(EJBProcessControlHandler.java:111) at fuego.papi.impl.j2ee.EJBProcessControlHandler.invoke(EJBProcessControlHandler.java:66) at $Proxy77.runGlobalActivity(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1478) at fuego.lang.JavaObject.invoke(JavaObject.java:185) at fuego.papi.impl.j2ee.EJBExecution.next(EJBExecution.java:200) at fuego.portal.wapi.InteractiveExecution.process(InteractiveExecution.java:157) at fuego.portal.wapi.WebInteractiveExecution.process(WebInteractiveExecution.java:54) at fuego.portal.wapi.InteractiveExecution.process(InteractiveExecution.java:200) at fuego.portal.servlet.ExecutionDispatcher.runGlobalActivity(ExecutionDispatcher.java:659) at fuego.portal.servlet.ExecutionDispatcher.processRequest(ExecutionDispatcher.java:144) at fuego.portal.servlet.ExecutionDispatcher.doPost(ExecutionDispatcher.java:105) at javax.servlet.http.HttpServlet.service(HttpServlet.java:763) at fuego.portal.servlet.AuthenticatedWamServlet.service(AuthenticatedWamServlet.java:1049) at fuego.portal.servlet.SingleThreadPerSession.service(SingleThreadPerSession.java:73) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:223) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at fuego.servlet.multipart.BaseMultipartFilter.doFilter(BaseMultipartFilter.java:57) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3243) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2003) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1909) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at weblogic.work.ExecuteThread.run(ExecuteThread.java:181) Caused by: fuego.connector.ConnectorException: The configuration name [ProcessService] and type [Web Service] is not defined. Detail:The connector must be configured in the appropiate context. at fuego.connector.ConnectorException.connectorNotFound(ConnectorException.java:55) at fuego.connector.ConnectorService.getConnectorInterface(ConnectorService.java:586) at fuego.connector.ConnectorTransaction.getConnectorInterface(ConnectorTransaction.java:618) at fuego.connector.ConnectorTransaction.getResource(ConnectorTransaction.java:254) at fuego.soaptype.WSConfiguration.getInstance(WSConfiguration.java:55) at fuego.soaptype.Endpoint.create(Endpoint.java:42) at fuego.soaptype.WebServiceInstantiator.instantiate(WebServiceInstantiator.java:58) at fuego.component.Component.instantiateDynamic(Component.java:123) at CapGemini.Process.Default_1_0.Instance.CIL_callBPEL(Instance.java:241) at CapGemini.Process.Default_1_0.Instance.CIL_callBPEL(Instance.java:307) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at fuego.server.execution.EngineExecutionContext.invokeMethodAsCil(EngineExecutionContext.java:907) ... 64 more
    Two things here that might help to understand the problem better :
    1) As I understand the error is due to some issue while calling the BPEL process from the Fuego code.
    The Fuego code which call's the BPEL from the BPMN process is as follows :
    helloResponse as String = "someoutput"
    helloRequest as String = "someinput"
    sessionid as String
    // Starting a Session.
    // In case you are testing this in the Studio,
    // the password must be the same as the user
    startSession BPELWSDL.ProcessServiceListenerWSDL.ProcessService
    using user = "test",
    password = "test"
    returning sessionid = result
    // createTest is the name of the operation
    // in the exposed process.
    // In this case the process "ExposedProcess"
    // has a web service operation
    // called "createTest" that is a "Process Creation" type
    // and uses the Begin activity's argument set
    callHello BPELWSDL.ProcessServiceListenerWSDL.ProcessService
    using sessionId = sessionid,
    arg1 = helloRequest
    returning helloResponse = result
    // Closing the session
    discardSession BPELWSDL.ProcessServiceListenerWSDL.ProcessService
    using sessionId = sessionid
    display "The BPEL's response : " + helloResponse
    2) Further, I had catalogued the BPEL's wsdl to the location http://localhost:9000/fuegoServices/ws/ProcessServiceListener?WSDL while running the same in Studio, but while deploying on the enterprise server , I made this point to http://localhost:7001/fuegoServices/ws/ProcessServiceListener?WSDL Is this correct ?
    Any thought on this issue would be appreciated.
    Regards
    Deepak

    Hi Deepak,
    We are also facing a similar problem, while accessing an external webservice from a BPM process.
    Were you able to resolve this issue.
    If so, Could you please let us know the procedure that you followed to resolve the issue.
    Thanks in Advance,
    Krishnaveni.

Maybe you are looking for

  • Doubt on Aync-Sync Bridge without BPM

    I created a scenario using Aync-Sync Bridge without BPM: File(Asyn) => Rfc:BAPI_PO_CREATE1(Syn) 1 which mode of message interface should be used in IR for File(Asyn)?    Asyn or Syn? 2 if syn MSG interface should be used in the above question,how can

  • Update not commit in a function

    Hi, I created a function that does an update. The SQL statement works fine on its own. But when I put this SQL statement in a function and used a .NET application to call this function, it didn't update the record. I even put the commit statement aft

  • PO Confirmation create automatically

    Hi, Anyone knows an easy way to create PO confirmation automatically? Same Date and Quantity as requested. Essentially, we would like to create Order Acknowledgment on the confirmation tab and we would like this to happen at PO creation. Let me know

  • Bridge CS2 Präsentation

    Gibt es eine Möglichkeit bei einer Präsentation in Adobe Brigde auch einen Bildtitel anzuzeigen und nicht nur den Dateinamen. In PSE 3.0 ist sowas möglich!!!

  • Why do my page up/page down keys stop working randomly in Firefox 4.

    One minute they're working, the next minute they are not, and I have to close and restart Firefox to get them working again. These keys work fine in other browsers. Any ideas?