Including BPEL processes in another

Hello is there a way to modularize a BPEL process so it can be reused by another BPEL process when developing. For example, a process which uses a partnerLink to salesforce. The process is always the same: assign login parameters, login, assign headers and endpoint. Instead of doing this for every BPEL process it would be better to have a library of these components that can be included in a BPEL process. I have not seen anything in the documentation, can this be achieved? The only thing close I saw was templates, but that is not quite what I am looking for.
Thanks,
Jim

This is what a Service Bus is all about, it abstracts all this information from the process at hand, so if the consumer or the producer change their definitions you only need to change the Service Bus and this is in one location.
What you would do is create a Service Bus definition which consumes the service and applies all the generic information, Oracle has 2 Service Buses, Oracle Service Bus (recommended, but requires new install as it come from BEA), or Oracle ESB, which is part of SOA Suite.
There is also nothing stopping you creating this functionality in a BPEL process either.
cheers
James

Similar Messages

  • Trying to throw fault from one BPEL process to another

    We are trying to throw a fault from one BPEL process to another and apparently are experiencing a common problem. That is, the invoking process times out and never receives the fault.
    Likely a beginner's mistake is at fault (pun intended).
    Below are samples of a simple "Hello World" process that tries to throw the fault.
    snippet of pbel file....
    <process name="HelloJavaWorldSynchronous"
    targetNamespace="http://xmlns.oracle.com/HelloJavaWorldSynchronous"
    xmlns="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:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:ns1="http://helloworldjavaproject/"
    xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:client="http://xmlns.oracle.com/HelloJavaWorldSynchronous"
    xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc">
    <faultHandlers>
    <catchAll>
    <sequence name="Sequence_1">
    <assign name="Assign_3">
    <copy>
    <from expression="12345"/>
    <to variable="FaultVar" part="code"/>
    </copy>
    <copy>
    <from expression="'Hello fault summary'"/>
    <to variable="FaultVar" part="summary"/>
    </copy>
    <copy>
    <from expression="'Hello test detail'"/>
    <to variable="FaultVar" part="detail"/>
    </copy>
    </assign>
    <throw name="Throw_2" faultName="client:myFault"
    faultVariable="FaultVar"/>
    </sequence>
    HelloJavaWorldSynchronous.wsdl file
    <definitions
    name="HelloJavaWorldSynchronous"
    targetNamespace="http://xmlns.oracle.com/HelloJavaWorldSynchronous"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:ns1="http://schemas.oracle.com/bpel/extension"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:client="http://xmlns.oracle.com/HelloJavaWorldSynchronous"
    >
    <import namespace="http://schemas.oracle.com/bpel/extension" location="RuntimeFault.wsdl";/>
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://xmlns.oracle.com/HelloJavaWorldSynchronous" schemaLocation="HelloJavaWorldSynchronous.xsd";/>
    </schema>
    </types>
    <message name="HelloJavaWorldSynchronousRequestMessage">
    <part name="payload" element="client:HelloJavaWorldSynchronousProcessRequest"/>
    </message>
    <message name="HelloJavaWorldSynchronousResponseMessage">
    <part name="payload" element="client:HelloJavaWorldSynchronousProcessResponse"/>
    </message>
    <portType name="HelloJavaWorldSynchronous">
    <operation name="process">
    <input message="client:HelloJavaWorldSynchronousRequestMessage"/>
    <output message="client:HelloJavaWorldSynchronousResponseMessage"/>
    <fault name="myFault" message="ns1:RuntimeFaultMessage"/>
    </operation>
    </portType>
    <plnk:partnerLinkType name="HelloJavaWorldSynchronous">
    <plnk:role name="HelloJavaWorldSynchronousProvider">
    <plnk:portType name="client:HelloJavaWorldSynchronous"/>
    </plnk:role>
    </plnk:partnerLinkType>
    </definitions>
    The standard RuntimeFault.wsdl file (RuntimeFaultMessage message is defined in here, so I don't need a message in HelloJavaWorldSynchronous.wsdl. Do I?)
    <?xml version="1.0"; encoding="UTF-8"?>
    <definitions name="RuntimeFault"
    targetNamespace="http://schemas.oracle.com/bpel/extension"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="http://schemas.xmlsoap.org/wsdl/">
    <message name="RuntimeFaultMessage">
    <part name="code" type="xsd:string"/>
    <part name="summary" type="xsd:string"/>
    <part name="detail" type="xsd:string"/>
    </message>
    </definitions>
    But when we invoke the process, after the standard 45 seconds timeout, we still get...
    <Faulthttp://schemas.xmlsoap.org/soap/envelope/>
    <faultcode>env:Server</faultcode>
    <faultstring>com.oracle.bpel.client.delivery.ReceiveTimeOutException: Waiting for response has timed out. The conversation id is f290d62d2ad31aa6:-49eb76f4:124eb51622a:-7c91. Please check the process instance for detail.</faultstring>
    </Fault>
    The console audit below might hold a clue. I noticed the mesage BPELFault" has not been caught by a catch block at the end.
    <catchAll>
    <sequence>
    Assign_3
    [2009/11/13 11:18:32] Updated variable "FaultVar" More...
    -<FaultVar>
    -<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="code">
    <code xmlns="" xmlns:def="http://www.w3.org/2001/XMLSchema" xsi:type="def:string" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">12345
    </code>
    </part>
    -<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="summary">
    <summary xmlns="" xmlns:def="http://www.w3.org/2001/XMLSchema" xsi:type="def:string" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
    </part>
    -<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="detail">
    <detail xmlns="" xmlns:def="http://www.w3.org/2001/XMLSchema" xsi:type="def:string" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
    </part>
    </FaultVar>
    [2009/11/13 11:18:32] Updated variable "FaultVar" More...
    -<FaultVar>
    -<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="code">
    <code xmlns="" xmlns:def="http://www.w3.org/2001/XMLSchema" xsi:type="def:string" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">12345
    </code>
    </part>
    -<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="summary">
    <summary xmlns="" xmlns:def="http://www.w3.org/2001/XMLSchema" xsi:type="def:string" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">Hello fault summary
    </summary>
    </part>
    -<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="detail">
    <detail xmlns="" xmlns:def="http://www.w3.org/2001/XMLSchema" xsi:type="def:string" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
    </part>
    </FaultVar>
    [2009/11/13 11:18:32] Updated variable "FaultVar" More...
    -<FaultVar>
    -<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="code">
    <code xmlns="" xmlns:def="http://www.w3.org/2001/XMLSchema" xsi:type="def:string" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">12345
    </code>
    </part>
    -<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="summary">
    <summary xmlns="" xmlns:def="http://www.w3.org/2001/XMLSchema" xsi:type="def:string" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">Hello fault summary
    </summary>
    </part>
    -<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="detail">
    <detail xmlns="" xmlns:def="http://www.w3.org/2001/XMLSchema" xsi:type="def:string" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">Hello test detail
    </detail>
    </part>
    </FaultVar>
    Throw_2 (faulted)
    [2009/11/13 11:18:32] "{http://xmlns.oracle.com/HelloJavaWorldSynchronous}myFault" has been thrown. More...
    -<myFault xmlns="http://xmlns.oracle.com/HelloJavaWorldSynchronous">
    -<part name="code">
    <code xmlns="" xmlns:def="http://www.w3.org/2001/XMLSchema" xsi:type="def:string" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">12345
    </code>
    </part>
    -<part name="summary">
    <summary xmlns="" xmlns:def="http://www.w3.org/2001/XMLSchema" xsi:type="def:string" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">Hello fault summary
    </summary>
    </part>
    -<part name="detail">
    <detail xmlns="" xmlns:def="http://www.w3.org/2001/XMLSchema" xsi:type="def:string" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">Hello test detail
    </detail>
    </part>
    </myFault>
    </sequence>
    </catchAll>
    [2009/11/13 11:18:32] "BPELFault" has not been caught by a catch block.
    [2009/11/13 11:18:32] BPEL process instance "570162" cancelled

    Thanks very much for this answer. It was right on.
    You wanted to know "how (I) get on". Funny you should ask. Believe it or not, I had figured out the problem on my own just about the time you were posting your reply (of course, this is a bit too convenient. No one will ever believe me).
    But the answer leads to another question. What is the Throw activity for, if not to throw an error to the calling process? Is it only used to throw within scope of the process its self?
    I am probably biased by the Java world I am coming from, but Throw feels like it should terminate the process (without side effects like a big red mark in the console) bubble up the fault to the calling process who can catch it (if so desired). Using the reply we must explicitly Terminate (which includes that unsightly red mark).
    Is there any way to get this behavior from the Throw, or should we just reprogram the "wetware" and learn a new paradigm?
    Is there any way to end a process without marking it with a red flag that suggests something went wrong?

  • How to call a bpel process in another

    can anyone tell me how to call a bpel process in another bpel process?
    thanks in advance.

    Hi-
    this might help
    Re: Call a BPEL process from another BPEL process
    Let us know if you need any more info..

  • Invoking bpel process from another bpel process in same app server

    Hi,
    When I invoke a bpel process from another bpel process in the same oracle AS
    1. Is it a SOAP call or is there any optimization?
    2. If there is some optimization where can I configure this?
    3. Is there any similar optimizations if I invoke a bpel process from a
    java application deployed in the same server? If so can you please provide
    a sample?
    Thanks for your help
    Raj

    By default the BPEL 10.1.2, it will do a local call to the process. It will not execute a SOAP request, no network access is done.
    It can be configured at domain level:
    Parameter: optSoapShortcut (SOAP local optimization)
    Turns on "short-cut" for local SOAP request; local SOAP calls are normally done via an internal call instead of sending a message through the SOAP stack.
    The default behavior for the engine is to optimize all. To disable optimization specify a value other than "true" or "yes".

  • BPEL process deployment

    What is required to deploy a BPEL process on another machine (or oracle home)?
    Here is my current list in order, let me know if there is anything additional or if there are any short cuts/wizards to make doing this easier. Also if you don’t need to be able to recompile the program, are any of the steps (b – e) not needed / changed if you just copy over and manually deploy the jar file?
    a) Copy the workspace folder to the new machine/oracle home and then add it to the application navigator.
    b) Re-add or copy entries in the email/JMS/FTP adapter config files.
    c) Re-add task users. (Can there entries be copied from one file to the other?)
    d) Make sure all referenced local folders exist and are accessible.
    e) Make sure all referenced BPEL processes are deployed.
    This includes the User task services, they seem to be deployed when a user task is added but not when a BPEL process they include is deployed in a new environment.
    f) Compile/deploy the process.
    Thanks,
    Craig

    Hi Craig -
    Your list of steps will certainly work. However, as you suggest, you don't need to recompile the BPEL process on the new machine. You can just copy the jar (what we call the "BPEL suitcase" that is created when you compile the BPEL process. For more information on this, and the different mechanisms for deploying BPEL suitcases, see the technote at:
    http://www.oracle.com/technology/products/ias/bpel/htdocs/orabpel_technotes.tn002.html
    Regarding the user task services, these should just "do the right thing". If you are finding that you deploy a process to a new domain that uses the task service and the task service itself is not automatically deployed by the server, send us the steps to reproduce - this would be a bug (though your workaround of manually deploying the task service would be fine in the meantime).
    Beyond that, there are a few best practices that we have which may eliminate steps (c) and (d) in your list (task users and referenced local folders). We would recommend avoiding local folder references that go outside of the BPEL suitcase when possible and using URL references for things like XSDs. This way you can have a central repository that is available from all the pertinent servers.
    Alternatively, you can include the necessary files with your process in a higher level directory and have an Ant build.xml which copies them to the appropriate locations. We try to do this with our samples, so that there is a single directory (typically called xxxDemo, e.g. LoanFlowDemo) that has a master build.xml that builds all the sub-directories (which typically include a BPEL process, xxxFlow, a UI, dependent services, etc). See the samples in the orabpel\samples\demos directory for several examples of this approach that you may be able to leverage.
    Finally, regarding task users, I'm not sure if there is a simple mechanism for copying them over with our default developer install authentication. I'll check on this however - the question makes sense and we should both make this possible and ship an example where the appropriate users are created as part of the umbrella build.xml for a project. I suspect this will require a simple SQL script, but again I'll check. However, in many cases, again the best practice would be to use an LDAP or similar, globally accessible directory. Then any deployments which have access to the directory service would not require this additional step.
    Let me know if any of this doesn't make sense.
    Dave
    David Shaffer
    Dir Product Mgmt, Oracle BPEL Process Mgr
    [email protected]
    W: 650.506.1729
    http://otn.oracle.com/bpel

  • Which version of BPEL Process Manager should I use for Windows 7

    As the one which I downloaded doesn't work.
    [http://www.oracle.com/technology/software/products/ias/bpel/index.html |Windows |Download      soa_windows_x86_bpel_101310.zip (356,697,295 bytes) ]
    I have installed SOA Suite,
    SOA Suite (11.1.1.2.0)
    More Info
    Generic : 1.7 GB
    DownloadDisk1
    Works on all platforms
    AIX5L: 1.7 MB
    DownloadDisk1      
    Included:
    * BPEL Process Manager
    * Human Workflow
    * Business Rules
    * Business Activity Monitoring
    * Mediator
    * B2B
    * Web Services Manager
    * User Messaging Service
    * Enterprise Manager Fusion Middleware Control
         Required Additional Software:
    * WebLogic Server
    * Repository Creation Utility
    * Oracle Database
    * JDeveloper
    * Patch Scripts
    Optional Software:
    * B2B Document Editor
    * Identity Management
    * Access Manager
    * Service Registry
    * SSO Metadata Repository Creation Assistant
    * Web Tier Utilities
         SOA Suite (11.1.1.3.0)
    Business Process Management (11.1.1.3.0)
    More Info
    Generic : 1.9 GB
    DownloadDisk1
    Works on all platforms
    Error of log is as follows,
    Checking installer requirements...
    Checking operating system version: must be 5.0, 5.1 or 5.2. Actual 6.1
    Failed <<<<
    I fear that I may need to remove Windows 7!!:(
    Any pointers?
    Thank you for your help.
    Edited by: user9284468 on 28-May-2010 06:45

    Thanks man, I was wondering that I can't install and run BPEL Process manager on windows 7 but now i have started hoping!:)
    I am getting this error right at first stage, that when you click on setup.exe I get the message which I pasted in my original message.
    I am using bpel process manager for windows 10.1.3.1.0 and SOA Suite 11g(baseline 11.1.2.0) + patch set 11.1.3.0
    Please let me know how i can proceed with installation.
    Thank you.

  • INVOKING BPEL PROCESS PORTAL 10.1.4 + SOA SUITE 10.1.3.1

    Hi,
    Did anyone try to invoke BPEL Process / ESB service from portal 10.1.4 while using Soa Suite 10.1.3.1 with omniportlet? I tried that but when i point to WSDL it says that there are no methods in WSDL or that there is no endpoint. I dont believe any of these are true, cause i wrapped BPEL process in another BPEL Process and invocation was seamless.
    thanks,
    Chris.

    Its not certified, you need to install on 9.2.
    I believe this will be delivered in 10.1.3.5 which should be out before 1 June.
    cheers
    James

  • Issue calling BPEL process in other domains

    I just moved my code from the development environment to test and I found an issue where the BPEL processes can't call one another if they reside in a different domain. There's no issue in calling a BPEL process from another BPEL process if they are in the same domain, but it just doesn't work if they are in different domains. The odd thing is that I'm not getting any errors either. I looked at the BPEL admin and everything seems to be consistent with what's in the development environment where everything works, so is there somewhere else I should look? thanks in advance.

    Are your domain names in lower case? There are several problems when using domain names which contain uppercase letters.
    Andre

  • Problem invoking BPEL process via SOAP

    Hi,
    I have a BPEL process which runs perfectly when invoked from the BPEL console. Now I try to invoke the BPEL process from another (Java) program and get some strange error message in the client. After enabling debug logging I can see a NullPointerException in the BPEL server log (it's Oracle BPEL server 2.1.2 build 1226).
    Here the output from the console:
    15:21:40,088 INFO [STDOUT] <2006-03-24 15:21:40,088> <DEBUG> <default.collaxa.cube.ws> <CXSOAPProvider::processBPELMessage> soapAction:
    15:21:40,088 INFO [STDOUT] <2006-03-24 15:21:40,088> <DEBUG> <default.collaxa.cube.engine.deployment> <BPELArchive::unpack> Unpacking process 'Customer_Status', revision '1.0' from BPEL archive 'bpel_Customer_Status_1.0.jar'
    15:21:40,098 INFO [STDOUT] <2006-03-24 15:21:40,098> <DEBUG> <default.collaxa.cube.engine.deployment> <BPELArchive::unpack> Extracted archive up-to-date
    15:21:40,158 INFO [STDOUT] <2006-03-24 15:21:40,158> <DEBUG> <default.collaxa.cube.engine.deployment> <CubeProcessFactory::create> Creating process 'Customer_Status' (revision '1.0')
    15:21:40,579 INFO [STDOUT] <2006-03-24 15:21:40,579> <DEBUG> <default.collaxa.cube.engine.deployment> <CubeProcessFactory::create> Done creating process 'Customer_Status' (revision '1.0')
    15:21:40,589 INFO [STDOUT] <2006-03-24 15:21:40,579> <DEBUG> <default.collaxa.cube.ws> <WSDLManager::clear> Clearing WSDL cache for process Customer_Status1.0
    15:21:40,619 INFO [STDOUT] <2006-03-24 15:21:40,619> <DEBUG> <default.collaxa.cube.ws> loaded custom WSDL Extension oracle.tip.adapter.fw.wsif.jca.JCAExtensionRegistry
    15:21:40,619 INFO [STDOUT] <2006-03-24 15:21:40,619> <DEBUG> <default.collaxa.cube.ws> loaded custom WSDL Extension oracle.tip.adapter.fw.wsif.jca.PCExtensionRegistry
    15:21:40,709 INFO [STDOUT] <2006-03-24 15:21:40,709> <DEBUG> <default.collaxa.cube.ws> <WSDLManager::getWSDL> registered wsdl at http://HAL9000:9700/orabpel/default/Customer_Status/1.0/Customer_Status.wsdl
    15:21:40,709 INFO [STDOUT] <2006-03-24 15:21:40,709> <DEBUG> <default.collaxa.cube.ws> <WSDLManager::getWSDL> got wsdl at: http://HAL9000:9700/orabpel/default/Customer_Status/1.0/Customer_Status.wsdl
    15:21:40,709 INFO [STDOUT] <2006-03-24 15:21:40,709> <DEBUG> <default.collaxa.cube.ws> <CXSOAPProvider::invoke> Error when process incoming message
    java.lang.NullPointerException
    at com.collaxa.cube.ws.soap.providers.CXSOAPProvider.processBPELMessage(CXSOAPProvider.java:209)
    at com.collaxa.cube.ws.soap.providers.CXSOAPProvider.invoke(CXSOAPProvider.java:114)
    at orabpel.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
    at orabpel.apache.axis.SimpleChain.doVisiting(SimpleChain.java:152)
    at orabpel.apache.axis.SimpleChain.invoke(SimpleChain.java:122)
    at orabpel.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:437)
    at orabpel.apache.axis.server.AxisServer.invoke(AxisServer.java:315)
    at orabpel.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:698)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at orabpel.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:335)
    Any suggestion?
    Thanks in advance...

    This sounds very similar to how my BPEL process behaves. I'm unable to post XML input into the "XML Source" region of the initiate screen unless the input is properly wrapped in the respective message type element.
    Make sure your invoking client code is wrapping the input properly with the message type XML elements.

  • Invoking an EMail Notification service from another BPEL process(Service)

    Hi Everyone,
    I have a scenario, where i need to call my email notification service in to another bpel process(for FTPPut). Now i tried to use the email service in the FTP Put process, in the failure condition, the instance is in "Running" state forever. If i tried to run the email service individually its working fine. And if i observe the Audit Trail, i found the process went up to the client of the email service and then onwards its not able to initiate the email activity.
    I guess the way i provide the inputs,(to, subject and body) is making something difficult for the service to complete. I am sending the body and the subject inputs from the FTP put process and giving the to variable as default.
    As my email service is an one way operation, may be due to that even after I wait for long time the instance of the FTP process says running(in running) otherwise it would have thrown an timeout exception or something...
    Can any one shed your thoughts around this scenario...
    Thanks in advance..

    It really comes down to the proxy service on the OSB. Is it invoked by a WSDL? If so you should be able to take the endpoint defined in the proxy service messaging configuration and use that URL. You also need to use the sb transport type.
    Can you also post the blog you used, then we can put it into context.
    also have a look at this link.
    http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/bpelpmtransport/transport.html#wp1116011
    cheers
    James

  • File adapter unable to read file, can it call another BPEL process

    hi'
    I have a XML file to read and I am able to read it by using a File adapter, if the read is success the file is moved to success directory and if the file is invalid its going in the fail directory, now the question is If the file read is not valid at that moment can another BPEL process be invoked, becasue if the file read is invalid then the BPEL process dosent gets initiated due to which I am unable to do anything.
    please advice
    thanks
    Yatan

    Hi,
    You can use file rejection handler which can invoke a user defined BPEL process in case of invalid file. Check :
    http://www.oracle.com/technology/products/integration/adapters/pdf/Adapter_TN_004_Adapter_ErrorManagement.pdf
    HTH,
    Ketan

  • Problem in invoking TaskMAnager from another BPEL process

    Hi,
    I have created a BPEL process having its own xsd schema file and i have also imported Task.xsd.In this process i want to invoke TaskManager Service in java Embed activity(bpel:exec language="java") in following manner:
    /////////////////////////////////////////////////CODE////////////////////////////////////////////////
    Task task = TaskFactory.createFacade(new QName("http://services.oracle.com/bpel/task", "task"));
    task.setTitle("Task Title");
    task.setCreator("ProcessManager...");
    task.setAssignee("assignee");
    task.setPriority(3);
    NormalizedMessage nm = new NormalizedMessage();
    nm.addPart("payload",task.getRootElement());
    Locator locator = new Locator("default","bpel");
    IDeliveryService deliveryService = (IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME );
    deliveryService.post("TaskManager", "initiateTask", nm );
    ////////////////////////////////////CODE////////////////////////////////////////////////////////
    It creates the instance of taskmanager but following error occur in its initiate task.
    //////////////////////////////////ERROR/////////////////////////////////////////////////////////////
    <IntiateFault xmlns="http://services.oracle.com/bpel/task">
    <part name="summary">
    <summary>Cannot update task. The process domain was unable to insert the data for task "LocalGUID:c568752ccc493590:148662:1089e600035:-7fd4" in the datasource. The exception reported is: [POL-5134] invalid host variable type Please check that the machine hosting the datasource is physically connected to the network. Otherwise, check that the datasource connection parameters (user/password) is currently valid. sql statement: INSERT INTO task( domain_ref, conversation_id, title, creation_date, creator, modify_date, modifier, assignee, status, expired, exp_date, priority, template, custom_key, conclusion ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )</summary>
    </part>
    </IntiateFault>
    //////////////////////////////////ERROR/////////////////////////////////////////////////////////////
    Thanks
    Nancy

    By default the BPEL 10.1.2, it will do a local call to the process. It will not execute a SOAP request, no network access is done.
    It can be configured at domain level:
    Parameter: optSoapShortcut (SOAP local optimization)
    Turns on "short-cut" for local SOAP request; local SOAP calls are normally done via an internal call instead of sending a message through the SOAP stack.
    The default behavior for the engine is to optimize all. To disable optimization specify a value other than "true" or "yes".

  • Pointing deployed BPEL process to call different version of another BPEL

    Hi All,
    I have deployed BPEL x calls BPEL y( version 1.0)
    Now I wanted to point BPEL x to BPEL y (version 2.0) and this should happen with out redeploying BPEL x
    I am okay to bounce server .
    Is there any solution ?
    Thansk,
    Praveen

    Guys why are you not understanding his question. I think he wrote quite clearly.
    He has 3 BPEL process deployed in version 1.0
    and
    have 2/3 BPEL deployed in version 2.0
    now what he wants is BEPL process with version 10.0 should always call 1.0 and the one with 2.0 always call 2.0. IS that too difficult to understand???
    Praven what i suggest as alternate for time till you get actual solution being is
    1. In version 2.0 before you deploy hard code partner links with version 2.0
    2. Deploy bpel with version 2.0
    3. Go and set version 1.0 of all bpel as default
    now since 1.0 are all default 1.0 will call 1.0
    in 2.0 since you hardcoded partnerlinks it will call 2.0
    in future don't mess thnsg up :)) and use dynamic binding.

  • Cannot deploy BPEL Process from Jdeveloper

    Hello,
    I am using JDeveloper 10.1.3.2 on my laptop.
    I have Oracle SOA Suite 10.1.3 deployed and running on my laptop as well (port 8888) (running MS Vista).
    Some background:
    I can access my app server at http://127.0.0.1:8888, http://localhost:8888, http://toral-pc:8888 using browser with no problems at all.
    However, when I try to deploy a business process (using ant on build.xml) from JDeveloper I get the following error:
    BUILD FAILED
    C:\product\10.1.3.1\OracleAS_1\j2ee\home\SalesforceIntegration\LoginToSalesforce\build.xml:79: A problem occurred while establishing a connection to the BPEL Server.
    Please make sure the server is running on host "127.0.0.1", port "8888".
    I have turned off any firewalls and also my hosts file includes a line for 127.0.0.1 localhost.
    I am at a loss as to why JDeveloper thinks the BPEL server is not running on 127.0.0.1:8888 when I know it is and I can using the BPEL Server GUI to deploy the Business Process jar just fine.
    Please Help.
    Thank you Much !
    Regards,
    Toral Kale

    well am facing the same problem ... but i don't know if this is the problem .. but i copied the from project from another pc , jdeveloper versions are the same
    the following is the error am facing when i try to deploy
    "Buildfile: C:\ApprovalApplication\BPELProcess1\build.xml
    pre-build:
    validateTask:
    [echo]
    | Validating workflow
    [validateTask] url is file:/C:/jdev10131/integration/bpm/support/files/WorkflowTaskDefinition.xsd
    [validateTask] Validation of workflow task definitions is completed without errors
    compile:
    [echo]
    | Compiling bpel process BPELProcess1, revision 1.0
    [bpelc] validating "C:\ApprovalApplication\BPELProcess1\bpel\BPELProcess1.bpel" ...
    [bpelc] BPEL suitcase generated in: C:\ApprovalApplication\BPELProcess1\output\bpel_BPELProcess1_1.0.jar
    [bpelc] Warning: BPEL validation has warnings.
    [bpelc] The following warnings were reported during validation:
    [bpelc]
    [bpelc] [Warning ORABPEL-10041]: Trying to assign incompatible types
    [bpelc] [Description]: in line 293 of "C:\ApprovalApplication\BPELProcess1\bpel\BPELProcess1.bpel", <from> value type "{http://xmlns.oracle.com/BPELProcess1}BPELProcess1ProcessRequest anonymous type" is not compatible with <to> value type "{http://xmlns.oracle.com/BPELProcess1}BPELProcess1ProcessResponse anonymous type".
    [bpelc] [Potential fix]: Please make sure that the return value of from-spec query is compatible with the to-spec query.
    [bpelc]
    [bpelc]
    [bpelc]
    deployProcess:
    [echo]
    | Deploying bpel process BPELProcess1 on localhost, port 9700
    [deployProcess] Deploying process C:\ApprovalApplication\BPELProcess1\output\bpel_BPELProcess1_1.0.jar
    BUILD FAILED
    C:\ApprovalApplication\BPELProcess1\build.xml:79: A problem occurred while establishing a connection to the BPEL Server.
    Please make sure the server is running on host "localhost", port "9700".
    Total time: 15 seconds
    and i noticed that i have this error when i try to rebuild the project
    "Error: C:\ApprovalApplication\.adf (Access is denied)"
    any hint what to do ..?

  • Migrating BPEL process from 10g to 11g

    Hi All,
    I am trying to migrate 10.1.3.4 BPEL process to 11g. When I try to migrate the process in 11g Jdeveloper it gives me the below error in the logs and the migration is unsuccessful.
    Oct 5, 2009 6:01:13 PM oracle.viewgen.plugin.workflow.WorkflowBPELProcessUpgrader debug
    INFO: No more than one .task file in the upgrade source directory and hence not upgrading the bpel src
    Oct 5, 2009 6:01:13 PM oracle.viewgen.componentType.bpel.BpelDDUtil checkAndUpdateBPELDD
    INFO: UPGBPEL-02041: Retrieving wsdl for partnerLink "SyncItemListAgileReqABCS" from "http://localhost:7857/orabpel/default/SyncItemListAgileReqABCS/SyncItemListAgileReqABCS?wsdl". This wsdl location can be used later for any manual setup of composite reference binding, if the upgrade plan includes using 1013x endpoints for the interim.
    Oct 5, 2009 6:01:19 PM oracle.viewgen.ViewGenerator main
    SEVERE: Upgrade failed. Check the logs for any exceptions. Ensure that appropriate servers are reachable and valid 10.1.3.x code source is used for upgrade. Before re-attempting upgrade, restore the original code src from the backup directory.
    java.lang.NullPointerException
         at oracle.viewgen.plugin.bpel.BPELPlugin.createComponentType(BPELPlugin.java:172)
         at oracle.viewgen.ViewGenerator.main(ViewGenerator.java:212)
    Caused by: java.lang.NullPointerException
         at java.util.Hashtable.put(Hashtable.java:394)
         at oracle.viewgen.componentType.bpel.BpelDDUtil.processDefinition(BpelDDUtil.java:576)
         at oracle.viewgen.componentType.bpel.BpelDDUtil.checkAndUpdateBPELDD(BpelDDUtil.java:473)
         at oracle.viewgen.plugin.bpel.BPELPlugin.createComponentType(BPELPlugin.java:107)
         ... 1 more
    The BPEL Process which I am trying to migrate has an invoke activity which calls another BPEL process.Should the other BPEL process be migrated and deployed before ?
    Thanks in advance.
    Regards,
    Kaavya

    There is an issue with the process, it is trying to connect to the service, I don't believe it needs to be the new 11g version but the WSDL should be accessible.
    http://localhost:7857/orabpel/default/SyncItemListAgileReqABCS/SyncItemListAgileReqABCS?wsdl". This wsdl location can be used later for any manual setup of composite reference binding, if the upgrade plan includes using 1013x endpoints for the interim.
    Oct 5, 2009 6:01:19 PM oracle.viewgen.ViewGenerator main
    SEVERE: Upgrade failed. Check the logs for any exceptions. Ensure that appropriate servers are reachable and valid 10.1.3.x code source is used for upgrade. Before re-attempting upgrade, restore the original code src from the backup directory.
    cheers
    James

