BPEL Process and passwords

Are there any patterns/ samples available for a storing and retrieving passwords from a BPEL Process. For example a BPEL Process needs to access a trusted service using a login and password and needs to store this password in a secure manner. Are there any suggestions / best practices for doing this ?
Thanks,
Ravikiran.

I have created a preference for the process, specified a value for it and set encryption="encrypt".
The passwords are in clear text for the source code, and encrypted in the deployed jar.
When the process performs a getPreference to obtain the value of the encrypted preference, and assigns it to a variable, the password is in clear text.
Toby

Similar Messages

  • Creating a Web Service to handle flow between BPEL process and XML Gateway

    I am new to Web Services. I have never created one, yet I have the task of designing the following for a project.
    Any help as to what steps I need to take would be very very helpful. There is a lot of information on XML, SOA and WSDL out there that it can get very confusing, and sometimes you just need someone to point the way
    What I need to do is create a Custom Send and a Custom Receive Program (both web services) handle the message flow between an Enterprise BPEL processes and a Deployed XML Gateway.
    BPEL compresses this XML business object document (for faster transmission), and sends remotely to this Custom Receive web service, which in turn calls a decompress java program and then send the document to the XML gateway inbound web service.
    The Custom Send web service does just the opposite. It needs to take the business object document from XML gateway, call the compress java program and then send to the Enterprise BPEL.
    In a nutshell...these Custom Send/Receive Web services handle the message flow between the Enterprise BPEL process and the Deployed XML Gateway.
    What I need help on...
    -Creating this in JDeveloper- where do I get started?
    -How does a web service receive a compressed file sent to me via BPEL? Does it just sit there waiting for it?
    -Is this a synchronous or asynchronous design?
    -Will this be 2 web services (Send and Receive) or do I make 1 with 2 functionalities
    -How do I call the java compress/decompress program within the web service? (this java function is already created and ready to be called)
    -Is this decompressed business object file an XML schema and an XML message? Or just a message?
    -I need to send this to the XML Gateway Web Service to load. How does that work?
    -I have a Generic XML Gateway WSDL file...I assume I need to take all the info I get and map it to this template? Is this true? How do I do that?
    Like I said, any help would be appreciated. Links answers to my many questions would be fabulous.
    -Jason

    If you are talking about simple XML transformation of the SOAP payload between the client calling your service and the final destination of the message you are routing, the ESB approach may be a better fit.
    If you have more complex transformation in mind, with major processing and rework of the message in the intermediary, you may be better of with using the POJO approach. Write your service and embed a callout to the other service in your implementation. If the two services share the same Java Model, you may even be able to re-use the same Java Bean.
    To get SOAP Element instead of Java bean, you just need to use the noDataBinding option with either genProxy and topDownAssemble (or assemble). See the WS-Guide [1] for details. Chapter 18 will give you all the details about the different WSA command line parameters.
    Hope this helps,
    -Eric
    [1] http://download-west.oracle.com/docs/cd/B31017_01/web.1013/b28974/toc.htm

  • Understanding asynchronous BPEL processes and threading

    Hi everybody,
    I have a question regarding asynchronous BPEL processes and threading.
    I have an asynchronous BPEL process which delivers a message (picked up from a JMS topic) to a repository (via for instance an ICAN server). This transaction must be time-sensitive, i.e. first-in is first-out.
    If I have several threads running concurrently I have no guarantee that the messages are delivered in the same order that they where generated. It seems that the suggested way around this problem is to use single-threading.
    So here's the part that I do not understand:
    An asynchronous request does not wait for a response. If I use single-threading then what happens to that single-thread if for some reason (for instance the ICAN server is not responding) the BPEL instance is dehydrated? Is the thread still allocated for waiting for the first response or does it go back and pick up the next thing on the topic? If the next thing on the topic is picked up then how can I be sure that the messages are delivered in the correct order? If the thread is still allocated to the single instance then does that not kindda go against the whole concept of an asynchronous process?
    I hope some one can explain this to me.
    Thank you in advance.
    Kind regards,
    Mathias
    PS. This question is an attempt of a different angle on another forum thread: Asynchronuos BPEL - how to get the order of messages right?

    Hi again,
    A quick follow up question:
    Is there any way to have several BPEL processes running on the same server with different settings for how many threads to use?
    It seems that the only way to set number of threads used by BPEL is to use the configuration in the BPEL console? This is an domain setting - which means that all processes deployed to the server is effected the same way?
    I am asking because I am facing a scenario where I need one BPEL process to read from a AQ queue (well actually a topic) with a single thread and another BPEL process - deployed to the same BPEL server - to read from the same AQ queue with multiple threads.
    Does anyone have any idea of how to do this? Can it be done?
    Any suggestions, hints or reference to any documentation would be very much appreciated.
    Thank you in advance,
    Aagaard

  • Invoke BPEL process and display result in BAM chart?

    Hi,
    I was wondering if there is any way to invoke a BPEL process and display the result back in BAM chart (Active Studio).
    I have in mind the Actionable Reports and getting the BPEl process populate the BAM Data Object to show the result back. Let me know if there's anything to connect these ideas to do the whole thing.
    The reason for this requirement is to have a single User Interface for having BAM charts and a query operation (synchronous BPEL process).
    Any inputs are welcome.
    Thanks in advance.
    Vikas

    Yes, this can be done with the help of Alert and setting up a external Action.
    Please refer the following document for more details.
    http://www.oracle.com/technology/products/integration/bam/10.1.3/TechNotes/TechNote_BAM_CallingExternal_WebServices.pdf
    regards
    Laj

  • How to execute BPEL process and invoke web service and workflow design

    I am completely new to Oracle software. i need to develope BPEL process using oracle
    I have installed almost all necessary product like oracle SOA suite , jDeveloper, BPEL process manager.
    But nothing works . i did not installed patches.
    I INSTALLED ALL LATEST SOA SUITE 11g AND ORACLE BUSINESS MANAGER (10.1.3.1.0). BUT I AM LACKING bpel DESIGNER. For that purpose i downloaded and installed oracle JDeveloper 11g studio version. but it does not have bpel designer.
    all tutorial are based on either eclipse based bpel designer "bpelz" OR jdeveloper based. but latest JDEVELOPER 11g studio version does not have any bpel option. even i can not able to download necessary patches.
    KINDLY TELL ME NECESSARY PREREQUISITES TO RUN BPEL PROCESS TO setup complete bpel environment.
    necessary tutorials links and software to download.
    Thanks in advance K. ROY

    Hi Roy ,
    The Jdeveloper 11g does not have plugin for BPEL .
    download jdeveloper 10.1.3.4 from
    http://www.oracle.com/technology/software/products/jdev/index.html
    and run a online update for the jdeveloper . This will give you the BPEL project option.
    A very good link for learning BPEL is :
    http://www.oracle.com/technology/products/ias/bpel/htdocs/dev_support.html
    Regards
    Tushar B

  • Querying BPEL process and sub-processes

    Hi there,
    I am new to BPEL and in our BPEL process we are calling like 5 other BPEL sub-processes. So assume our BPEL process A calls processes B, C, D, E, and F. Now for our fault handing if for example processes D fails I would like to retire sub-processes A but also sub-process B, C and D.
    Can anyone tell me which API would give me this information? Kind of like the tree in the BPEL console where we can see all the child processes.
    Thanks.

    Eric,
    No for us we have a generic BPEL error handling process where we are dynamically retiring the calling process. I got the Java API to dynamically retire the main calling process. But my main goal is to retire all the sub process that the main calling process calls as well.
    I looked at Matt Wright's Blog : tracing sub process calls within BPEL. He says you can use programatically for each instance one could query using the track of a parent id and root id but I need to get the details on how would I use the API. If you or anyone has that information can you please share that with me. Would really appreciate it.
    Thanks

  • Synchronous BPEL processes and dehydration

    Hi all,
    I am confused about dehydration behaviour of synchronous BPEL processes.
    The BPEL Developer's Guide says:
    "Dehydration enables the states of long-running processes to be automatically maintained in a database and correlation of asynchronous messages"
    IMHO this means that dehydration is applied to asynchronous BPEL processes only - not to synchronous processes.
    On the other hand I found a forum entry Re: dehydration ? saying the following:
    "Dehydration can optionally be disabled for synchronous flows"
    which means that by default synchronous processes will be dehydrated(?).
    Can anyone clarify the dehydration behaviour and configuration of synchronous BPEL processes?
    Thanks in advance
    Ingo

    Hi Ingo,
    The BPEL Developer's Guide says:
    "Dehydration enables the states of long-running processes to be automatically maintained in a database and correlation of asynchronous messages"
    This is true, as well as adding a checkpoint() in the Java Embedding Activity will force hydration.
    Cheers
    Pucha Anirudh

  • BPEL processes and shell scripts

    Hi,
    I wish to invoke BPEL processes from a shell script so that it could be regulated from a typical Control-M environment. Can anybody let me know if its possible...?
    Regards,
    Roy

    Some kind-of Java interface would just be fantastic. Is there anything like that...?
    Well, I intend to execute some batch processes which would be scheduled and administered by Control-M; If i opt to use ws-clients within the same then auditing and monitering the status of my executing process would be an obvious overhead that i might need to hard wire in my implementation. Therefore, should it be possible to execute a BPEL process from a Java like interface, which i'd then wrap in a shell script; then Control-M on itself would be capable of monitoring the process status and all other performance parameters around the same.
    Suresh - Thanks for your suggestion, will definately post the message on those groups as well.

  • BPEL process and JMS to an Oracle AQ

    I have created a bpel process to read from a jms queue which is an Oracle AQ. Using the AQ adapter would be fine too. However I am not clear on the files to configure for oc4j-ra.xml and data-sources.xml and the correct values in the wsdl file for the queue to have everything talk. Does anyone have the steps, Given a database name of DB on port 1521 with a queue name xdb in the oe schema, what values need to be set.

    If you are using a JMS adapter in jdev, did you create your resource provider and jndi connections up in AS?

  • How to convert\import eEPC model to BPEL Process and used it in JDeveloper?

    Hello All,
    Can any buddy please help me,
    I need to import EPC model from Oracle BPA architecture 11g, to BPEL Process in JDeveloper 11g,
    i am using Oracle BPA Suite 11g with Oracle 11g Backend database, and i have installed JDeveloper 11g
    Thanks
    Milind

    Create a new SOA application, then create a project inside it, type should be SOA.
    Give Composite a name and select "Composite from BPA template" as Composite template.
    In the next window, you will see your BPA Server( otherwise create a new BPA connection) ,explore to your EPC model and double click to import it.
    thanks

  • Using Java Embedding Unzip Code and a Trigger File in a BPEL Process

    Hello,
    Thanks in advance to anyone that contributes with any insight.  It is much appreciated.  Having said that I will get to the crux of my problem.
    I am currently using Oracle 11g.  I have created a SOA composite application that incorporates BPEL and Java.  I have the code needed to unzip and extract compressed folders.  However, when this was first built out using BPEL it automatically created a web service in the "exposed service" lane and not a file adapter which I believe is needed in order to trigger the process via a start.txt file for example.  Based on what I know ... this web service automatically connecting to the BPEL process was simply due to the order of operations, etc.  So by creating a 'read' file adapter first and then creating the BPEL process and selecting the template "Define Service Later", it does not automatcially connect the web service to the BPEL process and it will allow me to connect a file adapter to this BPEL process instead ... great.  When opening up the BPEL file I then connect a recieve component to this file adapter and configure appropriately.
    Essentially, my objective in setting up a trigger to start this unzip process is due to the BPEL process before that outputs or writes the .zip folder to the same directory that I want to poll and/or trigger via a start.txt file.  I can get this process to work with a webservice connecting to the BPEL process and by using a Java Embedded in BPEL file, which in turns calls the package/ class that has the java code needed to unzip.
    For some reason whenever I try to use a file adapter instead of the native web service that gets created (as mentioned above) it doesn't work.  It seems to build or compile just fine however, I am getting errors when I try to deploy.
    Note:  The Java code contains all the paths where the zip file is to be taken from and extracted to.  So because this is in the code I don't need the file adapter to handle this.  I just want to use the file adapter so that I can trigger the process via start.txt or something of that nature.
    Thanks to anyone that has any suggestions.
    Kind Regards,
    Kevin
    Errors when attempting to deploy are as follows:
    [04:12:54 PM] Error deploying archive sca_Job2_UnZip_rev1.0.jar to partition "default" on server soa_server1 [http://WN017A.homedepot.com:8001]
    [04:12:54 PM] HTTP error code returned [500]
    [04:12:54 PM] Error message from server:
    There was an error deploying the composite on soa_server1: Deployment Failed: Error occurred during deployment of component: BPELProcess1 to service engine: implementation.bpel, for composite: Job2_UnZip: ORABPEL-05250
    Error deploying BPEL suitcase.
    error while attempting to deploy the BPEL component file "H:\Oracle\Middleware\user_projects\domains\Dev_Acorde\servers\soa_server1\dc\soa_d78eb301-314c-422a-a748-bcfe7d0906e8"; the exception reported is: java.lang.RuntimeException: failed to compile execlets of BPELProcess1
    This error contained an exception thrown by the underlying deployment module.
    Verify the exception trace in the log (with logging level set to debug mode).
    [04:12:54 PM] Check server log for more details.
    [04:12:54 PM] Error deploying archive sca_Job2_UnZip_rev1.0.jar to partition "default" on server soa_server1 [http://WN017A.homedepot.com:8001]
    [04:12:54 PM] ####  Deployment incomplete.  ####
    [04:12:54 PM] Error deploying archive file:/C:/JDeveloper/mywork/Job2_UnZip/Job2_UnZip/deploy/sca_Job2_UnZip_rev1.0.jar
    (oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)

    Just wanted to provide a screenshot of the BPEL file as supporting documentation to better illustrate my issue.
    Thanks so much,
    Kevin

  • 10g BPEL process upgrade to 11g hangs in Jdeveloper and Ant script

    I have successfully upgraded several 10g (10.1.3.4) BPEL processes and ESB services using Jdeveloper 11g (11.1.1.6.0) migration wizard and deployed them to an 11g environment. Both 10g and 11g environments are up and running.
    However, my 11g jdeveloper hangs when migrating the next BPEL process. It hangs at the message box with the title: "Migration Status". I tried the Ant script and it hangs too. It hangs after printing out:
    "CompositeRefs
    [upgrade] WARNING: UPGBPEL-02009: No Binding setup for : "soapCheckPrivileges"
    . This will cause compilation of the upgraded project to fail. Check SOA Upgrade
    documentation on manual steps necessary to bind this composite reference. If ne
    cessary, upgrade and deploy any dependencies. If planning to retain 1013x nodes
    in this projects dependency tree, check earlier part of this log for 1013x WSDL
    URLs that can be used."
    I guess it makes sense since Jdeveloper and Ant script use the same code base for migration.
    One other observation is that if I kill the hanging jdeveloper process and reopen it and go through the migration wizard again, it will be successful without hanging. However, when I fix all the wsdl reference and do a build and deploy to sar. The resulting sar is defective and cannot be deployed to Weblogic even if both build and deploy to sar report success. The defective sar contains only scac.log and scac-log.xml, not even composite.xml.
    One difference between this BPEL process and others I have successfully upgraded is that it depends on an ESB service (this esb service has been upgraded and deployed to 11g).
    Any ideas?
    Thanks,

    I will answer my question. I killed the migrating Java process and the migrating wizard will report failure of migrating the .jpr file. Actually, the only thing missing in the migrated .jpr file is deployment profile which I can generate from deployment menu. And I can deploy the migrated process. This works as a workaround.

  • Concept of Sub Process and Starter Process in BPEL

    Hi Forum -
    With my limited understanding of BPEL I have found that if a process has to interact with another process it has to be exposed as a service however that is not good in all cases.
    Is there a way in BPEL where once can create a process and do not expose it as service and still be able to call it from another BPEL process.
    For example there can be a process called sendNotification and all the other processes if they want to send a notification can call this process.
    In TIBCO there is a concept of Starter Process and Sub Process. A Starter Process is a process which will wait for an event to take place, like a web service request or a JMS message or a database adapter event and then this main process can call a sub process, just like the main program calling a function. This sub process need not be defined as a service in TIBCO and it can still accept an xml schema type as input.
    Is this possible in BPEL?
    Thanks!

    10g -> Every process is a service.
    11g -> Create a Composite, You could wire multiple BPEL Components and expose only the desired ones as a service through a mediator or directly the bpel. Mediator provide one more layer of virtualization and hides even the first master bpel component.
    But if the send notification have to be reused outside the composite, it has to be an exposed service. Although it is exposed as a web service, it uses only WSIF binding to interact between bpel processes and not a soap binding(unless specifically instructed).
    If you are looking for function kind of construct, you could create custom xpath functions (like logging etc.)
    -Sridhar

  • Copy and Modify the BPEL Process

    Does anyone know a good way of copying a BPEL process and modifying it? For example, copy the BPEL_ProcessA and rename it to BPEL_ProcessB and then customizing the BPEL_ProcessB.

    Hmm, not enough Clemens.
    Easiest way to copy:
    1. make new BPEL project with the desired name
    2. close JDeveloper
    3. delete all files from the new directory
    4. copy source files to new directory (without <output.dir> and <CVS.dir>)
    5. Search & Replace all files for <Process_A> and replace with <Process_B>
    This includes: .BPEL, .XML (especially with Usertask), .XSL (has references to proces_a)6. Rename all files that have <Process_A> in them:
    a. when using transforms: rename the xsl
    b. when using usertask: rename the taskConfig<ProcessA>.xml, taskConfig<ProcessA>WFFields.xml
    Changing the internal references to <ProcessA> can be done with a tool like Search & Replace.

  • Error while checking the flow of bpel process in bpel console

    Hi Experts
    I have created one bpel process which invokes task manager for approving or rejecting the leave request. I ve successfully deployed the bpel process and also able to test approve or reject the leave request . But i am facing one error
    when i am initiate a bpel process and started to check the flow of that bpel process in bpelconsole it gives me some error message in small pop up like
    error : Internal/ bug ( #589 )
    \u017E is not defined
    i click Ok and after this no error and all working well.
    Thanks.

    A quick answer is:
    1. make sure you defined the Application/Integration Server in your developer (user/pass you have - if not oc4jadmin then one the IT gave you).
    2. Deploy your project to that server.
    3. Choose the correct domain in the Console when deploying.
    Is this what you wanted to know???

Maybe you are looking for

  • Alternative to enable/disable javascript ?

    I am looking all the time into Firefox options but there is no option into the menu to disable or enable javascript. Is there any alternative solution or only "about:config" trick (which is very uncomfortable)...

  • How to return correct cents after comma delimiter?

    functions.js: function mw_toCurrency (value,decimalPoint) { if(isNaN(parseFloat(value))) { return; if(!decimalPoint) { decimalPoint=","; var newValue = "" + Math.round (parseFloat(value) * 100); while (newValue.length <= 2) { newValue = "0" + newValu

  • How to run a large script from sqlcmd and continue despite errors

    I am on SQL Server 2008 R2. I have  a large sql file (4 GB size) which has various insert  statements created by genarate script of SQL Server 2008, i.e, generate script facility to create insert satements for data of all the tables in a database. No

  • I have installed CC but cannot open it

    I have instaaled CC but cannot open it on my desktop

  • Could no reserve record [2 tries], Keep trying?

    Hi, Once I retrieve a specific record from Receivables Transaction, I receive an error  Could no reserve record [2 tries], Keep trying?, Record successfully retrieve but with this error which prevent for further action such as Apply etc. Please advis