Embedded Java And BPEL

Hi All
I need some very urgent help. I had been working on TIBCO and XI till now and in a project currently using Oracle Fusion. I need to query a data from an LDAP service and post a collection of employees into a JMS Queue as an XML. Now I tried using Embedded java to query the LDAP service and that works fine and it returns me the employee details. I have an XSD file that represents how the data needs to be presented. I imported the XSD file into my project and created a variable of element type and chose the schema to be the XSD which I am pasting below. I tried all kinds of ways to populate the data but I always get a selection failure error.
I then just tried a simple setVariableData method to set the username and again i get the same error. How can I set the variable so that it returns me a collection back. Please help. I am pasting both the XSD as well as the java code that I tried to use. It would be great if someone could let me know what I have done wrong or is there any ways of doing this.
Thanks so much
<?xml version="1.0" encoding="windows-1252" ?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns="http://www.macerich.com/o2c"
targetNamespace="http://www.macerich.com/o2c"
elementFormDefault="qualified">
<xsd:complexType name="LDAPEmployeeType">
<xsd:sequence>
<xsd:element name="UserId" type="xsd:string"/>
<xsd:element name="firstName" type="xsd:string"/>
<xsd:element name="lastName" type="xsd:string"/>
<xsd:element name="operation" type="xsd:string"/>
<xsd:element name="effectiveStartDate" type="xsd:date"/>
<xsd:element name="effectiveEndDate" type="xsd:date"/>
<xsd:element name="email" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="LDAPEmployeeCollection">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="LDAPEmployee" type="LDAPEmployeeType" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="Status" type="xsd:string"/>
</xsd:schema>
Java Code I have written
try
setVariableData("Variable_1","LDAPEmployeeCollection","/ns1:LDAPEmployee/ns1:UserId")
catch(Exception e)
setVariableData("Variable_2",e.toString());
addAuditTrailEntry(e);
}

Hi Marc
I tried what you had suggested but i always get a BPEL error stating a selection failure.
Im pasting my Java Code here with
try
java.util.Hashtable env = new java.util.Hashtable();
env.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory");
env.put(javax.naming.Context.PROVIDER_URL, "ldap://saturn:389");
env.put(javax.naming.Context.SECURITY_AUTHENTICATION, "simple");
env.put(javax.naming.Context.SECURITY_PRINCIPAL, "serenecorp\\rmohammed");
env.put(javax.naming.Context.SECURITY_CREDENTIALS, "s3r3n3!");
// Create initial context
javax.naming.directory.DirContext ctx = new javax.naming.directory.InitialDirContext(env);
//System.out.println(ctx.lookup("OU=Consultants,DC=serenecorp,DC=com "));
// Specify the ids of the attributes to return
String[] attrIDs = {"sn", "givenName", "mail", "createTimeStamp"};
javax.naming.directory.SearchControls ctrls = new javax.naming.directory.SearchControls();
ctrls.setReturningAttributes(attrIDs);
// Specify the attributes to match
//Attributes matchAttrs = new BasicAttributes(true);
//matchAttrs.put(new BasicAttribute("sAMAccountName", "jale*"));
String filter = "(&(sAMAccountName=*)(createTimeStamp>=20061116221624.0Z ))";
//matchAttrs.put(new BasicAttribute("createTimeStamp", "> 20061115221624.0Z"));
setVariableData("Variable_3","test2");
// Search for objects that have those matching attributes
//NamingEnumeration answer = ctx.search("OU=Consultants,DC=serenecorp,DC=com", matchAttrs, attrIDs);
javax.naming.NamingEnumeration answer = ctx.search("OU=Consultants,DC=serenecorp,DC=com", filter, ctrls);
javax.xml.parsers.DocumentBuilderFactory domFactory = null;
     javax.xml.parsers.DocumentBuilder domBuilder = null;
     domFactory = javax.xml.parsers.DocumentBuilderFactory.newInstance();
domBuilder = domFactory.newDocumentBuilder();
     org.w3c.dom.Document newDoc = domBuilder.newDocument();
     org.w3c.dom.Element rootElement = newDoc.createElement("LDAPEmployeeCollection");
rootElement.setAttributeNS("ns1","ns1","http://www.macerich.com/o2c");
newDoc.appendChild(rootElement);
while (answer.hasMore())
setVariableData("Variable_3","test3");
javax.naming.directory.SearchResult sr = (javax.naming.directory.SearchResult)answer.next();
System.out.println(">>>" + sr.getName());
          javax.naming.directory.Attributes attrs = sr.getAttributes();
