Java Embedingin BPEL of SOA suite 11g

Hi,
To remove namespace of a soap element we are using java embedding in BPEL of SOA suite 11g.
Added related libraries in jdev project properties and deployed to generate a sar while.
When i am trying to deploy this SAR through em console to SOA server following error is diasplayed.
Deploying on "/Farm_SOA_domain/SOA_domain/soa_server1" ...
Deploying on "/Farm_SOA_domain/SOA_domain/soa_server1" failed!
Error during deployment: Error occurred during deployment of component: CallOIM to service engine: implementation.bpel for composite: SOAComposite1: ORABPEL-01005
Failed to compile bpel generated classes.
failure to compile the generated BPEL classes for BPEL process "CallOIM" of composite "default/SOAComposite1!55*91c4a2eb-240d-4a6f-968c-fa7ff516ef51".
The class path setting is incorrect.
Ensure that the class path is set correctly. If this happens on the server side verify that the custom classes or jars which this BPEL process is depending on are deployed correctly. Also verify that the run time is using the same release/version.
jars are deployed properly on the server. Any pointers on the same will be more helpful.
Thanks,
Sowmya

I haven't done it in 11g but I'm sure it is the same.
you need to import the java classes. to do this add the following to you .bpel source code
<bpelx:exec import="java.util.*"/>
<bpelx:exec import="java.lang.*"/>
<bpelx:exec import="java.math.*"/>
place it between the lines:
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<!--
PARTNERLINKS
e.g.
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<bpelx:exec import="java.util.*"/>
<bpelx:exec import="java.lang.*"/>
<bpelx:exec import="java.math.*"/>
<!--
PARTNERLINKS
Also from memory the System.out.println never worked for me, or it printed in the logs which wasn't helpful. What you can do is assign it to another variable, e.g.
String input = (String)getVariableData("InputSring");
setVariableData("OutputSring",input);
OutputString is my variable defined in BPEL.
cheers
James

