What BPEL process manager ?

We are using Oracle database 11g and were planing to use Oracle workflow, but later found that workflow will not be supported anymore, So the question is , can BPEL process manager be used in place of Oracle Workflow ?
Thanks,
Sanjay
Edited by: user10949534 on Apr 20, 2009 7:14 PM

Hi,
You my dear friend are in a much better position now 'coz you can make a choice!
Well, these past two months I'd been working on a project involving migration of an enterprise application's core framework from Oracle WorkFlow to BPEL and believe me it has been a major pain in the neck. But, you may or may not face these problems depending upon whether most of your business processes are synchronous or asynchronous in nature. Plus, migrations are never supposed to be easy! Isn't it? ;)
Anyways, when our App was using OWF all our interactions were basically synchronous Java calls to PL/SQL procedures. So, anytime an exception occured all we had to do was invoke a rollback and our App was back in a consistent state. But, while migrating to BPEL, we started facing troubles in mapping our synchronous business processes to asynchronous BPEL processes mostly in handling exceptional cases where we wished we could push an exception back to the Java client.
But, I think we mostly faced problems due to the migration limitations listed below that we had and which you probably would not be having as you would be designing your processes to use BPEL from the scratch:
1. We couldn't have used synchrous BPEL processes as they all had to create HumanTasks which is a long running activity that may take days to complete.
2. As we were migrating the core framework and not the App itself we were not supposed to change our App code that in most of the cases was assuming that the underlying workflow engine calls are synchronous in nature.
Things are pretty stable now but we still find ourselves finding workarounds to put the App in sync with what has happened within BPEL. So, it's certainly doable but it's not as easy as it sounds esp. the migrations! ;)
I hope my experience helps you out in taking a better call.
Cheers,
Ravi