if (attrs == null)
System.out.println("No attributes");
          else
org.w3c.dom.Element rowElement = newDoc.createElement("LDAPEmployeeType");
rowElement.setAttributeNS("ns1","ns1","http://www.macerich.com/o2c");
               /* Print each attribute */
               for (javax.naming.NamingEnumeration ae = attrs.getAll(); ae.hasMore();)
javax.naming.directory.Attribute attr = (javax.naming.directory.Attribute)ae.next();
String id =attr.getID().toString();
if(id.equals("sn"))
id = "UserId";
else if(id.equals("givenName"))
id ="firstName";
else if(id.equals("mail"))
id ="email";
else if(id.equals("createTimeStamp"))
id="effectiveStartDate";
System.out.println("attribute: " + attr.getID());
System.out.println("Value: " + attr.get());
org.w3c.dom.Element curElement = newDoc.createElement(id);
curElement.appendChild(newDoc.createTextNode(attr.get().toString()));
rowElement.appendChild(curElement);
setVariableData("Variable_3","test4");
rootElement.appendChild(rowElement);
// Print the answer
//printSearchEnumeration(answer);
javax.xml.transform.TransformerFactory tranFactory = javax.xml.transform.TransformerFactory.newInstance();
javax.xml.transform.Transformer aTransformer = tranFactory.newTransformer();
     javax.xml.transform.Source src = new javax.xml.transform.dom.DOMSource(newDoc);
javax.xml.transform.Result dest = new javax.xml.transform.stream.StreamResult(new java.io.File("c:/test.xml"));
aTransformer.transform(src, dest);
org.w3c.dom.NodeList nl = newDoc.getElementsByTagName("LDAPEmployeeCollection");
org.w3c.dom.Node nd = nl.item(0);
System.out.println("XML---"+rootElement.toString());
setVariableData("Variable_1","LDAPEmployeeCollection",newDoc);
// Close the context when we're done
ctx.close();
catch (Exception e)
setVariableData("Variable_3",e.toString());
addAuditTrailEntry(e);
I tried numerous things and today is the final day for my code completion. So i am in a bit of trouble. I just cant figure out what I have done wrong here. I have created a DOM document as you had suggested and then done a setVariableData onto the Variable_1 that i had created selecting the xsd that I had pasted in my previous post as the schema for the variable. I have the namespace set corretly as well. Any suggestions.
Thanks so much in advance
Message was edited by:
user593748