Similar Messages

  • Java Embedding bug in SOA Suite 11g BPEL??

    I am beginning to wonder if there is a 'bug' in the SOA Suite 11g, BPEL, Java Embedding activity? Need some help as soon as possible – does the Java Embedding activity work in SOA Suite 11g?
    Have tried the following on Jdev 11.1.1.1 and Jdev 11.1.1.3 – get the same error message (see below for error message).
    Thanks for any help - Casey
    I created a simple composite app by:
    1.     Created a Composite with BPEL Process
    2.     Created a BPEL variable by the name of Variable and a Simple Type of string      ({http://www.w3.org/2001/XMLSchema}string)
    3.     Added an Assign activity (Assign_1) and assigned the value of “Test Var” to the variable Variable using a Copy operation.
    4.     Then, after the assign activity, added a Java Embedding activity (Java_Embedding_1) with Java Version set to 1.5 and the following code:
    +try{+*
    String var;*
    var=(String)getVariableData(Variable);*
    System.out.println(var);*
    +}  // end try+
    +catch(Exception ex){+*
    System.out.println(ex.getMessage());*
    +}// end catch+
    Compiled and got the following error message:
    Error(23,34): Failed to compile bpel generated classes.*
    failure to compile the generated BPEL classes for BPEL process "BPELProcess1" of composite "default/Project1!1.0"*
    The class path setting is incorrect.*
    Ensure that the class path is set correctly. If this happens on the server side, verify that the custom classes or jars which this BPEL process is depending on are deployed correctly. Also verify that the run time is using the same release/version.*
    Code for the BPEL component is:
    +<?xml version = "1.0" encoding = "UTF-8" ?>+
    +<!--+
    +////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+
    Oracle JDeveloper BPEL Designer
    Created: Tue Nov 09 13:01:49 CST 2010
    Author:
    Purpose: Asynchronous BPEL Process
    +////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+
    -->
    +<process name="BPELProcess1"+
    targetNamespace="http://xmlns.oracle.com/TestgetVariable_jws/Project1/BPELProcess1"
    xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:client="http://xmlns.oracle.com/TestgetVariable_jws/Project1/BPELProcess1"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:ns1="http://xmlns.oracle.com/pcbpel/adapter/file/TestgetVariable/Project1/FileW"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    +<!--+
    +////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+
    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="bpelprocess1_client" partnerLinkType="client:BPELProcess1" myRole="BPELProcess1Provider" partnerRole="BPELProcess1Requester"/>+
    +</partnerLinks>+
    +<!--+
    +////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+
    VARIABLES
    List of messages and XML documents used within this BPEL process
    +////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+
    -->
    +<variables>+
    +<!-- Reference to the message passed as input during initiation -->+
    +<variable name="inputVariable" messageType="client:BPELProcess1RequestMessage"/>+
    +<!-- Reference to the message that will be sent back to the requester during callback -->+
    +<variable name="outputVariable" messageType="client:BPELProcess1ResponseMessage"/>+
    +<variable name="Variable" type="xsd:string"/>+
    +</variables>+
    +<!--+
    +////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+
    ORCHESTRATION LOGIC
    Set of activities coordinating the flow of messages across the
    services integrated within this business process
    +////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+
    -->
    +<sequence name="main">+
    +<!-- Receive input from requestor. (Note: This maps to operation defined in BPELProcess1.wsdl) -->+
    +<receive name="receiveInput" partnerLink="bpelprocess1_client" portType="client:BPELProcess1" operation="process" variable="inputVariable" createInstance="yes"/>+
    +<!--+
    Asynchronous callback to the requester. (Note: the callback location and correlation id is transparently handled using WS-addressing.)
    -->
    +<assign name="Assign_1">+
    +<copy>+
    +<from expression='"test var"'/>+
    +<to variable="Variable"/>+
    +</copy>+
    +</assign>+
    +<bpelx:exec name="Java_Embedding_1" version="1.5" language="java">+
    +<![CDATA[/*Write your java code below e.g.+
    +     System.out.println("Hello, World");+
    +*/+
    +try{+
      +String var;+
      +var=(String)getVariableData(Variable);+
      +System.out.println(var);+
    +} // end try+
    +catch(Exception ex){+
    System.out.println(ex.getMessage());
    +}// end catch]]>+
    +</bpelx:exec>+
    +<invoke name="callbackClient" partnerLink="bpelprocess1_client" portType="client:BPELProcess1Callback" operation="processResponse" inputVariable="outputVariable"/>+
    +</sequence>+
    +</process>+

    Java Embedding bug in SOA Suite 11g BPEL??

  • Calling Custom XSLT java class from BPEL in SOA Suite 11g

    Hi All,
    Morning...need some help with this issue...we are currently on SOA Suite 11g (11.1.1.4) version.
    Earlier while we were on SOA Suite version 10g (10.1.3.3) we were calling the custom java classes from the xsl mapping for complex transformation and for this we were placing the .class file as .jar file at the location mentioned here $OC4J_HOME/j2ee/home/applib directory and then mentioning the namespace as http://www.oracle.com/XSL/Transform/java/{$classname$} in the XSLT mapping file.
    Now in SOA Suite 11g if we need to retain similar functionality for external custom java calls could someone please help us where do we need to put the .jar file now ..
    exactly at which directory location/path and on which instance/server (application server instance or middle tier instance ) we need to put this .jar file
    Currently we are stuck and need some help with this.
    With thanks & Regards

    Hi Eric & Anuj,
    Thanks for replying , sorry for checking on this now...
    here at this path /opt101/app/oracle/SOAD/SOA11gR1/fmw/Oracle_SOA1/soa/modules/oracle.soa.ext_11.1.1
    we got the ora.soa.ext.jar file and extracted it to get the MANIFEST.mf file ..have mentioned below.
    Now if we need to link our custom .jar file named customfunctions.jar so we need to mention it as below is this correct :
    Manifest-Version: 1.0
    Ant-Version: Apache Ant 1.7.1
    Created-By: 17.0-b17 (Sun Microsystems Inc.)
    Implementation-Vendor: Oracle
    Implementation-Title: Oracle SOA EXT
    Implementation-Version: 11.1.1
    Product-Name: Oracle SOA EXT
    Product-Version: 11.1.1.4.0
    Specification-Version: 11.1.1
    Extension-Name: oracle.soa.ext
    Class-Path: classes/
    Class-Path:customfunctions.jar classes/ -- is this the way to mention (means we need to add this additional line or we need to add to the existing line at Class-Path: classes/)
    2.
    Eric the Alternative method mentioned in your update :
    Open a command prompt and change the current directory to the oracle.soa.ext_11.1.1 directory ,
    then execute the build.xml file in the oracle.soa.ext_11.1.1 folder using Ant
    Now could someone please guide us regards this ANT means how does it work and its relation to the build.xml file and how do we check whether we have ANT utility available or not..
    not much conversant with this ANT hence asking here..would lookout for your reply
    thank you

  • Schematron validation error in BPEL, Oracle Soa Suite 11g

    Hi Friends,
    As per the requirement, I have to validate all the mandatory element values from an XML payload and need to send the consolidated report to the source application with all the validation failure elements.
    I am trying to implement Schematron validation in BPEL, but its giving me the following error:
    +<remoteFault>+
    +<part name="summary">+
    +<summary>oracle.fabric.common.FabricException: Cannot get Object part 'result'. No parts are set on the message</summary>+
    +</part>+
    +<part name="detail">+
    +<detail>Cannot get Object part 'result'. No parts are set on the message</detail>+
    +</part>+
    +</remoteFault>+
    I have followed the below process and created very basic sample composite.
    1) Extracted the validate.wsdl from bpm-services.jar.
    2) Imported the validate.wsdl into my Jdev Project.
    3) Created partenr link based on the validation.wsdl and used Invoke activty to invoke the partner link.
    4) Created .sch file and passed to input variable of the invoke activity.
    If any one knows about this issue, plz help me. Or if any one has developed an example on how to use schematron in BPEL plz share it with me.
    Thanks
    Ramesh

    1) How often did u see SOA suite being used in Non-Oracle Apps projects i.e projects that do not use Oracle Applications as the source data provider.Frankly speaking, not very often but still there are many customers who are using/willing to migrate on Oracle SOA Suite because of the many advantages provided by 11g stack.
    2) How much Oracle Apps knowledge is required for choosing the career of Oracle SOA Suite Integration Architect? I would say that both the technologies have very less in common so it never depends on your level of Apps knowledge to architect a SOA solution. You have to learn SOA from scratch but if you have prior experience in Oracle Apps then it may not be very difficult for you to go ahead with SOA.
    Regards,
    Anuj

  • Java invocation of a SOA Suite 11g composite

    Does anyone have any idea or can point me to a site that discusses how to startup a SOA 11g app using Java???????
    Thanks - Casey

    Hi Casey,
    When you go to the em console and navigate to the deployed version of the composite application you will find a fullblown wsdl.
    This one you can use to generate your webproxy against.
    I used it also in my last blog, see :
    http://eelzinga.wordpress.com/2010/05/21/scheduling-oracle-soa-suite-composite-applications-or-whatever-you-want-in-weblogic/
    Hope it works for you too

  • Performance tuning of BPEL processes in SOA Suite 11g

    Hi,
      We are working with a customer for performance tuning of SOA Suite 11g, one of the areas is to tune the BPEL processes. I am new to this and started out with stress testing Hello World process using SOAPUI tool. I would like help with the below topics -
    1. How do I interpret the statistics collected during stress testing? Do we have any benchmark set that can indicate that the performance is ok.
    2. Do we need to run stress tests for every BPEL process deployed?
    2. Is there any performance tuning strategy documentation available? Or can anybody share his/her experiences to guide me?
    Thanks in advance!
    Sritama

    1. How do I interpret the statistics collected during stress testing? Do we have any benchmark set that can indicate that the performance is ok.
    You need
    pay attention to:
    java heap usage vs java heap capacity
    java eden usage vs java eden capacity
    JDBC pool initial connections vs JDBC pool capacity connections
    if you are using linux: top
    if you are using aix: topas
    2. Do we need to run stress tests for every BPEL process deployed?
    yes, you need test each BPEL. You can use "Jmeter" tool.
    Download Jmeter from here: Apache JMeter - Apache JMeter&amp;trade;
    Other tools:
    jstat
    jstack
    jps -v
    Enterprise Manager
    WebLogic Console
    VisualVM
    JRockit Mission Control
    3. Is there any performance tuning strategy documentation available? Or can anybody share his/her experiences to guide me?
    I recommend "Oracle SOA Suite 11g Performance Tuning Cookbook" http://www.amazon.com/Oracle-Suite-Performance-Tuning-Cookbook/dp/1849688842/ref=sr_1_1?ie=UTF8&qid=1378482031&sr=8-1&keywords=oracle+soa+suite+11g+performance+tuning+cookbook

  • Truncate all Instances in SOA SUITE 11g BPEL SOAINFRA SCHEMA

    Hi Guys!
    We are running Oracle SOA SUITE 11g + BPEL, Version 11.1.1.3.0 (PS2)
    We running out of disk space issues in a database due to large number of test instances in dehydration storage.
    Is there any way to TRUNCATE all tables in order to clean up instances from BPEL engine (SOAINFRA schema)
    Oracle provides this functionality (purge scripts and implemented procedures in a database) but this is a deleting approach and it doesn't work with millions of instances in a storage. Deleting instances from GUI doesn't work at all.
    1. We are looking the way to truncate all instances in a database rather then delete them which takes ages and doesn't work properly in case of huge amount of instances.
    2. We would like wipe out all instances without any time restrictions.
    Any feedback, script from you guys would be much appreciated.
    Cheers!!

    Hi,
    There still no solution for truncating tables. Looks like we have to look into Oracle's procedures in delivered with SOA SUITE installation.
    I posted an article about deleting large number of instances in SOA Suite 11g. It does the job in a pretty fast way.
    [Delete large numbers of instances in Oracle SOA Suite 11g|http://emarcel.com/soa-suit/152-deleteinstancessoasuite11gwls]
    Cheers!!
    emarcel.com

  • Error deploying BPEL process on SOA Suite 11g

    Hi,
    We have installed SOA Suite 11g (Weblogic 10.3.1.0) on Windows.
    I'm trying to deploy a simple BPEL Process on this SOA Suite through JDeveloper 11.1.1.1.0 Studio.
    However I'm getting the following error:
    [10:29:08 AM] Preparing to send HTTP request for deployment
    [10:29:09 AM] Creating HTTP connection to host:172.26.0.119, port:8001
    [10:29:09 AM] Sending internal deployment descriptor
    [10:29:09 AM] Sending archive - sca_BPELTest_rev1.0.jar
    [10:30:37 AM] Received HTTP response from the server, response code=503
    [10:30:37 AM] Problem in sending HTTP request to the server. Check standard HTTP response code for 503
    [10:30:37 AM] Error deploying archive sca_BPELTest_rev1.0.jar to soa_server1 [172.26.0.119:8001]
    [10:30:37 AM] HTTP error code returned [503]
    [10:30:37 AM] No error message is returned from the server.
    [10:30:37 AM] #### Deployment incomplete. ####
    [10:30:37 AM] Error deploying archive file:/D:/JDeveloper/mywork/Application2/Project1/deploy/sca_BPELTest_rev1.0.jar
    (oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)
    Please let me know in case anybody has faced this issue.
    Thanks,
    Makrand

    Hi, it´s a little late, but it may help to someone else.
    I just got the same error on deployment and realized i was going through a proxy server, who was responding with a http 503 code to deployment request from JDeveloper. Just check your proxy settings under Tools->Preferences->Web Browser and proxy and add an exception if needed.
    I also had to restart JDeveloper (a bug?) after adding the exception to correct the issue.
    regards,
    Pedro.

  • Integration with PeopleSoft Applications Using Oracle SOA Suite 11g BPEL

    Hi,
    I'm integrating BPEL with Peoplesoft FSCM 9.0 Application on tools 8.49 using Oracle SOA Suite 11g. The BPEL invokes the web service method generated from Peoplesoft Component Interface in a synchronuos manner.
    I have deployed the BPEL in Oracle SOA Suite 11g using Jdeveloper successfully but I have problem in configuring the BPEL node in Peoplesoft side using Oracle SOA Suite 11g(FMW) . I had done the integration of BPEL with Peoplesoft FSCM 9.0 on tools 8.49 using Oracle SOA Suite 10g earlier successfully by configuring BPEL node properties as follows:
    BPEL CONSOLE : http://Host Name:8888/BPELConsole (System with Oracle SOA Suite 10g server for deployment)
    BPEL DOMAIN : default
    Using this BPEL node configuration, I was able to ping the BPEL console of Oracle SOA Suite 10g from peoplesoft and hence complete the integration successfully.
    Now in order to acomplish Business rules and other functionality, the BPEL application has been developed in Oracle SOA Suite 11g using Jdeveloper 11g. This time I'm not able to configure the BPEL node in Peoplesoft for this integration as I'm assuming there is no separate BPEL console in Oracle SOA Suite 11g. All the BPEL deployments are administered in console (11g console used for deployment of BEPL)
    http://Host Name:7001/em (System with Oracle SOA Suite 11g server - Fusion Middleware).
    So when I Configured the BPEL node property in Peoplesoft as :
    BPEL CONSOLE : http://Host Name:7001/em (System with Oracle SOA Suite 11g server for deployment)
    BPEL DOMAIN : default
    I'm not able to ping the Peoplesoft BPEL node to the Oracle SOA Suite 11g. Hence I'm not able to proceed with my integration.
    When I searched the OTN discussion forum on BPEL console for Oracle SOA Suite 11g, all threads point that there is no separate BPEL console unlike Oracle SOA Suite 10g. Also most of the articles for Integration with Peoplesoft Application using SOA 11g do not state any specific configuration setting for property of Peoplesoft BPEL node in order to integrate with BPEL 11g. The examples published in OTN still point towards screen shots of integration using SOA Suite 10g.
    So I'm not able to proceed in this regard.
    Any help in this regard is highly appreciated.
    Thanks in Advance,
    Girish
    Edited by: user11214154 on Nov 23, 2009 8:12 PM
    typo error

    Hi,
    I found this document from the Oracle Open World 2009 (maybe you have found it too) :
    "Integration with PeopleSoft applications using oracle soa suite 11g BPEL" --> [http://www.oracle.com/technology/tech/fmw4apps/peoplesoft/pdf/oow2009-bpel-psft.pdf]
    And this could be a little more simple, but have a good step-by-step tutorial.
    [http://www.oracle.com/technology/obe/fusion_middleware/fusion/soa/BPEL_PS848/OBE_PSFT_BPEL_848.htm]
    I think you must read this docs by now, but never come amiss.
    Hope this can help you,
    By the way, if you can help me with this I'll appreciate it a lot.
    Unable to access the following endpoint(s)

  • Oracle SOA Suite 11g VS BPEL PM 11g

    Hello,
    What is the difference between SOA Suite 11g and BPEL Process Manager 11g?
    I understand BPEL PM is a component of SOA Suite 11g.
    What capabilities does SOA Suite offer more than BPEL Process Manager 11g?
    When does a customer choose BPEL PM 11g over SOA Suite 11g? I assume BPEL PM 11g will be less in terms of cost.
    Thanks,
    Ram

    Ram,
    What is the difference between SOA Suite 11g and BPEL Process Manager 11g?BPEL Process Manager 11g is a standalone product and it is part of SOA Suite 11g as well. SOA Suite 11g is actually a group of products and it includes -
    Oracle BPEL Process Manager
    Oracle Service Bus
    Mediator
    Oracle Business Activity Monitoring
    Oracle Web Services Manager
    Oracle Business Rules
    Oracle Human Workflow
    Oracle Event Processing
    JDeveloper and ADF
    Adapters
    Oracle Entitlements Server Basic
    Oracle B2B
    So you cannot compare SOA Suite with BPEL.
    What capabilities does SOA Suite offer more than BPEL Process Manager 11g?Oracle BPEL Process Manager enables enterprises to model, deploy, and manage BPEL (Business Process Execution Language) processes. It includes a BPEL business process modeler, a scalable BPEL run-time engine, an extensible WSDL binding framework, and a monitoring console. So use of BPEL is limited till business process implementation only whereas SOA Suite offers complete middleware SOA solution.
    When does a customer choose BPEL PM 11g over SOA Suite 11g? I assume BPEL PM 11g will be less in terms of cost.Yes, if you want to implement BPEL processes only then you can buy only BPEL Process Manager 11g but if you are looking for to implement a complete middleware SOA solution then licensing SOA Suite 11g will be the better option.
    Regards,
    Anuj

  • Oracle SOA Suite 11g (BPEL Process) Dependency with Database

    Folks,
    Oracle SOA Suite 11g requires a relational DB like Oracle, SQL Server to maintain the Metadata for the SOA & Related Components.
    Can you plz let me know with your experience - what should happen to a running BPEL Process if the database (SOAINFRA) is down? Being very specific -
    1, Does/Should end-point become inaccessible? Or Does service remains accessible but throws service remote-fault execption?
    2, What happens to a process which is in running state?
    My experience in these scenarios is not encouraging; we have notices the following -- during the time when our SOAINFRA database is down, the in-process (running) instances are left in a running state. These instances do not complete or move forward even when the Database is back. These instances do not provide any information in the Enterprise Manager.
    Also, if DB is down WSDL's are still accesssible, is this right way?
    If this is how SOA does work then I would doubt for its merit……...your thought plz????
    Thanks & Regards
    Shyam Kumar

    I am not posting here because I'm smart but because your questions look interesting.
    during the time when our SOAINFRA database is down, the in-process (running) instances are left in a running stateYou know that BPEL is a state-full product and it needs database support for persisting the process of state so if database goes down it is an expected behavior that processes may stuck in the same state where they were when DB went down. I don't see anything wrong with it.
    These instances do not complete or move forward even when the Database is back.Instances should auto/manually recoverable. If this is not the case then you may raise a SR with support.
    These instances do not provide any information in the Enterprise Manager. What information you could not find? Can you be more clear on this?
    Also, if DB is down WSDL's are still accesssible, is this right way?Yes, again it's expected because design time data also gets stored in DB only and hence if DB goes down, any design time data may not be accessible.
    If this is how SOA does work then I would doubt for its merit……...your thought plz????Why so? Alternative of DB is physical memory and that I don't think is perfect for long running BPEL processes and their heavy design time data. Moreover, it will create problems in terms of auditing, support and maintenance. If your requirement is such that it does not need any long running BPEL processes and even auditing is not required and use case is simple routing and transformation with no DB dependency then you may go for OSB which is a stateless product. BPEL is generally used for long running processes and hence DB is the best option, in my opinion at least.
    Regards,
    Anuj

  • PGP Encryption support in SOA Suite 11g

    Hi,
    Looking for PGP encryption support in SOA Suite 11g as we have a requirement to encrypt the file using PGP encryption and send over SFTP.
    I already went through some of the forums posts but they are date back to 2007, so just wanted to confirm if there is anything in recent releases of SOA Suite.
    - FTP adapter support or
    - OWSM suppport.
    As far as i know, we have to install some PGP tool and write a script to encrypt/decrypt and call the script from BPEL. this conclusion is based on a stmt given in the OWSM 10g book by sitaraman.
    Please provide your insights on this.
    Thanks
    Siva

    Hi Siva,
    I don't think still there is any support for PGP in Oracle SOA. You may use java for PGP encryption/decryption and transfer externally encoded messages over SFTP.
    Please refer -
    Re: PGP Encryption/Decryption
    PGP Encryption in B2B
    Regards,
    Anuj

  • How to configure SOA Suite 11g Worklist with LDAP Identity Store

    Hi
    Im trying to configure the worklistapp to use an ldap identity store (SOA Suite 11g)
    The ldap is a open source ldap (Open DS in this case), is NOT : OID, OVD, Active Directory, WLS OVD, IPlanet.
    for doing so, i did the next configurations:
    workflow-identity-config.xml
    <configuration realmName="realm1">
    <provider providerType="JPS" name="JpsProvider" service="Identity">
    <property name="jpsContextName" value="worklist" />
    </provider>
    </configuration>
    jps-config.xml
    <?xml version="1.0" encoding="UTF-8" standalone='yes'?>
    <jpsConfig xmlns="http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd" schema-major-version="11" schema-minor-version="1">
         <!-- This property is for jaas mode. Possible values are "off", "doas" and "doasprivileged" -->
         <property name="oracle.security.jps.jaas.mode" value="off"/>
         <property name="custom.provider" value="true"/>
    <serviceProviders>
    <serviceProvider type="IDENTITY_STORE" name="idstore.ldap.provider" class="oracle.security.jps.internal.idstore.ldap.LdapIdentityStoreProvider">
    <description>LDAP-based IdentityStore Provider</description>
    </serviceProvider>
    </serviceProviders>
    <serviceInstances>
              <serviceInstance name="idstore.ldap.opends" provider="idstore.ldap.provider">
                   <property name="java.naming.factory.initial" value="com.sun.jndi.ldap.LdapCtxFactory"/>
                   <property name="idstore.type" value="CUSTOM"/>
                   <property name="ldap.url" value="ldap://host:port"/>
                   <property name="subscriber.name" value="dc=company,dc=com"/>
                   <property name="search.type" value="SIMPLE"/>
                   <property name="security.principal" value="cn=adminuser,dc=company,dc=com"/>
                   <property name="security.credential" value="!adminuser_password"/>
                   <property name="user.login.attr" value="cn"/>
                   <property name="username.attr" value="cn"/>               
                   <property name="groupname.attr" value="cn"/>
                   <extendedProperty>
                        <name>group.mandatory.attrs</name>
                        <values>
                             <value>cn</value>
                             <value>objectClass</value>
                        </values>
                   </extendedProperty>
                   <extendedProperty>
                        <name>group.object.classes</name>
                        <values>
                             <value>top</value>
                             <value>groupOfUniqueNames</value>
                        </values>
                   </extendedProperty>
                   <extendedProperty>
                        <name>group.filter.object.classes</name>
                        <values>
                             <value>groupOfUniqueNames</value>
                        </values>
                   </extendedProperty>
                   <extendedProperty>
                        <name>group.member.attrs</name>
                        <values>
                             <value>uniqueMember</value>
                        </values>
                   </extendedProperty>
                   <extendedProperty>
                        <name>group.search.bases</name>
                        <values>
                             <value>o=groups,dc=company,dc=com</value>
                        </values>
                   </extendedProperty>
                   <extendedProperty>
                        <name>user.mandatory.attrs</name>
                        <values>
                             <value>cn</value>
                             <value>objectClass</value>
                             <value>sn</value>
                        </values>
                   </extendedProperty>
                   <extendedProperty>
                        <name>user.object.classes</name>
                        <values>
                             <value>organizationalPerson</value>
                             <value>person</value>
                             <value>inetOrgPerson</value>
                             <value>top</value>
                        </values>
                   </extendedProperty>
                   <extendedProperty>
                        <name>user.filter.object.classes</name>
                        <values>
                             <value>inetOrgPerson</value>
                        </values>
                   </extendedProperty>
                   <extendedProperty>
                        <name>user.search.bases</name>
                        <values>
                             <value>o=users,dc=company,dc=com</value>
                        </values>
                   </extendedProperty>
              </serviceInstance>
         </serviceInstances>
    <jpsContexts default="default">
    <jpsContext name="worklist">
    <serviceInstanceRef ref="credstore"/>
    <serviceInstanceRef ref="keystore"/>
    <serviceInstanceRef ref="policystore.xml"/>
    <serviceInstanceRef ref="audit"/>
    <serviceInstanceRef ref="idstore.ldap.opends"/>
    </jpsContext>
    </jpsContexts>
    </jpsConfig>
    but i get the error:
    Jul 2, 2009 12:52:40 PM oracle.security.jps.internal.idstore.util.IdentityStoreUtil getIdentityStoreFactory
    WARNING: The identity store factory name is not configured.
    Jul 2, 2009 12:52:40 PM oracle.bpel.services.common.ServicesLogger __logException
    SEVERE: <.> Error in authenticating user.
    Error in authenticating and creating a workflow context for user realm1/user1.
    Verify that the user credentials and identity service configurations are correct.
    ORABPEL-30501
    Error in authenticating user.
    Error in authenticating and creating a workflow context for user sigfe.com/user1.
    Verify that the user credentials and identity service configurations are correct.
    at oracle.bpel.services.workflow.verification.impl.VerificationService.authenticateUser(VerificationService.java:603)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    So, anyone knows how i can specify the identity store factory?
    or the correct parameters for a ldap identity store repository?
    I used the 11G documentation for the security file :
    http://download.oracle.com/docs/cd/E12839_01/core.1111/e10043/jpsprops.htm
    thanks

    I am having exactly the same issue. Once I configure jps-config.xml file to use my custom authenticator and login into the worklist app, the following gets thrown. I was wondering if you need map some roles to the existing users in the Custom Authenticator.
    Exception
    exception.70692.type: error
    exception.70692.severity: 2
    exception.70692.name: Error while granting BPMOrganizationAdmin role to SOAOperator.
    exception.70692.description: Error occured while granting the application role BPMOrganizationAdmin to application role SOAOperator.
    exception.70692.fix: In the policy store, please add SOAOperator role as a member of BPMOrganizationAdmin role, if it is not already present.

  • JANZ  User Properties in SOA Suite 11G

    Hi All,
    I am trying to configure users in Oracle SOA Suite 11G to JANZ Realm . I am able to add user.
    In documentation i see user property file present in this location "SOA_Oracle_Home\bpel\system\services\config\demo-users-properties.xml " , I don't have BPEL folder in SOA_SERVER1 , File available in 10G not in 11G.
    Basically i am looking to set Manager to users which i define.
    Users which i add in admin console are stored in WebLogin Embeded LDAP Server. I am able to see list of user by connecting server using LDAP Browser.
    When i try to add manager attribute using LDAP Browser , it fails , record is not displayed in Jdeveloper .
    Appreciate if your help in finding user properties or setting Manager role to the user. How can i add more attributes defined in documentation.
    Regards
    Vijay

    Hi Siva,
    I don't think still there is any support for PGP in Oracle SOA. You may use java for PGP encryption/decryption and transfer externally encoded messages over SFTP.
    Please refer -
    Re: PGP Encryption/Decryption
    PGP Encryption in B2B
    Regards,
    Anuj

  • Oerror while inserting in to 11g database from SOA suite 11g db adaptor

    Hi,
    I am getting following error while inserting in to 11g database from SOA suite 11g database adaptor. Can you please help me on this.
    "{http://schemas.oracle.com/bpel/extension}bindingFault" has been thrown.
    Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'insert' failed due to: DBWriteInteractionSpec Execute Failed Exception. insert failed. Descriptor name: [LoggerDBInsert.LoggedError]. Caused by java.sql.SQLSyntaxErrorException: ORA-01722: invalid number . ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. ORA-01722: invalid number 1722
    Regards,
    Bharat

    It looks like you try to insert a string-value in a number-column.
    can you check all your assign and their values before you invoke the db-adapter, then you should be able to narrow down the problem.

Maybe you are looking for

  • Create synonym in System trigger

    How would i create a synonym in a system trigger? I have created a trriger on CREATE,in which i m giving execute immediate command for creating a synonym and using dbms_job.submit . it is not giving any error but its not creating any synonym on the t

  • 3 different Business Service Layers - 1 Taskflow for 3 Applications

    Hello, I'm using JDEV 11.1.2.3 and have the following use case: I got 3 different Business Service Layers. All based on 3 different ADF BC projects with 3 different underlying DB schemas. On top i got 3 viewcontroller-projects. Now I'd like to put to

  • Problem in starting RMI server, help please

    Hi , all: I am learning RMI from SUN's tutorial. I set all of program packages as same as the tutorial, compiled all of programs . and built all of the jar files, the server classes and the client classes.When I run the server, ComputeEngine, it did

  • Can't Print this illustration

    Okay, first time in donkey's years I've had this 'Can't Print the illustration' window - brand new CS5 suite, brand new computer - 4 days old (Dell, 36bit - would prefer a Mac but there you go). History - large format packaging file - 600mm x 1200mm.

  • TS3694 have error code 3194. how can i get ride of it

    have error code 3194 on iphone 4..phone dose not turn on