Maybe you are looking for

  • Help needed in writing a query

    Hi all, Following is the structure of my table. Data Key Number Id Number Value varchar2(100) activity_name varchar2(100) Creation_Date Date Eval_Point varchar2(100) In the above table Id is the primary key. The column eval_point holds only two types

  • Every time I try to log on I get: "Do you want to allow the following program to make changes to this computer?"

    A few days ago I started getting the following message EVERY time I try to log on: "Do you want to allow the following program to make changes to this computer: It lists FF and Mozilla Corp. I have to click "Yes" EVERY time and then it my Comcast hom

  • More help needed with download of 1.0

    I have downloaded the old 1.0 several times. When I run the setup.exe is says it is the 2006- one. That is the 1.1 file that I don't want. How do I get to the 2005-11-01 1.0 file? Thanks

  • How can all my recipients see my PDF at 100% zoom?

    This is tough to word, but my question is... I have output a pdf from an original illustrator design.  I know the size of the original document (and pdf export) is 1050x1275... and when I open it in acrobat I see a nice full page at 100% view.  I am

  • Error :Java proxy

    Hi experts I am getting java.lang.NoClassDefFoundError exception while deploying the Java Proxy (.ear) file on the server. I added all the jar files in my .ear project. Have anyone faces this problem. Thanks Mahesh