Similar Messages

  • Error while embedding java into BPEL

    Hi Guys,
    I am getting the following error while embedding Java into BPEL.
    Error: C:\unzipjdev\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\.client (The system cannot find the file specified)
    i checked for .client content , it is not available in the directory.
    Does anybody know about this?

    could you please provide the java exec code snippet that you use in bpel? there is a sample under samples/references/JavaExec

  • Using embedded Java in BPEL 2.0

    I have found a lot of write ups but am having difficulty.
    My problem is a failure to deploy by composite. I get the message below:
    Redeploying on /Farm_soadev_domain/soadev_domain/AdminServer ...
    Redeploying on "/Farm_soadev_domain/soadev_domain/AdminServer" failed!
    There was an error deploying/undeploying composite on AdminServer: Error occurred during deployment of component: formatDate to service engine: implementation.bpel for composite: formatData: ORABPEL-05250
    Error deploying BPEL suitcase.
    error while attempting to deploy the BPEL component file "E:\Oracle\Middleware\user_projects\domains\soadev_domain\servers\AdminServer\dc\soa_c8abc64b-8475-4479-b54b-b36e4f44c37a"; the exception reported is: java.lang.RuntimeException: failed to compile execlets of formatDate
    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).
    To simplify the issue I have reduced my code snippet to:
    /*Write your java code below e.g.
      System.out.println("Hello, World");
    String testOne = "Hi Mom";
    The embedded section looks like:
        <extensionActivity>
          <bpelx:exec name="decodeBinary" language="java">
            <![CDATA[
    /*Write your java code below e.g. 
      System.out.println("Hello, World");
    String testOne = "Hi Mom";]]>
          </bpelx:exec>
        </extensionActivity>

    I read the blog post here
    Embedding Java in BPEL process
    Based on that I created this test class to help write code:
    The bolded code is the snippet I actually want to implement when I can solve the problem above.
    package com.f17.customfunction;
    import com.collaxa.cube.engine.ext.bpel.v1.nodes.BPELXExecLet;
    public class codeTyper extends BPELXExecLet {
        public codeTyper() {
            super();
        public void exec(){
         // below code gets pasted in here
    String input = (String)getVariableData("testfile");
    oracle.soa.common.util.Base64Decoder Decoder = new oracle.soa.common.util.Base64Decoder(); 
    try { 
    byte[] decodedByteArray = oracle.soa.common.util.Base64Decoder.decode(input.getBytes());
    setVariableData("compANDstore_merge_InputVariable.AusCreditCollection/ns2:AusCredit/ns2:fileData,decodedByteArray",decodedByteArray);
    } catch(Exception e) {
    e.printStackTrace();

  • Embedded Java in BPEL and exception handling

    Hello everybody,
    i want to use some embedded java code in my BPEL process (bpelx:exec). This code would sometimes throw exceptions. How can i deal with these exceptions to control my BPEL process? I would like, in a sense, to do some catching of java exceptions but at the BPEL level... for example, my java code would throw an exception, that my BPEL process would "catch" and react the way i want. Is it possible to do that?
    Thanks for your help!
    Nicolas

    you need to throw a com.oracle.bpel.client.BPELFault ..
    from the code
    * This class represents a standard fault that may be thrown by the server
    * during run-time. A BPEL fault has defined, minimally, a QName that
    * corresponds to the fault name (there are several standard faults that
    * are supported, please refer to Appendix A - Standard Faults in the BPEL
    * 1.1 specification for a complete list).
    * <p>
    * This class can only be used from within a <code>bpelx:exec</code> activity;
    * the <code>throw</code> activity can be used from BPEL code.
    * <p>
    * Additional information (such as a fault variable) can be passed through
    * as a part. Currently, internal system errors populate error codes and
    * summary messages via parts.
    hth clemens

  • How to debug embedded Java in BPEL

    Is there a way to figure out why Java code embedded in a BPEL does not work?
    JDev 11.1.1.4

    What's not working??

  • ORABPEL-05250 - Deployment error after embedding java code

    hi i am getting the following error when deploying my composite i added embedded java and imported the necessary classes i think but if i take the embedded java out it deploys succsefully :
    [09:17:17 PM] Received HTTP response from the server, response code=500
    [09:17:17 PM] Error deploying archive sca_getPickFile_rev1.0.jar to partition "default" on server SANDPIT_SOA
    [09:17:17 PM] HTTP error code returned [500]
    [09:17:17 PM] Error message from server:
    There was an error deploying the composite on SANDPIT_SOA: Error occurred during deployment of component: processGetPckFile to service engine: implementation.bpel, for composite: getPickFile: ORABPEL-05250
    Error deploying BPEL suitcase.
    error while attempting to deploy the BPEL component file "/u01/oracle/FSOAS/product/fmw/user_projects/domains/FSOAS_domain/servers/SANDPIT_SOA/dc/soa_e76b434b-6704-4820-b544-ad56277e0fd9"; the exception reported is: java.lang.RuntimeException: failed to compile execlets of processGetPckFile
    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).
    [09:17:17 PM] Check server log for more details.
    [09:17:17 PM] Error deploying archive sca_getPickFile_rev1.0.jar to partition "default" on server SANDPIT_SOA
    [09:17:17 PM] #### Deployment incomplete. ####
    [09:17:17 PM] Error deploying archive file:/C:/JDeveloper/mywork/pdfService/getPickFile/deploy/sca_getPickFile_rev1.0.jar
    (oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)

    Hi
    some times this error comes if the Packages for using JAVA are not i mported into BPEL Weused to get same error but after importing the packages the error usually used to be solved please check whether if the class files which you are using are correctly imported or not
    ex
    <import location="java.util.Properties"
    importType="http://schemas.oracle.com/bpel/extension/java"/>
    <import location="java.io.*"
    importType="http://schemas.oracle.com/bpel/extension/java"/>

  • Invocation error in Java Embedding activity of BPEL process in 10g

    Hi,
    I am facing an issue as below in Java embedding activity of BPEL process in 10g...
    Could not invoke: "GTM servlet URL" with verb: POST and context: null
    and the code in java embedding activity is as below...
    // create a new rest invoker stub
    RestInvocation invocation = new RestInvocation();
    org.w3c.dom.Element callOtm_process_InputVariable = (org.w3c.dom.Element)getVariableData("Variable_GTMTransmission");
    // get the result el - so we can derive the namespace needed
    org.w3c.dom.Element callOtm_process_OutputVariable = (org.w3c.dom.Element)getVariableData("Variable_GTMTransmissionAck");
    String GTMURL = "GTM servlet URL";
    try
    callOtm_process_OutputVariable = invocation.invoke
    (callOtm_process_InputVariable, "GET", GTMURL, null,
    callOtm_process_OutputVariable.getNamespaceURI());
    setVariableData("Variable_GTMTransmissionAck", callOtm_process_OutputVariable);
    } finally
    addAuditTrailEntry(invocation.getAuditAsString());
    If anybody is aware of this error, please help me to resolve this issue.
    Thanks in advance.

    Try copy the code from java embedding and paste it to eclipse and run it from there. you will find the exact issue.
    Thanks

  • Pass the BPEL Input Payload to Embedded Java Program

    Please let me know how can we pass the Input to a BPEL process to the embedded Java Program.
    Requirement:
    To pass the payload recieved by the BPEL process to a Java method using embedded java activity where we can parse/modify this payload
    I tried this approach
    Object obj = (Object)getVariableData('variableName');
    //call to java method with obj as argument
    //In java method
    XMLElement xmlElement = (XMLElement)obj;
    thereafter I am trying to read the nodes of this element but this is not working.
    Please point me to any document/tutorial/examples in this context.
    Thanks

    Hi
    the getVariableData() method returns a org.w3c.dom.Element object (10.1.3 version).
    So I believe you should use something like:
    Object obj = (Object)getVariableData('variableName');
    //call to java method with obj as argument
    //In java method
    org.w3c.dom.Element xmlElement = (org.w3c.dom.Element)obj;
    And to read a node use this:
    org.w3c.dom.Node node = xmlElement.getFirstChild().getNodeValue();
    However I never tried getVariableData('variableName'), I tried getVariableData('variableName','partName','query') so I don´t know the diferences between these two methods, but I hope this helps you.

  • Unable to call Java class method within Embedding Java Activity in BPEL

    Hi ,
    I have written Java Class named 'Class3' .
    When I am creating and trying to call these classes whithin Embedding Java Activity , compile time error is coming. Compiler is not finding class . Error message is like this one.
    uildfile: C:\Oracle\Middleware\jdeveloper\bin\ant-sca-compile.xml
    scac:
    [scac] Validating composite : 'C:\JDeveloper\mywork\Application7\Embedded15\composite.xml'
    [scac] C:\JDeveloper\mywork\Application7\Embedded15\SCA-INF\bpel\BPELEmbedded15\src\orabpel\bpelembedded15\ExecLetBxExe0.java:73: cannot find symbol
    [scac] symbol : class Class3
    [scac] location: class orabpel.bpelembedded15.ExecLetBxExe0
    [scac] C:\JDeveloper\mywork\Application7\Embedded15\SCA-INF\bpel\BPELEmbedded15\src\orabpel\bpelembedded15\ExecLetBxExe0.java:73: cannot find symbol
    [scac] symbol : class Class3
    [scac] location: class orabpel.bpelembedded15.ExecLetBxExe0
    [scac] Note: C:\JDeveloper\mywork\Application7\Embedded15\SCA-INF\bpel\BPELEmbedded15\src\orabpel\bpelembedded15\BPEL_BIN.java uses unchecked or unsafe operations.
    [scac] Note: Recompile with -Xlint:unchecked for details.
    [scac] FATAL_ERROR: location {ns:composite/ns:component[@name='BPELEmbedded15']}(20,36): Failed to compile bpel generated classes.
    [scac] failure to compile the generated BPEL classes for BPEL process "BPELEmbedded15" of composite "default/Embedded15!1.0"
    [scac] The class path setting is incorrect.
    [scac] 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.
    [scac]
    BUILD FAILED
    C:\Oracle\Middleware\jdeveloper\bin\ant-sca-compile.xml:264: Java returned: 1 Check log file : C:\JDeveloper\mywork\Application7\Embedded15\SCA-INF\classes\scac.log for errors
    Total time: 8 seconds
    I am creating Class3 directly in Application Resources folder indide Project Folder in Jdeveloper without creating any package. Code of the class is .......
    public class Class3 {
    public Class3() {
    super();
    public String getValue(){
    return "BBBBBBB";
    Can any one help?
    Regards
    Yogendra Rishishwar
    9867927087

    Hi ,
    In your java project frm jdev..right click and choose general and then choose deployment profiles and then choose Jar ..and then give some appropriate name(abc) and then click ok.
    Then under resources file u get a abc.deploy file right click and say deploy to jar ..u will find the jar in that director.Now include this jar in your prjct libraries.
    have a look at the link http://niallcblogs.blogspot.com/search/label/embedded%20Java

  • How to use the Java embedding activity in BPel

    hi all,
    How to use the java embedding activity in BPEL
    pls can u provide sample example

    1 Use [Oracle BPEL Process Manager Client Java API Reference|http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28986/overview-summary.html] and especially [com.collaxa.cube.engine.ext|http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28986/com/collaxa/cube/engine/ext/BaseBPELXExecLet.html]
    Instead of System.Out.println use addAuditTrailEntry(java.lang.String message)
    2. If you want to import a package write in code (Source View) of bpel process
    +<bpelx:exec import="package_name"/>+ for example +<bpelx:exec import="java.util.regex.Matcher"/>+
    example 1:
    String bodyAsString;
    StringBuffer myStringBuffer = new StringBuffer();
    try {
    bodyAsString = (String)getVariableData("BodyString");
    addAuditTrailEntry("bodyAsString1: "+ bodyAsString);
    Pattern pattern = Pattern.compile("goodDay");
    Matcher matcher= pattern.matcher(bodyAsString);
    while (matcher.find()) {   
    matcher.appendReplacement(myStringBuffer, "shitDay");
    matcher.appendTail(myStringBuffer);
    bodyAsString = myStringBuffer.toString();
    addAuditTrailEntry("bodyAsString2: "+ bodyAsString);
    } catch (Exception ex) {
    addAuditTrailEntry("Failed+bodyAsString",ex.getMessage());
    I put in code (Source View) the following
    <bpelx:exec import="java.util.regex.Matcher"/>
    <bpelx:exec import="java.util.regex.Pattern"/>
    example2:
    Object temp;
    try {
    temp = ((XMLElement)getVariableData("inputVariable","payload","/ns2:FiscalisMessage/ns2:Body")).getChildNodes().item(1);
    setVariableData("AdjReceipt",temp);
    addAuditTrailEntry("ok",temp.toString());
    catch (Exception ex) {
    addAuditTrailEntry("Failed :",ex);
    I put in code (Source View) the following
    <bpelx:exec import="oracle.xml.parser.v2.XMLElement"/>

  • Java and the embedded system

    Dear readers,
    I'm having a project in mind about developing an embedded system and I want to use the flexibility of java to implement it . I'm new to the embedded system, so please try to guide me and recomend me websites as much as you can.
    Thanks in advance

    brahim wrote:
    Dear readers,
    I'm having a project in mind about developing an embedded system and I want to use the flexibility of java to implement it . I'm new to the embedded system, so please try to guide me and recomend me websites as much as you can.[www.google.com|http://www.google.com/search?hl=en&q=java+embedded+system] is a good start.
    Thanks in advanceNo problem.

  • Synchronisation and concurrent programming for embedded Java

    Hi,
    I am looking for Informations about Synchronisation of concurrent access to Objekts for embedded Java applications. Are there Design Patterns or for this topic or general for Sync. in embedded Systems? And are there Embedded JVMs, with special Synchronisation for Embedded Java Apps? I am also looking for an Overview of existing Embedded JVMs of the market. Who can help with e.g. Infos, Books, Links and so on?
    Thanks

    [takeshi_fl],
    It is better for you to post this question under the topic "Embedded Java" on this forum website.

  • Siebel OnDemand Web Services and BPEL II

    We are trying to do a POC for a given client that is trying to decide between SOD and another on demand CRM product.
    Our POC is to integrate SOD using bpel and sending data to a back end system with SOD as the originator and instigator of the flow.
    We intend to take data from an integration event pull it into bpel do a transformation to add data to it and update SOD to complete the circuit.
    We are having a few issues and was wondering if you can provide some insight since we would like to put SOD at this site.
    Our issues are :)
    Issue 1
    When we import the WSDL for the Integration event the scheema's are not resolved.
    Issue 2. When we import more than one WSDL in our flow it has issues with duplicates between the 2 wsdls..
    issue 3.
    We have succesfully used the example application to do our login and faked out the endpoint but have not been able to automate this step.
    We found an example online at oracle ( http://www.oracle.com/technology/tech/fmw4apps/siebel/ofm-siebel-blog-postings.html)
    (We got that link from the other BPEL post: Siebel OnDemand Web Services and BPEL
    But when we copy the code into our embeded java object it doesn't work. I think that we may be missing some of the code to use.
    Do we have the full copy of this java object?
    here is hte error that we get from bpel
    Exception reported is: Siebel_On_Demand.bpel:33: Class bpel.p0.URL not found.
    URL wsURL = new URL(wsLocation + "?command=login");
    ^
    Siebel_On_Demand.bpel:33: Class bpel.p0.URL not found.
    URL wsURL = new URL(wsLocation + "?command=login");
    ^
    Siebel_On_Demand.bpel:34: Class bpel.p0.HttpURLConnection not found.
    HttpURLConnection wsConnection = (HttpURLConnection)wsURL.openConnection();
    ^
    Siebel_On_Demand.bpel:34: Class bpel.p0.HttpURLConnection not found.
    HttpURLConnection wsConnection = (HttpURLConnection)wsURL.openConnection();
    ^
    Siebel_On_Demand.bpel:42: Class bpel.p0.HttpURLConnection not found.
    if (wsConnection.getResponseCode() == HttpURLConnection.HTTP_OK)
    ^
    Siebel_On_Demand.bpel:42: Undefined variable or class name: HttpURLConnection
    if (wsConnection.getResponseCode() == HttpURLConnection.HTTP_OK)
    We appriciate any help that cam be provided :)
    Thanks
    Message was edited by:
    user642301

    I'm also trying to do this.
    Some info from the Siebel web services guide:-
    "The login request is an HTTPS request to instantiate a session and obtain a session ID. A client invokes login by sending an HTTP GET request to a URL like the following:
    https://secure.crmondemand.com/Services/Integration?command=login
    NOTE: The login parameter value is case sensitive.
    ■ Login input. The input to login is provided in the URL parameters and the HTTP headers, as follows:
    ■ The only URL parameter to be set is command. This parameter value is login.
    Two HTTP headers, UserName and Password, must be set with the appropriate values for your system. For example:
    ❏ UserName: [email protected]
    ❏ Password: mypass
    ■ Login output. The login command returns the following items:
    ■ A session cookie, jsessionid. The client must use this cookie when submitting subsequent requests, including logoff requests.
    ■ A status code of 200, if the session does not encounter any errors. This indicates that the request succeeded.
    Then to get data out ....
    Integration request input. The jsessionid returned to the client during login must be included with the request. The request must contain the jsessionid either as a cookie or as a URL parameter, as follows:
    https://secure.crmondemand.com/Services/Integration/object;jsessionid=xyZ12489w3482413
    Does anyone have any ideas on how we might do this using the Oracle BPEL PM?
    Thanks in advance.

  • View Compilation Errors in Embedded Java Activity

    Hi,
    Is there any way to see the compilation errors in the Embedded Java Activity in the BPEL.
    Thanks,
    Ajay

    Hi,
    Exceptions are automatically converted to BPEL faults and thrown back in BPEL.
    But to see some errors , one can use try catch block with audit trail entry in catch block like :
    try {
    catch (Exception e){
    addAuditTrailEntry(e);
    I have not used this so not sure if this will work.
    HTH,
    Ketan

  • Embedding java

    Hi Im embedding java into a BPEL process for the first time, if I create a class in my project and then import it into the BPEl project it will build and deploy but I'm getting this error in the flow:
    <javaException xmlns="http://schemas.oracle.com/bpel/extension">
    <part name ="summary">
    <summary>mypackage1.WriteFile.write()V</summary>
    </part>
    </javaException>
    Any help please!

    can u pls attach the stub for the method and the bpelx:java snippet u use to call this, to me it looks like an exception that happens while calling it..
    thx clemens

Maybe you are looking for

  • Black screen, powers up without hitting power button

    After 6 months my iMac G5 20" rev. B working fine (other than failing to sleep automatically - will sleep display but hard drive does not power down) I'm having problems. The screen goes black and I cannot re-boot: I get power but the screen either s

  • How to Re-Download movies and tv shows

    My hard drive recenctly crashed forcing me to reinstall OSX i had a bunch of stuff i donwnloaded from the itunes store that adds up to alot of money i am wondering if there is any possible way of getting them back? the items i downloaded are listed b

  • How to attach Task List in Notification

    Hi all How to attach Task List in Notification? Thanks.

  • Oracle 8i with P4 Compatibility

    I am trying to install Oracle 8i in Intel P4, the Installer comes up and when I select Install/Deinstall option it just dies. Can any one help me to fix the problem. null

  • How can I turn off sound for a single application?

    So I'm playing iTunes while browsing the web. I come to a webpage with some really annoying Macromdia Flash content. Lots of noise. I'd like to turn the sound off for my browser (Firefox) without turning off iTunes. Similar problem occurs when I'm pl