Similar Messages

  • What are username and password for BPEL Console of BPEL Process Manager 10g

    There was no hint for setting the username and password during installation.

    HELP!!After installation of BPEL Process Manager .I can enter the BPEL admin page ,but not BPEL console page the http://192.168.1.100:9700/BPELConsole/j_security_check for the invalid default name and pass,neither bpeladmin nor oc4jadmin could be checked at all.
    While,the BPEL PM SERVER console replyed me some messages like:invalid authorization method,should be CUSTOM_AUTH,but find FORM and realmLoginModule authentication failed
    I need your help!really!!please!!thank you all!!!!!

  • What can Interconnect do better than the BPEL process manager

    I would like to know which integrations problems can be best done with Interconnect and which with the BPEL process manager. It seems to me that the BPEL process manager can do just the same.
    Is this true?

    Hi,
    In my opinion BPEL can do more than Interconnect.
    Yes they have overlap.
    From my opinion Interconnect is used as a data-interface tool. where Bpel has more functions to create and start processes, work easily with services. Sure a data interface can be build in BPEL (the Oracle one to be specific), and there should be nothing wrong with it.
    And from a support point of view you want to have 1 tool to maintain instead of 2.
    My guess is that Interconnect, and the solutions build with it, will eventually dissapear into the BPEL process manager.

  • 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

  • BPEL Process Manager Generated WSDL

    We are working on an ant build framework for a Oracle SOA Suite 10.1.3.3.0 project, consisting of a main BPEL process that is synchronously calling another BPEL process via an ESB. This second process uses the same ESB to call back the original process.
    This of course leads to a circular deployment dependency, where the ESB requires both BPEL WSDLs before it can be deployed, and each BPEL process needs a WSDL for the ESB endpoint to be deployed.
    We are attempting to short circuit this dependency by deploying a web application registry for the WSDLs in question, but this presents us with a further problem. The WSDLs used to communicate with the BPEL processes and ESB are not the project WSDLs, but appear to actually be describing web service wrappers generated on the application server side. In order to use the proposed web registry, we would need to be able to predictably generate these WSDLs (or at least representative versions).
    In our example it looks like a case of generating binding and service elements and merging them with the BPEL project WSDL , but we do not feel that it is safe to assume anything about this behaviour and would prefer some kind of documentation to inform our decision.
    So, a couple of questions:
    1) Can anyone provide documentation and/or description of how the required web service endpoints are generated by the application server/BPEL process manager?
    2) Alternatively, is there a better way of avoiding or dealing with the aforementioned circular dependency?
    Thankyou

    I was wondering too what would be a could solution for the "circular dependency" situation.
    In my current project we will build some mockup-bpels(just for the interface) for the time being.

  • Problem to start BPEL Console of Oracle BPEL Process Manager 10.1.3.1.0

    Hi everyone!
    I'm writing to yours because I installed Oracle BPEL Process Manager 10.1.3.1.0 but I can't start BPEL Console. I tried to start it by the option menu of Windows XP and by Developer Prompt, but I get a HTTP 404 Not Found page. When I was installing the universall installer told me that it wasn't possible to set ORACLE_HOME variable because it had a value older than 1023 characteres. So, I continue the installation but I can't start the BPEL Console. The Dos Console teld me sometimes when I put http://localhost:9700/BPELConsole..timed out. So, tell me how to resolve that problem.
    I'll be waiting your responses.
    This is the log of "Select Start BPEL PM Server",
    Could not canonicalize 'ERROR: product bean SAWebBinCompBean does not exist' (Th
    e filename, directory name, or volume label syntax is incorrect). From system pr
    operty java.library.path.
    Could not canonicalize 'ERROR: product bean EclipseSACatalogMangerCompBean does
    not exist' (The filename, directory name, or volume label syntax is incorrect).
    From system property java.library.path.
    Could not canonicalize 'ERROR: product bean SQLAnywhereOdbcDriverCompBean does n
    ot exist' (The filename, directory name, or volume label syntax is incorrect). F
    rom system property java.library.path.
    Could not canonicalize 'ERROR: product bean DWSharedUtilityCompBean does not exi
    st' (The filename, directory name, or volume label syntax is incorrect). From sy
    stem property java.library.path.
    Jul 15, 2007 12:48:36 PM com.evermind.server.XMLDataSourcesConfig parseRootNode
    INFO: Legacy datasource detected...attempting to convert to new syntax.
    2007-07-15 12:48:45.378 NOTIFICATION JMSServer[]: OC4J JMS server recovering tra
    nsactions (commit 0) (rollback 0) (prepared 0).
    2007-07-15 12:48:45.408 NOTIFICATION JMSServer[]: OC4J JMS server recovering loc
    al transactions Queue[OC4J Domain Queue].
    2007-07-15 12:48:45.448 NOTIFICATION JMSServer[]: OC4J JMS server recovering loc
    al transactions Queue[jms/Oc4jJmsExceptionQueue].
    2007-07-15 12:48:45.628 NOTIFICATION JMSServer[]: OC4J JMS server recovering loc
    al transactions Queue[jms/notifications].
    2007-07-15 12:48:45.649 NOTIFICATION JMSServer[]: OC4J JMS server recovering loc
    al transactions Queue[OracleASRouter_store].
    2007-07-15 12:48:45.959 NOTIFICATION JMSServer[]: OC4J JMS server recovering loc
    al transactions Queue[jms/events].
    2007-07-15 12:48:46.049 NOTIFICATION JMSServer[]: OC4J JMS server recovering loc
    al transactions Queue[jms/jobstore].
    2007-07-15 12:48:46.149 ERROR Failed to set the internal configuration of the OC
    4J JMS Server with: XMLJMSServerConfig[file:/C:/product/10.1.3.1/OraBPEL_1/bpel/
    system/appserver/oc4j/j2ee/home/config/jms.xml]
    07/07/15 12:48:46 *** (SEVERE) Failed to set the internal configuration of the O
    C4J JMS Server with: XMLJMSServerConfig[file:/C:/product/10.1.3.1/OraBPEL_1/bpel
    /system/appserver/oc4j/j2ee/home/config/jms.xml]
    2007-07-15 12:48:46.149 ERROR J2EE OJR-00011 Exception starting JMS server: Fail
    ed to set the internal configuration of the OC4J JMS Server with: XMLJMSServerCo
    nfig[file:/C:/product/10.1.3.1/OraBPEL_1/bpel/system/appserver/oc4j/j2ee/home/co
    nfig/jms.xml]
    2007-07-15 12:49:29.952 WARNING J2EE JNDI-00002 Resource reference jms/Queue/Not
    ificationSenderQueueConnectionFactory not found. Allowing J2EEContext creation
    to continue anyway.
    2007-07-15 12:49:29.962 WARNING J2EE JNDI-00004 No javax.jms.QueueConnectionFact
    ory found at jms/QueueConnectionFactory
    2007-07-15 12:49:29.962 WARNING J2EE JNDI-00002 Resource reference jms/Queue/Not
    ificationSenderQueue not found. Allowing J2EEContext creation to continue anywa
    y.
    2007-07-15 12:49:29.962 WARNING J2EE JNDI-00004 No javax.jms.Queue found at null
    2007-07-15 12:49:29.962 WARNING J2EE JNDI-00002 Resource reference jms/Queue/Not
    ificationSenderQueueConnectionFactory not found. Allowing J2EEContext creation
    to continue anyway.
    2007-07-15 12:49:29.972 WARNING J2EE JNDI-00004 No javax.jms.QueueConnectionFact
    ory found at jms/QueueConnectionFactory
    2007-07-15 12:49:29.982 WARNING J2EE JNDI-00002 Resource reference jms/Queue/Not
    ificationSenderQueue not found. Allowing J2EEContext creation to continue anywa
    y.
    2007-07-15 12:49:29.982 WARNING J2EE JNDI-00004 No javax.jms.Queue found at null
    2007-07-15 12:49:30.112 ERROR J2EE EJB-03027 [orabpel] An error occured deployin
    g EJB module: java.lang.InstantiationException: Resource exception(BPELjms) for
    MessageDrivenBean InvokerBean during endpoint activation: failure looking up res
    ource provider factory for QueueConnectionFactoryWrapper [Queue]-OracleASJMSConn
    ector.QueueConnectionFactoryWrapper.Demos7.-3f9cb723:113ca91421c:-7fff.22 []: ja
    vax.resource.spi.ResourceAdapterInternalException: Looking up java:comp/resource
    /oc4jjms/jms/collaxa/BPELInvokerQueueFactory: javax.naming.NameNotFoundException
    : No resource named 'oc4jjms/jms/collaxa/BPELInvokerQueueFactory'found
    07/07/15 12:49:30 WARNING: Application.setConfig Application: orabpel is in fail
    ed state as initialization failed.
    java.lang.InstantiationException: Error initializing ejb-modules: Resource excep
    tion(BPELjms) for MessageDrivenBean InvokerBean during endpoint activation: fail
    ure looking up resource provider factory for QueueConnectionFactoryWrapper [Queu
    e]-OracleASJMSConnector.QueueConnectionFactoryWrapper.Demos7.-3f9cb723:113ca9142
    1c:-7fff.22 []: javax.resource.spi.ResourceAdapterInternalException: Looking up
    java:comp/resource/oc4jjms/jms/collaxa/BPELInvokerQueueFactory: javax.naming.Nam
    eNotFoundException: No resource named 'oc4jjms/jms/collaxa/BPELInvokerQueueFacto
    ry'found
    2007-07-15 12:49:30.513 WARNING DEBUG GJRA-1100, oracle.j2ee.connector.messagein
    flow.MessageEndpointFactoryImpl@121c5df.
    2007-07-15 12:49:30.763 WARNING J2EE OJR-00013 Exception initializing deployed a
    pplication: orabpel. Application: orabpel is in failed state as initialization f
    ailed
    2007-07-15 12:49:31.374 ERROR J2EE EJB-03027 [hw_services] An error occured depl
    oying EJB module: com.evermind.server.ejb.deployment.InvalidEJBAssemblyException
    : [hw_services:hw_services_ejb:RemoteWorklistService] - Unable to load ejb-class
    oracle.tip.pc.services.hw.worklist.RemoteWorklistServiceBean, see section 23.2
    of the EJB 2.1 specificationoracle.classloader.util.AnnotatedClassNotFoundExcept
    ion:
    Missing class: oracle.tip.pc.services.hw.worklist.RemoteWorklistServic
    eBean
    Dependent class: com.evermind.server.ejb.deployment.BeanDescriptor
    Loader: oc4j:10.1.3
    Code-Source: /C:/product/10.1.3.1/OraBPEL_1/bpel/system/appserver/oc
    4j/j2ee/home/lib/oc4j-internal.jar
    Configuration: <code-source> in META-INF/boot.xml in C:\product\10.1.3
    .1\OraBPEL_1\bpel\system\appserver\oc4j\j2ee\home\oc4j.jar
    This load was initiated at hw_services.root:0.0.0 using the Class.forName() meth
    od.
    The missing class is available from the following locations:
    1. Code-Source: /C:/product/10.1.3.1/OraBPEL_1/bpel/system/services/lib/
    bpm-services.jar (from <code-source> in /C:/product/10.1.3.1/OraBPEL_1/bpel/syst
    em/appserver/oc4j/j2ee/home/config/server.xml)
    This code-source is available in loader oracle.bpel.common:10.1.3. Th
    is shared-library can be imported by the "hw_services" application.
    07/07/15 12:49:31 WARNING: Application.setConfig Application: hw_services is in
    failed state as initialization failed.
    java.lang.InstantiationException: Error initializing ejb-modules: [hw_services:h
    w_services_ejb:RemoteWorklistService] - Unable to load ejb-class oracle.tip.pc.s
    ervices.hw.worklist.RemoteWorklistServiceBean, see section 23.2 of the EJB 2.1 s
    pecificationoracle.classloader.util.AnnotatedClassNotFoundException:
    Missing class: oracle.tip.pc.services.hw.worklist.RemoteWorklistServic
    eBean
    Dependent class: com.evermind.server.ejb.deployment.BeanDescriptor
    Loader: oc4j:10.1.3
    Code-Source: /C:/product/10.1.3.1/OraBPEL_1/bpel/system/appserver/oc
    4j/j2ee/home/lib/oc4j-internal.jar
    Configuration: <code-source> in META-INF/boot.xml in C:\product\10.1.3
    .1\OraBPEL_1\bpel\system\appserver\oc4j\j2ee\home\oc4j.jar
    This load was initiated at hw_services.root:0.0.0 using the Class.forName() meth
    od.
    The missing class is available from the following locations:
    1. Code-Source: /C:/product/10.1.3.1/OraBPEL_1/bpel/system/services/lib/
    bpm-services.jar (from <code-source> in /C:/product/10.1.3.1/OraBPEL_1/bpel/syst
    em/appserver/oc4j/j2ee/home/config/server.xml)
    This code-source is available in loader oracle.bpel.common:10.1.3. Th
    is shared-library can be imported by the "hw_services" application.
    2007-07-15 12:49:31.394 WARNING J2EE OJR-00013 Exception initializing deployed a
    pplication: hw_services. Application: hw_services is in failed state as initiali
    zation failed
    2007-07-15 12:49:31.534 ERROR J2EE EJB-03027 [owf] An error occured deploying EJ
    B module: com.evermind.server.ejb.deployment.InvalidEJBAssemblyException: [owf:O
    WFWrapperEJB:OWFRemoteWrapper] - Unable to load ejb-class oracle.tip.pc.services
    .owf.OWFRemoteWrapperBean, see section 23.2 of the EJB 2.1 specificationoracle.c
    lassloader.util.AnnotatedClassNotFoundException:
    Missing class: oracle.tip.pc.services.owf.OWFRemoteWrapperBean
    Dependent class: com.evermind.server.ejb.deployment.BeanDescriptor
    Loader: oc4j:10.1.3
    Code-Source: /C:/product/10.1.3.1/OraBPEL_1/bpel/system/appserver/oc
    4j/j2ee/home/lib/oc4j-internal.jar
    Configuration: <code-source> in META-INF/boot.xml in C:\product\10.1.3
    .1\OraBPEL_1\bpel\system\appserver\oc4j\j2ee\home\oc4j.jar
    This load was initiated at owf.root:0.0.0 using the Class.forName() method.
    The missing class is available from the following locations:
    1. Code-Source: /C:/product/10.1.3.1/OraBPEL_1/bpel/system/services/lib/
    bpm-services.jar (from <code-source> in /C:/product/10.1.3.1/OraBPEL_1/bpel/syst
    em/appserver/oc4j/j2ee/home/config/server.xml)
    This code-source is available in loader oracle.bpel.common:10.1.3. Th
    is shared-library can be imported by the "owf" application.
    07/07/15 12:49:31 WARNING: Application.setConfig Application: owf is in failed s
    tate as initialization failed.
    java.lang.InstantiationException: Error initializing ejb-modules: [owf:OWFWrappe
    rEJB:OWFRemoteWrapper] - Unable to load ejb-class oracle.tip.pc.services.owf.OWF
    RemoteWrapperBean, see section 23.2 of the EJB 2.1 specificationoracle.classload
    er.util.AnnotatedClassNotFoundException:
    Missing class: oracle.tip.pc.services.owf.OWFRemoteWrapperBean
    Dependent class: com.evermind.server.ejb.deployment.BeanDescriptor
    Loader: oc4j:10.1.3
    Code-Source: /C:/product/10.1.3.1/OraBPEL_1/bpel/system/appserver/oc
    4j/j2ee/home/lib/oc4j-internal.jar
    Configuration: <code-source> in META-INF/boot.xml in C:\product\10.1.3
    .1\OraBPEL_1\bpel\system\appserver\oc4j\j2ee\home\oc4j.jar
    This load was initiated at owf.root:0.0.0 using the Class.forName() method.
    The missing class is available from the following locations:
    1. Code-Source: /C:/product/10.1.3.1/OraBPEL_1/bpel/system/services/lib/
    bpm-services.jar (from <code-source> in /C:/product/10.1.3.1/OraBPEL_1/bpel/syst
    em/appserver/oc4j/j2ee/home/config/server.xml)
    This code-source is available in loader oracle.bpel.common:10.1.3. Th
    is shared-library can be imported by the "owf" application.
    2007-07-15 12:49:31.544 WARNING J2EE OJR-00013 Exception initializing deployed a
    pplication: owf. Application: owf is in failed state as initialization failed
    2007-07-15 12:50:07.096 ERROR J2EE HTTP-00004 Internal error raised tyring to in
    stantiate web-application: admin_war defined in web site OC4J 10g (10.1.3) Defau
    lt Web Site. Application: admin_war has been stopped
    2007-07-15 12:50:07.096 ERROR J2EE HTTP-00004 Internal error raised tyring to in
    stantiate web-application: console_war defined in web site OC4J 10g (10.1.3) Def
    ault Web Site. Application: console_war has been stopped
    2007-07-15 12:50:07.246 ERROR J2EE HTTP-00004 Internal error raised tyring to in
    stantiate web-application: startup_war defined in web site OC4J 10g (10.1.3) Def
    ault Web Site. Application: startup_war has been stopped
    2007-07-15 12:50:07.386 ERROR J2EE HTTP-00004 Internal error raised tyring to in
    stantiate web-application: httpbinding defined in web site OC4J 10g (10.1.3) Def
    ault Web Site. Application: httpbinding has been stopped
    2007-07-15 12:50:26.003 ERROR J2EE HTTP-00004 Internal error raised tyring to in
    stantiate web-application: deploy defined in web site OC4J 10g (10.1.3) Default
    Web Site. Application: deploy has been stopped
    2007-07-15 12:50:26.013 ERROR J2EE HTTP-00004 Internal error raised tyring to in
    stantiate web-application: testconnection defined in web site OC4J 10g (10.1.3)
    Default Web Site. Application: testconnection has been stopped
    2007-07-15 12:50:26.023 ERROR J2EE HTTP-00004 Internal error raised tyring to in
    stantiate web-application: taskservice defined in web site OC4J 10g (10.1.3) Def
    ault Web Site. Application: taskservice has been stopped
    2007-07-15 12:50:26.033 ERROR J2EE HTTP-00004 Internal error raised tyring to in
    stantiate web-application: taskmetadataservice defined in web site OC4J 10g (10.
    1.3) Default Web Site. Application: taskmetadataservice has been stopped
    2007-07-15 12:50:26.033 ERROR J2EE HTTP-00004 Internal error raised tyring to in
    stantiate web-application: taskqueryservice defined in web site OC4J 10g (10.1.3
    ) Default Web Site. Application: taskqueryservice has been stopped
    2007-07-15 12:50:26.033 ERROR J2EE HTTP-00004 Internal error raised tyring to in
    stantiate web-application: IdentityService defined in web site OC4J 10g (10.1.3)
    Default Web Site. Application: IdentityService has been stopped
    2007-07-15 12:50:26.033 ERROR J2EE HTTP-00004 Internal error raised tyring to in
    stantiate web-application: usermetadataservice defined in web site OC4J 10g (10.
    1.3) Default Web Site. Application: usermetadataservice has been stopped
    2007-07-15 12:50:26.043 ERROR J2EE HTTP-00004 Internal error raised tyring to in
    stantiate web-application: runtimeconfigservice defined in web site OC4J 10g (10
    .1.3) Default Web Site. Application: runtimeconfigservice has been stopped
    2007-07-15 12:50:26.043 ERROR J2EE HTTP-00004 Internal error raised tyring to in
    stantiate web-application: hw_services defined in web site OC4J 10g (10.1.3) Def
    ault Web Site. Application: hw_services has been stopped
    2007-07-15 12:50:26.043 ERROR J2EE HTTP-00004 Internal error raised tyring to in
    stantiate web-application: worklistxpress defined in web site OC4J 10g (10.1.3)
    Default Web Site. Application: worklistxpress has been stopped
    2007-07-15 12:50:26.043 ERROR J2EE HTTP-00004 Internal error raised tyring to in
    stantiate web-application: worklistapp defined in web site OC4J 10g (10.1.3) Def
    ault Web Site. Application: worklistapp has been stopped
    2007-07-15 12:50:26.043 ERROR J2EE HTTP-00004 Internal error raised tyring to in
    stantiate web-application: owf defined in web site OC4J 10g (10.1.3) Default Web
    Site. Application: owf has been stopped
    07/07/15 12:50:36 Oracle Containers for J2EE 10g (10.1.3.1.0) initialized
    Thanks for your responses.
    Greetings.

    Hi,
    you said:
    it wasn't possible to set ORACLE_HOME variable because it had a value older than 1023 characteres
    What do you mean with older than 1023 chars?
    I think the easiest way is to uninstall the BPEL Console and run the installer again with correcting the ORACLE_HOME problem...

  • Problem installing BPEL Process Manager 10.1.3.1.0

    Hi,
    I'm new to BPEL. I downloaded BPEL Process Manager 10.1.3.1.0 for OC4J for Windows. After the download while doing the Oracle Universal Installer I selected "BPEL Process Manager for OracleAS Middle Tier"
    I get the following error:
    BPEL Process Manager for OracleAS Middle Tier will run on top of a supported Oracle Applications Server 10.1.3.0 J2EE Server and Web Server OR J2EE Server instance. This location does not contain this instance. Please refer to the Installation Guide for supported versions. Please select a new Oracle Home that contains a supported instance.
    Can anyone please let me know what could be the issue.
    Thanks
    -Prapoorna

    Hi,
    I'm new to BPEL. I downloaded BPEL Process Manager
    10.1.3.1.0 for OC4J for Windows. After the download
    while doing the Oracle Universal Installer I selected
    "BPEL Process Manager for OracleAS Middle Tier" You would select the above installation option only if you already have an OracleAS Middle Tier - and it would then install BPEL PM into the same ORACLE_HOME.
    The below error message is telling you the same. You have one of two options:
    1. install Oracle AS midtier first and then redo the above install of the BPEL PM
    2. select the standalone option (not the midtier option)
    HTH
    >
    I get the following error:
    BPEL Process Manager for OracleAS Middle Tier will
    run on top of a supported Oracle Applications Server
    10.1.3.0 J2EE Server and Web Server OR J2EE Server
    instance. This location does not contain this
    instance. Please refer to the Installation Guide for
    supported versions. Please select a new Oracle Home
    that contains a supported instance.
    Can anyone please let me know what could be the
    issue.
    Thanks
    -Prapoorna

  • How to install Oracle BPEL Process Manager for OracleAS Middle Tier

    hi,
    i need to install BPEL process manager, so i download the following file from otn
    1.soa_windows_x86_101310_disk1
    2.soa_windows_x86_bpel_101310
    here i read the document named b28980.pdf from bpel\doc\pc.1012 to install BPEL PM
    so i start to complete the pre-installation task
    1.installed Oracle database 10g
    2.Run the Integration Repository Creation Assistant on the Database
    3.Install Oracle Application Server 10g Release3 (10.1.3.1.0) and select either the J2EE Server installation type or the J2EE and Web Server installation type. selected J2EE and Web Server installation type
    and installed according to the Oracle application server installation guide.
    installed OracleAS in the path : D:\product\10.1.3.1\OracleAS_1
    4.Install the current release of Oracle BPEL Process Manager for OracleAS Middle Tier
    here they mention to select the J2EE and Web Server installation type because that type is selected in Oracle AS installed in Oracle Application Server
    so i start to install the BPEL PM by selecting the setup.exe-->and shows the location source and destination
    default destination is : D:\product\10.1.3.1\OraBPEL_1 selected next on the screen
    the next screen is select installation type here there are two types named
    1.BPEL process Manager for Developer (371MB)
    2.BPEL process manager for Oracle AS Middle tier (107MB)
    i selected 2.BPEL process manager for Oracle AS Middle tier (107MB) and click next
    pop up window opens with title dependencies
    error:
    BPEL Process manager for oracle AS Middle tier will run on top of a supported Oracle Application Server 10.1.3.1.0 J2EE server and Web Server Or J2EE server instance. this location does not contain this instance. Please select new Oracle home that contains a supported instance.
    so i changed the destination path to : D:\product\10.1.3.1\OracleAS_1\BIN then also i got the same error.
    please any one mention the path for J2EE and Web Server instance for installing the BPEL PM for Oracle AS Middle Tier.
    Thanks in Advance
    Aswath Thaniga

    If you choose the developer version you will be fine.
    If you have installed J2EE and Web Server installation into D:\product\10.1.3.1\OracleAS_1 then this is the location you install your BPEL PM into, not D:\product\10.1.3.1\OraBPEL_1 or D:\product\10.1.3.1\OracleAS_1\BIN.
    D:\product\10.1.3.1\OracleAS_1 is what we call the ORACLE_HOME, generally we create a new home for each install, but in this case there is a dependency on 10.1.3.1 OC4J container. So it needs to be installed into 10.1.3.1 oracle home.
    The bin directory is just the executables for that home, its not the actual. home.
    cheers
    James

  • Problem Installing BPEL Process Manager in Win2K

    Hello,
    I am new to BPEL and especially to Oracle BPEL Process Manager. I have to write my diploma thesis about an BPEL-related topic an so I decided to try the Oracle BPEL PM.
    My OS is Win2K, we run Bea Weblogic 8.1.4 as an app server. I installed the BPEL PM and everything was fine. Then it crashed when starting up the Weblogic instance with an command line error "line too long". The error occured while building the environment variable SERVICES_CLASSPATH. I tried to adjust the paths in a way that they have minimum length, I maximised all parameters for cmd.exe in WINNT/_default.pif but nothing helped. Is there anybody out there who can help me? I would appreciate any help.
    Regards,
    Cosima Paul
    PS: We cannot switch the OS because our product that should use BPEL has to run on Win2K AND on Win XP.

    Me again.... ;o)
    strange thing: today I tried to install Oracle BPEL PM for JBoss and everything went fine. What a miracle! The only problem is: I can use this for evaluation purpose but we won't be able to take Oracle BPEL PM in production later on because we need to use Bea Weblogic. Anyway... perhaps the Weblogic problem can be solved the next months or we find another nice BPEL engine.
    Regards,
    Cosima

  • Errors after upgrading Bpel process manager

    Hi all,
    As said in the subject I recently upgraded to the latest version of the Bpel process manager. And it looks like some changes have been made ;-) My project does not compile/deploy anymore. See below the obant errors I got. Apparently, I should now add the ns prefixes in the bpel source ... could you confirm? What impact will that make on the queries?
    thanx,
    --mike
    Z:\smartdocument.bpel\src\LocalLoanIncSmartDocument>obant
    Z:\smartdocument.bpel\src\LocalLoanIncSmartDocument>SETLOCAL
    Buildfile: build.xml
    main:
    [bpelc] bpelc> validating "Z:\smartdocument.bpel\src\LocalLoanIncSmartDocument\LocalLoanIncSmartDocument.bpel" ...
    [bpelc] BPEL validation failed.
    [bpelc] BPEL source validation failed, the errors are:
    [bpelc]
    [bpelc] [Error ORABPEL-10057]: invalid query
    [bpelc] [Description]: in line 377 of "Z:\smartdocument.bpel\src\LocalLoanIncSmartDocument\LocalLoanIncSmartDocument.bpel", query "/input/userId"
    is invalid, because step ':userId' is not valid..
    [bpelc] [Potential fix]: Check the XML schema and make sure your query string is valid.
    [bpelc] [Error ORABPEL-10057]: invalid query
    [bpelc] [Description]: in line 382 of "Z:\smartdocument.bpel\src\LocalLoanIncSmartDocument\LocalLoanIncSmartDocument.bpel", query "/input/imageUR
    L" is invalid, because step ':imageURL' is not valid..
    [bpelc] [Potential fix]: Check the XML schema and make sure your query string is valid.
    [bpelc] [Error ORABPEL-10057]: invalid query
    [bpelc] [Description]: in line 404 of "Z:\smartdocument.bpel\src\LocalLoanIncSmartDocument\LocalLoanIncSmartDocument.bpel", query "/input/passwor
    d" is invalid, because step ':password' is not valid..
    [bpelc] [Potential fix]: Check the XML schema and make sure your query string is valid.
    [bpelc] [Error ORABPEL-10057]: invalid query
    [bpelc] [Description]: in line 747 of "Z:\smartdocument.bpel\src\LocalLoanIncSmartDocument\LocalLoanIncSmartDocument.bpel", query "/loanupdate/ex
    ecution/started" is invalid, because step ':execution' is not valid..
    [bpelc] [Potential fix]: Check the XML schema and make sure your query string is valid.
    [bpelc] [Error ORABPEL-10057]: invalid query
    [bpelc] [Description]: in line 752 of "Z:\smartdocument.bpel\src\LocalLoanIncSmartDocument\LocalLoanIncSmartDocument.bpel", query "/loanupdate/lo
    anAccountNumber" is invalid, because step ':loanAccountNumber' is not valid..
    [bpelc] [Potential fix]: Check the XML schema and make sure your query string is valid.
    [bpelc] [Error ORABPEL-10057]: invalid query
    [bpelc] [Description]: in line 757 of "Z:\smartdocument.bpel\src\LocalLoanIncSmartDocument\LocalLoanIncSmartDocument.bpel", query "/loanupdate/fo
    rmURL" is invalid, because step ':formURL' is not valid..
    [bpelc] [Potential fix]: Check the XML schema and make sure your query string is valid.
    [bpelc] [Error ORABPEL-10057]: invalid query
    [bpelc] [Description]: in line 767 of "Z:\smartdocument.bpel\src\LocalLoanIncSmartDocument\LocalLoanIncSmartDocument.bpel", query "/loanupdate/lo
    anAccountNumber" is invalid, because step ':loanAccountNumber' is not valid..
    [bpelc] [Potential fix]: Check the XML schema and make sure your query string is valid.
    [bpelc] [Error ORABPEL-10057]: invalid query
    [bpelc] [Description]: in line 772 of "Z:\smartdocument.bpel\src\LocalLoanIncSmartDocument\LocalLoanIncSmartDocument.bpel", query "/loanupdate/fo
    rmURL" is invalid, because step ':formURL' is not valid..
    [bpelc] [Potential fix]: Check the XML schema and make sure your query string is valid.
    [bpelc] [Error ORABPEL-10057]: invalid query
    [bpelc] [Description]: in line 782 of "Z:\smartdocument.bpel\src\LocalLoanIncSmartDocument\LocalLoanIncSmartDocument.bpel", query "/loanupdate/ex
    ecution/finished" is invalid, because step ':execution' is not valid..
    [bpelc] [Potential fix]: Check the XML schema and make sure your query string is valid.
    [bpelc] [Error ORABPEL-10057]: invalid query
    [bpelc] [Description]: in line 817 of "Z:\smartdocument.bpel\src\LocalLoanIncSmartDocument\LocalLoanIncSmartDocument.bpel", query "/input/emailRe
    cipient" is invalid, because step ':emailRecipient' is not valid..
    [bpelc] [Potential fix]: Check the XML schema and make sure your query string is valid.
    [bpelc] [Error ORABPEL-10057]: invalid query
    [bpelc] [Description]: in line 822 of "Z:\smartdocument.bpel\src\LocalLoanIncSmartDocument\LocalLoanIncSmartDocument.bpel", query "/input/emailRe
    cipient" is invalid, because step ':emailRecipient' is not valid..
    [bpelc] [Potential fix]: Check the XML schema and make sure your query string is valid.
    [bpelc] [Error ORABPEL-10057]: invalid query
    [bpelc] [Description]: in line 1127 of "Z:\smartdocument.bpel\src\LocalLoanIncSmartDocument\LocalLoanIncSmartDocument.bpel", query "/input/emailR
    ecipient" is invalid, because step ':emailRecipient' is not valid..
    [bpelc] [Potential fix]: Check the XML schema and make sure your query string is valid.
    Next is my bpel source:
    <!-- LocalLoanIncSmartDocument BPEL Process [Generated by the Oracle BPEL Designer] -->
    <process name="LocalLoanIncSmartDocument" targetNamespace="urn:SmartDocument" suppressJoinFailure="yes" xmlns:tns="urn:SmartDocument" xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:bpelx="http://schemas.oracle.com/bpel/extension" xmlns:ora="http://schemas.oracle.com/xpath/extension" xmlns:cx="http://schemas.collaxa.com/xpath/extension" xmlns:ns0="urn:ocr.services.smartdocument.xerox.com" xmlns:ns1="urn:email.services.smartdocument.xerox.com" xmlns:ns2="urn:categoriser.services.smartdocument.xerox.com" xmlns:ns3="urn:signature.services.smartdocument.xerox.com" xmlns:ns4="urn:LoanService" xmlns:ns5="urn:dataglyph.services.smartdocument.xerox.com" xmlns:ns6="urn:initiate.services.smartdocument.xerox.com" xmlns:ns7="urn:seal.services.smartdocument.xerox.com" xmlns:ns8="http://www.xerox.com/webservices/" xmlns:ns9="urn:store.services.smartdocument.xerox.com" xmlns:ns10="urn:factfinder.services.smartdocument.xerox.com" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:task="http://services.oracle.com/bpel/task">
         <!-- ================================================================= -->
         <!-- 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="tns:LocalLoanIncSmartDocument" myRole="LocalLoanIncSmartDocumentProvider" partnerRole="LocalLoanIncSmartDocumentRequester"/>
              <partnerLink name="SignatureService" partnerRole="SignatureProvider" partnerLinkType="ns3:SignatureLink"/>
              <partnerLink name="CategoriserService" partnerRole="CategoriserProvider" partnerLinkType="ns2:CategoriserLink"/>
              <partnerLink name="EmailService" partnerRole="EmailProvider" partnerLinkType="ns1:EmailLink"/>
              <partnerLink name="OCRService" partnerRole="OcrProvider" partnerLinkType="ns0:OcrLink"/>
              <partnerLink name="ValidateApplicationManager" partnerLinkType="task:TaskManager" partnerRole="TaskManager" myRole="TaskManagerRequester"/>
              <partnerLink name="DataglyphService" partnerRole="DataglyphProvider" partnerLinkType="ns5:DataglyphLink"/>
              <partnerLink name="LoanService" partnerRole="LoanServiceProvider" partnerLinkType="ns4:LoanServiceLink"/>
              <partnerLink name="InitiateService" partnerLinkType="ns6:InitiateLink" partnerRole="InitiateProvider"/>
              <partnerLink name="SealService" partnerLinkType="ns7:SealLink" partnerRole="SealProvider"/>
              <!-- CHANGE If on boss
              <partnerLink name="FactFinderService" partnerLinkType="ns8:FactFinderSoapLink" partnerRole="FactFinderSoapProvider"/>
    -->
              <!-- CHANGE If not on boss -->
              <partnerLink name="FactFinderService" partnerLinkType="ns10:FactFinderSoapLink" partnerRole="FactFinderSoapProvider"/>
              <!-- -->
              <partnerLink name="StoreService" partnerLinkType="ns9:StoreLink" partnerRole="StoreProvider"/>
         </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="input" messageType="tns:InputMessage"/>
              <!-- Reference to the message that will be sent back to the
    requester during callback
    -->
              <variable name="flowContents" messageType="tns:SmartDocumentMessage"/>
              <variable name="dataglyphKey" type="xsd:string"/>
              <variable name="inputSmartDocumentId" type="xsd:string"/>
              <variable name="inputDocumentId" type="xsd:string"/>
              <variable name="inputUrl" type="xsd:string"/>
              <variable name="serviceIdentifier" type="xsd:string"/>
              <variable name="runtimeFaultMessage" messageType="bpelx:RuntimeFaultMessage"/>
              <variable name="authId" type="xsd:string"/>
         </variables>
         <faultHandlers>
              <catch faultName="bpelx:bindingFault" faultVariable="runtimeFaultMessage">
                   <scope name="HandleBindingFault">
                        <variables>
                             <variable name="error" element="tns:error"/>
                        </variables>
                        <sequence>
                             <scope name="SetErrorMessage">
                                  <sequence>
                                       <assign name="prepareRecord">
                                            <copy>
                                                 <from variable="serviceIdentifier">
                                                 </from>
                                                 <to variable="error" query="/error/processStep"/>
                                            </copy>
                                            <copy>
                                                 <from expression="ora:getCurrentDateTime('yyyy-MM-dd hh:mm:ss z')">
                                                 </from>
                                                 <to variable="error" query="/error/occuredAt"/>
                                            </copy>
                                            <copy>
                                                 <from variable="runtimeFaultMessage" part="code">
                                                 </from>
                                                 <to variable="error" query="/error/errorCode"/>
                                            </copy>
                                            <copy>
                                                 <from variable="runtimeFaultMessage" part="summary">
                                                 </from>
                                                 <to variable="error" query="/error/errorSummary"/>
                                            </copy>
                                       </assign>
                                       <assign name="addToSmartDocument">
                                            <copy>
                                                 <from expression="ora:addChildNode(bpws:getVariableData('flowContents', 'document', '/smartdocument'), bpws:getVariableData('error'))">
                                                 </from>
                                                 <to variable="flowContents" part="document" query="/smartdocument"/>
                                            </copy>
                                       </assign>
                                  </sequence>
                             </scope>
                             <scope name="Seal">
                                  <variables>
                                       <variable name="seal" element="tns:seal"/>
                                       <variable name="sealInput" messageType="ns7:SealRequest"/>
                                       <variable name="sealOutput" messageType="ns7:SealResponse"/>
                                  </variables>
                                  <sequence>
                                       <assign name="prepareRecord">
                                            <copy>
                                                 <from expression="ora:getCurrentDateTime('yyyy-MM-dd hh:mm:ss z')">
                                                 </from>
                                                 <to variable="seal" query="/seal/execution/started"/>
                                            </copy>
                                            <copy>
                                                 <from variable="inputSmartDocumentId">
                                                 </from>
                                                 <to variable="seal" query="/seal/input/smartdocumentid"/>
                                            </copy>
                                            <copy>
                                                 <from variable="inputDocumentId">
                                                 </from>
                                                 <to variable="seal" query="/seal/input/documentid"/>
                                            </copy>
                                       </assign>
                                       <assign name="addtoSmartDocument">
                                            <copy>
                                                 <from expression="ora:addChildNode(bpws:getVariableData('flowContents', 'document', '/smartdocument'), bpws:getVariableData('seal'))">
                                                 </from>
                                                 <to variable="flowContents" part="document" query="/smartdocument"/>
                                            </copy>
                                       </assign>
                                       <assign name="setServiceInput">
                                            <copy>
                                                 <from variable="authId">
                                                 </from>
                                                 <to variable="sealInput" part="AuthId"/>
                                            </copy>
                                            <copy>
                                                 <from variable="seal" query="/seal/input/smartdocumentid">
                                                 </from>
                                                 <to variable="sealInput" part="SmartDocumentId"/>
                                            </copy>
                                            <copy>
                                                 <from expression="ora:getContentAsString(ora:getElement('flowContents', 'document', '/smartdocument'))">
                                                 </from>
                                                 <to variable="sealInput" part="XmlString"/>
                                            </copy>
                                       </assign>
                                       <invoke partnerLink="SealService" portType="ns7:Seal" operation="Seal" inputVariable="sealInput" outputVariable="sealOutput"/>
                                  </sequence>
                             </scope>
                        </sequence>
                   </scope>
              </catch>
              <catch faultName="bpelx:remoteFault" faultVariable="runtimeFaultMessage">
                   <scope name="HandleRemoteFault">
                        <variables>
                             <variable name="error" element="tns:error"/>
                        </variables>
                        <sequence>
                             <scope name="SetErrorMessage">
                                  <sequence>
                                       <assign name="prepareRecord">
                                            <copy>
                                                 <from variable="serviceIdentifier">
                                                 </from>
                                                 <to variable="error" query="/error/processStep"/>
                                            </copy>
                                            <copy>
                                                 <from expression="ora:getCurrentDateTime('yyyy-MM-dd hh:mm:ss z')">
                                                 </from>
                                                 <to variable="error" query="/error/occuredAt"/>
                                            </copy>
                                            <copy>
                                                 <from variable="runtimeFaultMessage" part="code">
                                                 </from>
                                                 <to variable="error" query="/error/errorCode"/>
                                            </copy>
                                            <copy>
                                                 <from variable="runtimeFaultMessage" part="summary">
                                                 </from>
                                                 <to variable="error" query="/error/errorSummary"/>
                                            </copy>
                                       </assign>
                                       <assign name="addToSmartDocument">
                                            <copy>
                                                 <from expression="ora:addChildNode(bpws:getVariableData('flowContents', 'document', '/smartdocument'), bpws:getVariableData('error'))">
                                                 </from>
                                                 <to variable="flowContents" part="document" query="/smartdocument"/>
                                            </copy>
                                       </assign>
                                  </sequence>
                             </scope>
                             <scope name="Seal">
                                  <variables>
                                       <variable name="seal" element="tns:seal"/>
                                       <variable name="sealInput" messageType="ns7:SealRequest"/>
                                       <variable name="sealOutput" messageType="ns7:SealResponse"/>
                                  </variables>
                                  <sequence>
                                       <assign name="prepareRecord">
                                            <copy>
                                                 <from expression="ora:getCurrentDateTime('yyyy-MM-dd hh:mm:ss z')">
                                                 </from>
                                                 <to variable="seal" query="/seal/execution/started"/>
                                            </copy>
                                            <copy>
                                                 <from variable="inputSmartDocumentId">
                                                 </from>
                                                 <to variable="seal" query="/seal/input/smartdocumentid"/>
                                            </copy>
                                            <copy>
                                                 <from variable="inputDocumentId">
                                                 </from>
                                                 <to variable="seal" query="/seal/input/documentid"/>
                                            </copy>
                                       </assign>
                                       <assign name="addtoSmartDocument">
                                            <copy>
                                                 <from expression="ora:addChildNode(bpws:getVariableData('flowContents', 'document', '/smartdocument'), bpws:getVariableData('seal'))">
                                                 </from>
                                                 <to variable="flowContents" part="document" query="/smartdocument"/>
                                            </copy>
                                       </assign>
                                       <assign name="setServiceInput">
                                            <copy>
                                                 <from variable="authId">
                                                 </from>
                                                 <to variable="sealInput" part="AuthId"/>
                                            </copy>
                                            <copy>
                                                 <from variable="seal" query="/seal/input/smartdocumentid">
                                                 </from>
                                                 <to variable="sealInput" part="SmartDocumentId"/>
                                            </copy>
                                            <copy>
                                                 <from expression="ora:getContentAsString(ora:getElement('flowContents', 'document', '/smartdocument'))">
                                                 </from>
                                                 <to variable="sealInput" part="XmlString"/>
                                            </copy>
                                       </assign>
                                       <invoke partnerLink="SealService" portType="ns7:Seal" operation="Seal" inputVariable="sealInput" outputVariable="sealOutput"/>
                                  </sequence>
                             </scope>
                        </sequence>
                   </scope>
              </catch>
              <catchAll>
                   <scope name="HandleGenericFault">
                        <variables>
                             <variable name="error" element="tns:error"/>
                        </variables>
                        <sequence>
                             <scope name="SetErrorMessage">
                                  <sequence>
                                       <assign name="prepareRecord">
                                            <copy>
                                                 <from variable="serviceIdentifier">
                                                 </from>
                                                 <to variable="error" query="/error/processStep"/>
                                            </copy>
                                            <copy>
                                                 <from expression="ora:getCurrentDateTime('yyyy-MM-dd hh:mm:ss z')">
                                                 </from>
                                                 <to variable="error" query="/error/occuredAt"/>
                                            </copy>
                                            <copy>
                                                 <from expression="'UNKNOWN ERROR CODE'">
                                                 </from>
                                                 <to variable="error" query="/error/errorCode"/>
                                            </copy>
                                            <copy>
                                                 <from expression="'UNKNOWN ERROR SUMMARY'">
                                                 </from>
                                                 <to variable="error" query="/error/errorSummary"/>
                                            </copy>
                                       </assign>
                                       <assign name="addToSmartDocument">
                                            <copy>
                                                 <from expression="ora:addChildNode(bpws:getVariableData('flowContents', 'document', '/smartdocument'), bpws:getVariableData('error'))">
                                                 </from>
                                                 <to variable="flowContents" part="document" query="/smartdocument"/>
                                            </copy>
                                       </assign>
                                  </sequence>
                             </scope>
                             <scope name="Seal">
                                  <variables>
                                       <variable name="seal" element="tns:seal"/>
                                       <variable name="sealInput" messageType="ns7:SealRequest"/>
                                       <variable name="sealOutput" messageType="ns7:SealResponse"/>
                                  </variables>
                                  <sequence>
                                       <assign name="prepareRecord">
                                            <copy>
                                                 <from expression="ora:getCurrentDateTime('yyyy-MM-dd hh:mm:ss z')">
                                                 </from>
                                                 <to variable="seal" query="/seal/execution/started"/>
                                            </copy>
                                            <copy>
                                                 <from variable="inputSmartDocumentId">
                                                 </from>
                                                 <to variable="seal" query="/seal/input/smartdocumentid"/>
                                            </copy>
                                            <copy>
                                                 <from variable="inputDocumentId">
                                                 </from>
                                                 <to variable="seal" query="/seal/input/documentid"/>
                                            </copy>
                                       </assign>
                                       <assign name="addtoSmartDocument">
                                            <copy>
                                                 <from expression="ora:addChildNode(bpws:getVariableData('flowContents', 'document', '/smartdocument'), bpws:getVariableData('seal'))">
                                                 </from>
                                                 <to variable="flowContents" part="document" query="/smartdocument"/>
                                            </copy>
                                       </assign>
                                       <assign name="setServiceInput">
                                            <copy>
                                                 <from variable="authId">
                                                 </from>
                                                 <to variable="sealInput" part="AuthId"/>
                                            </copy>
                                            <copy>
                                                 <from variable="seal" query="/seal/input/smartdocumentid">
                                                 </from>
                                                 <to variable="sealInput" part="SmartDocumentId"/>
                                            </copy>
                                            <copy>
                                                 <from expression="ora:getContentAsString(ora:getElement('flowContents', 'document', '/smartdocument'))">
                                                 </from>
                                                 <to variable="sealInput" part="XmlString"/>
                                            </copy>
                                       </assign>
                                       <invoke partnerLink="SealService" portType="ns7:Seal" operation="Seal" inputVariable="sealInput" outputVariable="sealOutput"/>
                                  </sequence>
                             </scope>
                        </sequence>
                   </scope>
              </catchAll>
         </faultHandlers>
         <!-- ================================================================= -->
         <!-- 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 LocalLoanIncSmartDocument.wsdl
    -->
              <receive name="receiveInput" partnerLink="client" portType="tns:LocalLoanIncSmartDocument" operation="initiate" variable="input" createInstance="yes"/>
              <assign name="InitialiseVariables">
                   <copy>
                        <from expression="'042e05a98cddac30e309f8'">
                        </from>
                        <to variable="dataglyphKey"/>
                   </copy>
                   <copy>
                        <from expression="'0'">
                        </from>
                        <to variable="inputSmartDocumentId"/>
                   </copy>
                   <copy>
                        <from expression="'0'">
                        </from>
                        <to variable="inputDocumentId"/>
                   </copy>
                   <copy>
                        <from expression="'Unknown service'">
                        </from>
                        <to variable="serviceIdentifier"/>
                   </copy>
              </assign>
              <scope name="Initiate">
                   <variables>
                        <variable name="initiate" element="tns:initiate"/>
                        <variable name="initiateInput" messageType="ns6:InitiateRequest"/>
                        <variable name="initiateOutput" messageType="ns6:InitiateResponse"/>
                   </variables>
                   <sequence>
                        <assign name="prepareRecord">
                             <copy>
                                  <from expression="ora:getCurrentDateTime('yyyy-MM-dd hh:mm:ss z')">
                                  </from>
                                  <to variable="initiate" query="/initiate/execution/started"/>
                             </copy>
                             <copy>
                                  <from variable="input" part="payload" query="/input/userId">
                                  </from>
                                  <to variable="initiate" query="/initiate/userid"/>
                             </copy>
                             <copy>
                                  <from variable="input" part="payload" query="/input/imageURL">
                                  </from>
                                  <to variable="initiate" query="/initiate/url"/>
                             </copy>
                             <copy>
                                  <from expression="string('LocalLoanIncSmartDocument')">
                                  </from>
                                  <to variable="initiate" query="/initiate/processName"/>
                             </copy>
                        </assign>
                        <assign name="setServiceInput">
                             <copy>
                                  <from expression="'Initiate'">
                                  </from>
                                  <to variable="serviceIdentifier"/>
                             </copy>
                             <copy>
                                  <from variable="initiate" query="/initiate/userid">
                                  </from>
                                  <to variable="initiateInput" part="Username"/>
                             </copy>
                             <copy>
                                  <from variable="input" part="payload" query="/input/password">
                                  </from>
                                  <to variable="initiateInput" part="Password"/>
                             </copy>
                             <copy>
                                  <from variable="initiate" query="/initiate/url">
                                  </from>
                                  <to variable="initiateInput" part="URL"/>
                             </copy>
                        </assign>
                        <invoke partnerLink="InitiateService" portType="ns6:Initiate" operation="Initiate" inputVariable="initiateInput" outputVariable="initiateOutput"/>
                        <assign name="updateScopeVariables">
                             <copy>
                                  <from variable="initiateOutput" part="Result" query="/Result/SmartDocumentId">
                                  </from>
                                  <to variable="inputSmartDocumentId"/>
                             </copy>
                             <copy>
                                  <from variable="initiateOutput" part="Result" query="/Result/DocumentId">
                                  </from>
                                  <to variable="inputDocumentId"/>
                             </copy>
                             <copy>
                                  <from variable="initiateOutput" part="Result" query="/Result/DocumentURL">
                                  </from>
                                  <to variable="inputUrl"/>
                             </copy>
                             <copy>
                                  <from variable="initiateOutput" part="Result" query="/Result/AuthId">
                                  </from>
                                  <to variable="authId"/>
                             </copy>
                        </assign>
                        <assign name="updateRecord">
                             <copy>
                                  <from variable="initiateOutput" part="Result" query="/Result/SmartDocumentId">
                                  </from>
                                  <to variable="initiate" query="/initiate/output/smartdocumentid"/>
                             </copy>
                             <copy>
                                  <from variable="initiateOutput" part="Result" query="/Result/DocumentId">
                                  </from>
                                  <to variable="initiate" query="/initiate/output/documentid"/>
                             </copy>
                             <copy>
                                  <from expression="ora:getCurrentDateTime('yyyy-MM-dd hh:mm:ss z')">
                                  </from>
                                  <to variable="initiate" query="/initiate/execution/finished"/>
                             </copy>
                        </assign>
                        <assign name="addToSmartDocument">
                             <copy>
                                  <from expression="ora:addChildNode(bpws:getVariableData('flowContents', 'document', '/smartdocument'), bpws:getVariableData('initiate'))">
                                  </from>
                                  <to variable="flowContents" part="document" query="/smartdocument"/>
                             </copy>
                        </assign>
                   </sequence>
              </scope>
              <scope name="DetectDataglyph">
                   <variables>
                        <variable name="glyphdetection" element="tns:glyphdetection"/>
                        <variable name="detectDataglyphInput" messageType="ns5:SmartDocumentDataglyphDetectRequest"/>
                        <variable name="detectDataglyphOutput" messageType="ns5:SmartDocumentDataglyphDetectResponse"/>
                   </variables>
                   <sequence>
                        <assign name="prepareRecord">
                             <copy>
                                  <from expression="ora:getCurrentDateTime('yyyy-MM-dd hh:mm:ss z')">
                                  </from>
                                  <to variable="glyphdetection" query="/glyphdetection/execution/started"/>
                             </copy>
                             <copy>
                                  <from variable="flowContents" part="document" query="/smartdocument/initiate/output/smartdocumentid">
                                  </from>
                                  <to variable="glyphdetection" query="/glyphdetection/input/smartdocumentid"/>
                             </copy>
                             <copy>
                                  <from variable="flowContents" part="document" query="/smartdocument/initiate/output/documentid">
                                  </from>
                                  <to variable="glyphdetection" query="/glyphdetection/input/documentid"/>
                             </copy>
                        </assign>
                        <assign name="setServiceInput">
                             <copy>
                                  <from expression="'GlyphDetection'">
                                  </from>
                                  <to variable="serviceIdentifier"/>
                             </copy>
                             <copy>
                                  <from variable="authId">
                                  </from>
                                  <to variable="detectDataglyphInput" part="AuthId"/>
                             </copy>
                             <copy>
                                  <from variable="dataglyphKey">
                                  </from>
                                  <to variable="detectDataglyphInput" part="Key"/>
                             </copy>
                             <copy>
                                  <from expression="5">
                                  </from>
                                  <to variable="detectDataglyphInput" part="MaxAngle"/>
                             </copy>
                             <copy>
                                  <from expression="128">
                                  </from>
                                  <to variable="detectDataglyphInput" part="Region"/>
                             </copy>
                             <copy>
                                  <from variable="glyphdetection" query="/glyphdetection/input/smartdocumentid">
                                  </from>
                                  <to variable="detectDataglyphInput" part="SmartDocumentId"/>
                             </copy>
                             <copy>
                                  <from variable="glyphdetection" query="/glyphdetection/input/documentid">
                                  </from>
                                  <to variable="detectDataglyphInput" part="DocumentId"/>
                             </copy>
                        </assign>
                        <invoke partnerLink="DataglyphService" portType="ns5:Dataglyph" operation="SmartDocumentDataglyphDetect" inputVariable="detectDataglyphInput" outputVariable="detectDataglyphOutput"/>
                        <assign name="updateRecord">
                             <copy>
                                  <from expression="string(boolean(bpws:getVariableData('detectDataglyphOutput', 'Result', '/Result/Result')&gt;500.0))">
                                  </from>
                                  <to variable="glyphdetection" query="/glyphdetection/detected"/>
                             </copy>
                             <copy>
                                  <from variable="detectDataglyphOutput" part="Result" query="/Result/SmartDocumentId">
                                  </from>
                                  <to variable="glyphdetection" query="/glyphdetection/output/smartdocumentid"/>
                             </copy>
                             <copy>
                                  <from variable="detectDataglyphOutput" part="Result" query="/Result/DocumentId">
                                  </from>
                                  <to variable="glyphdetection" query="/glyphdetection/output/documentid"/>
                             </copy>
                             <copy>
                                  <from expression="ora:getCurrentDateTime('yyyy-MM-dd hh:mm:ss z')">
                                  </from>
                                  <to variable="glyphdetection" query="/glyphdetection/execution/finished"/>
                             </copy>
                        </assign>
                        <assign name="addToSmartDocument">
                             <copy>
                                  <from expression="ora:addChildNode(bpws:getVariableData('flowContents', 'document', '/smartdocument'), bpws:getVariableData('glyphdetection'))">
                                  </from>
                                  <to variable="flowContents" part="document" query="/smartdocument"/>
                             </copy>
                        </assign>
                   </sequence>
              </scope>
              <switch name="DataglyphDetected">
                   <case condition="bpws:getVariableData('flowContents', 'document', '/smartdocument/glyphdetection/detected')='true'">
                        <sequence>
                             <scope name="Detected-ProcessAsForm">
                                  <sequence>
                                       <scope name="DetectSignature">
                                            <variables>
                                                 <variable name="signaturedetection" element="tns:signaturedetection"/>
                                                 <variable name="detectSignatureInput" messageType="ns3:SmartDocumentSignatureDetectRequest"/>
                                                 <variable name="detectSignatureOutput" messageType="ns3:SmartDocumentSignatureDetectResponse"/>
                                            </variables>
                                            <sequence>
                                                 <assign name="prepareRecord">
                                                      <copy>
                                                           <from expression="ora:getCurrentDateTime('yyyy-MM-dd hh:mm:ss z')">
                                                           </from>
                                                           <to variable="signaturedetection" query="/signaturedetection/execution/started"/>
                                                      </copy>
                                                      <copy>
                                                           <from variable="flowContents" part="document" query="/smartdocument/glyphdetection/output/smartdocumentid">
                                                           </from>
                                                           <to variable="signaturedetection" query="/signaturedetection/input/smartdocumentid"/>
                                                      </copy>
                                                      <copy>
                                                           <from variable="flowContents" part="document" query="/smartdocument/glyphdetection/output/documentid">
       

    Hi all,
    I modified the bpel so that it could compile by letting the designer add prefixes where it needed some. Then I deployed the process and tested it. Unfortunately ;-( See below the error log. It looks like the newly added prefixes are source of troubles ...
    Any ideas?
    --mike
    [2005/04/29 11:06:12] Error in <assign> expression: <to> value is empty at line "375". The XPath expression : "/tns:input/tns:userId" returns zero node, when applied to document shown below: Less
    <input xmlns="urn:SmartDocument" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <userId xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">mniemaz</userId>
    <password xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">mniemaz</password>
    <imageURL xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">http://pic-charvet.xrce.xeroxlabs.com:8080/smartdocument.demo/data/tiff/loanrequest1.tiff</imageURL>
    <emailRecipient xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">[email protected]</emailRecipient>
    <formOutput xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">file.pdf</formOutput>
    </input>
    [2005/04/29 11:06:12] "{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure" has been thrown. Less
    <selectionFailure xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
    <part name="summary">empty variable/expression result. xpath variable/expression expression "/tns:input/tns:userId" is empty at line 375, when attempting reading/copying it. Please make sure the variable/expression result "/tns:input/tns:userId" is not empty.</part>
    </selectionFailure>

  • Bpel process manager server failed thru JDEV-10.1.3.4

    All,
    soa Version: 10.1.3.4
    I created application server successfully, but when i try to create integration server from jdev I got the error as bpel process manager server failed. I checked my DB is up, as some blog says hw_services should be up(i made it up), but still I couldn't create the integration server!!
    What could be the other issues?
    thanks
    sen

    Hi',
    When you are making the Integration server connection in Jdev, in step 2 use port 80, it is by default 8080, this worked for me before, give it a try.
    -Yatan

  • Cannot find new_domain in BPEL Process Manager

    Hi Friends,
    I have upgraded the patch of oracle soa suite 10.1.3.1 to 10.1.3.4 ....I followed the procedure , i ran the scripts, installation was successful. but when i open my bpel process manager i dont find any change the GUI is not different...i have seen screenshots of 10.1.3.4 bpel pm they are different and it has an option jump to dropdown menu where it has default and new_domain menu items but i cant find them...
    can anyone please tell me what should do in order to get the option of creating new_domain...
    it would be very thankful....
    Thanks
    Bargo

    Hi James
    Thanks for the repiles...
    i got the problem solved of activities tab in BPEL PM console.
    but when my friend installed patch 10.1.3.4 , everything is same but the change was in bpel process manager console and he has seperate web page for bpel admin user console and in bpel console he has an option to create new_domain
    but when i installed i got extra configurations and administrator tab
    what mistakes did i do? i followed all the instructions and i run the scripts
    why am i not getting the new features of bpel process manager
    please try to solve this problem...if this problem persists the same , will i dont get any errors while depolying bpel processes
    actually i want to do orderbooking tutorial...please let me know
    thanks in advance
    bhargo

  • Diff Between Oracle BPM Studio and Oracle BPEL Process Manager

    1)What is the difference between Oracle BPM Studio and Oracle BPEL Process Manager?
    2)What is the connection between Oracle BPM Studio and Oracle BPEL Process Manager?

    Hi,
    As of today you should install SOA Suite 11g
    Fr this you will need to install Database (for development you can use XE)
    Run RCU utility to crete DB schemas for SOA Suite.
    Install Weblogic server
    Install SOA Suite as an option to Weblogic
    Create SOA Domain.
    It is physically possible to do it in 2GB but is far better on 3 - 4GB
    You can consider installing DB on different machine.
    Adam

  • Can I use Oracle BPEL process manager with other AS and DB

    Can we user oracle bpel process manager with jboss application server and postgresql database.. is it possible..
    and what will be the price.. per licencse when i go to just purchase Oracle BPEL process manager

    MAke sure you have not set ANY environment variable related to Oracle / BEA / Java / LD_library path. Use the following script to unset / set the initial settings:
    #!/bin/sh
    unset ORACLE_BASE ORACLE_HOME ORACLE_SID ORACLE_TERM
    unset LD_LIBRARY_PATH LD_LIBRARY_PATH_64
    unset CLASSPATH JAVA_HOME
    export PATH=.:/usr/sbin:/usr/bin:/usr/local/bin:/opt/VRTS/bin
    export BEA_HOME=/appl/oracle/products/9.2/weblogic
    Marc
    http://orasoa.blogspot.com

  • How to enable https in Oracle BPEL Process Manager 10.1.2

    Hi,
    I have a few security related questions surrounding BPEL process manager.
    1. Does the BPEL engine have the capability to invoke a web service using https (HTTP over SSL)? Does it automatically do that if partner link URI starts with https:// ?
    2. If not, what needs to be done to enable accessing a https based web service?
    Thanks,
    Vidya

    Eric,
    I had applied the steps specified in the URL and modified the files default-web-site.xml, secure-web-site.xml and server.xml in directory Ora_Home\j2ee\home\config. Able to invoke the application deployed in Ora_Home\j2ee\home\applications successfully using https.
    For securing BPEL process I had followed the same steps by modifying files default-web-site.xml, secure-web-site.xml and server.xml in directory Ora_Home\j2ee\OC4J_BPEL\config. While invoking the BPEL Processes using https protocol I am facing error “HTTP 500 - Internal server error”, after the security alert popup.
    Do I need to do any other configurations for securing BPEL processes deployed in Ora_Home\integration\orabpel\domains\default\deploy directory?
    Please assist me on this.
    Thanks,
    Vidya

Maybe you are looking for