SimpleApproval BPEL example - help

Hi,
I'm having trouble with the last step of setting up SimpleApproval. The section from the instructions is called "Create S2S Trusted Application", and also activating the BPEL process within Content DB.
Here is my setup. Everything is on one Windows XP machine:
- OAS Infrastructure 10.1.4
- Oracle Content Database 10.2
- Oracle SOA Suite 10.1.3.1
How is runS2S.sh supposed to work on Windows? Is this step necessary? Is there any way to create the application entity with Enterprise Manager?
When the user "matt" uploads a document in the folder "Development", it doesn't trigger the workflow and the BPEL process isn't activated. The file domain.log has the following message (see below). Is this because there's no S2S trusted application?
Can anyone help?
Thanks,
Tom
ORABPEL-05002
Error in message routine.
An exception occurred while attempting to process the message "com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessage" The following exception was thrown. Block could not handle the exception. Der Versuch des Blocks "BpPrc0", die Business Exception für die Instanz "20001" zu behandeln, war nicht erfolgreich. Es wurde folgende Exception gemeldet: faultName: {{http://schemas.oracle.com/bpel/extension}bindingFault}
messageType: {null}
parts: {{code=oracle.xml.parser.v2.XMLElement@b759bb, summary=oracle.xml.parser.v2.XMLElement@164317d, detail=oracle.xml.parser.v2.XMLElement@ed3da6}}
Wenn dieser Block für den Prozess eine benutzerdefinierte Codierung hat, überprüfen Sie die Implementierung.
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:171)
at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
at sun.reflect.GeneratedMethodAccessor50.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at oracle.j2ee.connector.messageinflow.MessageEndpointImpl.OC4J_invokeMethod(MessageEndpointImpl.java:297)
at WorkerBean_EndPointProxy_4bin6i8.onMessage(Unknown Source)
at oracle.j2ee.ra.jms.generic.WorkConsumer.run(WorkConsumer.java:266)
at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
at java.lang.Thread.run(Thread.java:595)

Turns out - by allocating a NEW workspace and new project as Synchronous - and using wizard - application works as advertized. the exprssion syntax used for the Eclipse version is NOT the same - variable names differ.

Similar Messages

  • Help with SimpleApproval BPEL sample

    Hi,
    I'm having trouble with the last step of setting up SimpleApproval, "Create S2S Trusted Application", and also activating the BPEL process within Content DB.
    Here is my setup. Everything is on one Windows XP machine:
    - OAS Infrastructure 10.1.4
    - Oracle Content Database 10.2
    - Oracle SOA Suite 10.1.3.1
    How is runS2S.sh supposed to work on Windows? Is this step necessary? Is there any way to create the application entity with Enterprise Manager?
    When the user "matt" uploads a document in the folder "Development", it doesn't trigger the workflow and the BPEL process isn't activated. The file domain.log has the following message (see below). Is this because there's no S2S trusted application?
    Can anyone help?
    Thanks,
    Tom
    ORABPEL-05002
    Error in message routine.
    An exception occurred while attempting to process the message "com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessage" The following exception was thrown. Block could not handle the exception. Der Versuch des Blocks "BpPrc0", die Business Exception für die Instanz "20001" zu behandeln, war nicht erfolgreich. Es wurde folgende Exception gemeldet: faultName: {{http://schemas.oracle.com/bpel/extension}bindingFault}
    messageType: {null}
    parts: {{code=oracle.xml.parser.v2.XMLElement@b759bb, summary=oracle.xml.parser.v2.XMLElement@164317d, detail=oracle.xml.parser.v2.XMLElement@ed3da6}}
    Wenn dieser Block für den Prozess eine benutzerdefinierte Codierung hat, überprüfen Sie die Implementierung.
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:171)
         at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
         at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
         at sun.reflect.GeneratedMethodAccessor50.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at oracle.j2ee.connector.messageinflow.MessageEndpointImpl.OC4J_invokeMethod(MessageEndpointImpl.java:297)
         at WorkerBean_EndPointProxy_4bin6i8.onMessage(Unknown Source)
         at oracle.j2ee.ra.jms.generic.WorkConsumer.run(WorkConsumer.java:266)
         at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
         at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
         at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
         at java.lang.Thread.run(Thread.java:595)

    Hi ChristianRoth,
    Take a look at this tutorial; it addresses how to change the duty cycle dynamically. I hope it is helpful, 
    Ana P
    National Instruments
    Applications Engineer

  • WSIF - Can we return java class back to bpel (PLEASE HELP)

    Scenario : We have old project and migrating to Oracle BPEL.
    In this project we have Java Files and inside that java files we have many functions which return java object. Is it possible to return java value object to bpel process.
    Steps which i have followed:
    1. Created a WSDL file using the control file given below.
    2. Changed the name spaces and types generated to XFMFRq and TXNLog as i/p and o/p.
    3. Imported same file into oracle bpel.
    4. Called the function : logbegin.
    EXCEPTION : The types are not compactable is the exception we are getting but we are able to call the function and execute first line but not able to return TXNLOG class as an xml element to bpel.
    For Example :
    1. Java Method and this method returns Java Value Object
    Java Control which has TXNLOG as the value object which will return the value.
    CONTROL FILE
    public TxnLog logBegin(com.hp.rtfs.xfmf.doc.XFMFRqDocument requestXML)throws Exception
    //LogUtil.logDebug(LogConstants.MODULE_BPM,BPM_CONTROL_NAME,"Enter Method logBegin ");
    txnLog=new TxnLog();
    try
    System.out.println("AMMA1121212");
    LogUtil.logDebug(LogConstants.MODULE_BPM,BPM_CONTROL_NAME,"Entering Top user id update in LogBegin");
    txnLog.setTlogChannelLoginId("AMMA1");
    txnLog.setTlogChannelUserId("AMMA2");
    System.out.println("AMMA2");
    txnLog.setTlogChinChannelId("ATM");
    txnLog.setTlogChannelSessionId("SESSION-1111");
    System.out.println("AMMA3");
    txnLog.setTlogCustCifKey((new Long("121212")));
    txnLog.setTlogEmtnTxnCd("TXN-001");
    System.out.println("AMMA4");
    txnLog.setTlogSendIpAddr("10.1.1.1");
    txnLog.setTlogChannelTxnSeqId(new Integer("1212"));
    System.out.println("AMMA5");
    TxnLogPK txnLogPk=new TxnLogPK(new Integer("121212"),
    DateUtil.getDate(requestXML.getXFMFRq().getMsgRqHdr().getUID().getRTFSTransSeqUIDDt()),"1212");
    txnLog.setTxnLogPK(txnLogPk);
    System.out.println("AMMA6");
    catch(Exception e)
    //LogUtil.logError(LogConstants.MODULE_BPM,BPM_CONTROL_NAME,"Exception "+e.getMessage());
    e.printStackTrace();
    return txnLog;
    TXN LOG value object is :
    // Oracle JDeveloper Stub Generated Source
    package com.hp.rtfs.ods.infra.trx;
    public class TxnLog
         implements java.io.Serializable
         // Constructors
         public TxnLog(com.hp.rtfs.ods.infra.trx.TxnLogPK p1, java.lang.Long p2, java.lang.String p3, java.util.Calendar p4, java.lang.String p5, java.lang.String p6, java.lang.String p7, java.lang.String p8, java.lang.String p9, java.lang.Integer p10, java.util.Calendar p11, java.lang.String p12, com.hp.rtfs.ods.infra.channel.ChannelInfo p13, java.util.Set p14) { }
         public TxnLog() { }
         public TxnLog(com.hp.rtfs.ods.infra.trx.TxnLogPK p1, java.util.Set p2) { }
         // Fields
         private com.hp.rtfs.ods.infra.trx.TxnLogPK TxnLogPK;
         private java.lang.Long tlogCustCifKey;
         private java.lang.String tlogEmtnTxnCd;
         private java.util.Calendar tlogStartDt;
         private java.lang.String tlogStat;
         private java.lang.String tlogSendIpAddr;
         private java.lang.String tlogChannelUserId;
         private java.lang.String tlogChannelLoginId;
         private java.lang.String tlogChannelSessionId;
         private java.lang.Integer tlogChannelTxnSeqId;
         private java.util.Calendar tlogEndDt;
         private java.lang.String tlogChinChannelId;
         private com.hp.rtfs.ods.infra.channel.ChannelInfo channelInfo;
         private java.util.Set txnLogDatas;
         // Methods
         public com.hp.rtfs.ods.infra.trx.TxnLogPK getTxnLogPK() { }
         public void setTxnLogPK(com.hp.rtfs.ods.infra.trx.TxnLogPK p1) { }
         public java.lang.Long getTlogCustCifKey() { }
         public void setTlogCustCifKey(java.lang.Long p1) { }
         public java.lang.String getTlogEmtnTxnCd() { }
         public void setTlogEmtnTxnCd(java.lang.String p1) { }
         public java.util.Calendar getTlogStartDt() { }
         public void setTlogStartDt(java.util.Calendar p1) { }
         public java.lang.String getTlogStat() { }
         public void setTlogStat(java.lang.String p1) { }
         public java.lang.String getTlogSendIpAddr() { }
         public void setTlogSendIpAddr(java.lang.String p1) { }
         public java.lang.String getTlogChannelUserId() { }
         public void setTlogChannelUserId(java.lang.String p1) { }
         public java.lang.String getTlogChannelLoginId() { }
         public void setTlogChannelLoginId(java.lang.String p1) { }
         public java.lang.String getTlogChannelSessionId() { }
         public void setTlogChannelSessionId(java.lang.String p1) { }
         public java.lang.Integer getTlogChannelTxnSeqId() { }
         public void setTlogChannelTxnSeqId(java.lang.Integer p1) { }
         public java.util.Calendar getTlogEndDt() { }
         public void setTlogEndDt(java.util.Calendar p1) { }
         public java.lang.String getTlogChinChannelId() { }
         public void setTlogChinChannelId(java.lang.String p1) { }
         public com.hp.rtfs.ods.infra.channel.ChannelInfo getChannelInfo() { }
         public void setChannelInfo(com.hp.rtfs.ods.infra.channel.ChannelInfo p1) { }
         public java.util.Set getTxnLogDatas() { }
         public void setTxnLogDatas(java.util.Set p1) { }
         public java.lang.String toString() { }
         public boolean equals(java.lang.Object p1) { }
         public int hashCode() { }
    ---------------------------------------------------------------------------

    I have been bragging to my clients the benefits of
    Java Applications, but one thing I couldn't convince
    them is the use of a JVM. They dislike the idea of
    downloading the JRE, and the slowness of programs
    running in an interpreter. I am stumped for not being
    able to satisfy their need for a .EXE program on their
    Win32 systems. And, it would be ridiculous to go back
    again to C++, after learning Java. I'm not going to address the JRE distribution as it's already been mentioned and there are several ways of approaching that problem that you can find easily in the forum so I won't waste space for it here.
    What you need to address more than anything is the supposed slowness of java programs. The question at hand is slow as compared to what? In what context? A benchmark can be twisted to show whatever the author of the report wants it to show. Thus I tend to distrust such statistics in general due to the economical influence of the author or comissioner of the report being in the business of trying to sell something. Exactly what are they calling slow and what causes this perception on their part? I wouldn't sidestep the issue, or try to B.S. about it, but I'd be willing to bet that their fears are unfounded and based on superstition and hearsay.
    >
    Is their a tool or a way to convert .CLASS files into
    .EXE(Win32) files, to make it execute faster and
    independent? I know it would sacrifice portability,
    but I have to give in to demands. As they say it,
    "The customers are always right." Please, anybody out
    there, shed some light for me on this one. Thanx in
    advance.
    BlueKnyght.ph

  • Where can find a simple BPEL example using Jdeveloper

    Hi, I'm a beginner of BPEL. I searched about BPEL developing documents on OTN, but I cannot find an example for Jdeveloper. Who can tell me how Jdeveloper create a BPEL project, then call the BPEL in JSP/JSF.
    Thanks.
    Stone

    Hi,
    take a look at this document:
    http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28983/toc.htm
    or more detailed at
    http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28981/toc.htm

  • Mutliple wsdl operations for a port in BPEL Project -- Help

    I was trying to create a BPEL project with multiple operations for one port type. I used a pick activity and on message acitivity to branch out based on the operation. For some reason all the operations are channeled through the same branch (operation). Please share with me your experiences and any simple project.
    -----------------wsdl file -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="MultiWsdl"
    targetNamespace="http://xmlns.oracle.com/MultiWsdl"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:client="http://xmlns.oracle.com/MultiWsdl"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    TYPE DEFINITION - List of services participating in this BPEL process
    The default output of the BPEL designer uses strings as input and
    output to the BPEL Process. But you can define or import any XML
    Schema type and use them as part of the message types.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://xmlns.oracle.com/MultiWsdl" schemaLocation="MultiWsdl.xsd" />
    </schema>
    </types>
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    MESSAGE TYPE DEFINITION - Definition of the message types used as
    part of the port type defintions
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    <message name="MultiWsdlRequestMessage">
    <part name="payload" element="client:MultiWsdlProcessRequest"/>
    </message>
    <message name="MultiWsdlResponseMessage">
    <part name="payload" element="client:MultiWsdlProcessResponse"/>
    </message>
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    PORT TYPE DEFINITION - A port type groups a set of operations into
    a logical service unit.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    *<!-- portType implemented by the MultiWsdl BPEL process -->
    *<portType name="MultiWsdl">
    *<operation name="Create">
    *<input message="client:MultiWsdlRequestMessage"/>
    *<output message="client:MultiWsdlResponseMessage"/>
    *</operation>
    *<operation name="Update">
    *<input message="client:MultiWsdlRequestMessage"/>
    *<output message="client:MultiWsdlResponseMessage"/>
    *</operation>
    *</portType>
    <!-- portType implemented by the requester of MultiWsdl BPEL process
    for asynchronous callback purposes
    -->
    <portType name="MultiWsdlCallback">
    <operation name="TestReply">
    <input message="client:MultiWsdlResponseMessage"/>
    </operation>
    </portType>
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    PARTNER LINK TYPE DEFINITION
    the MultiWsdl partnerLinkType binds the provider and
    requester portType into an asynchronous conversation.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    <plnk:partnerLinkType name="MultiWsdl">
    <plnk:role name="MultiWsdlProvider">
    <plnk:portType name="client:MultiWsdl"/>
    </plnk:role>
    <plnk:role name="MultiWsdlRequester">
    <plnk:portType name="client:MultiWsdlCallback"/>
    </plnk:role>
    </plnk:partnerLinkType>
    </definitions>
    ---------------- Bpel File ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    <?xml version = "1.0" encoding = "UTF-8" ?>
    <!--
    Oracle JDeveloper BPEL Designer
    Created: Thu Nov 06 21:46:50 PST 2008
    Author:
    Purpose: Asynchronous BPEL Process
    -->
    <process name="MultiWsdl" targetNamespace="http://xmlns.oracle.com/MultiWsdl"
    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:ldap="http://schemas.oracle.com/xpath/extension/ldap"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:client="http://xmlns.oracle.com/MultiWsdl"
    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">
    <!--
    PARTNERLINKS
    List of services participating in this BPEL process
    -->
    <partnerLinks>
    <!--
    The 'client' role represents the requester of this service. It is
    used for callback. The location and correlation information associated
    with the client role are automatically set using WS-Addressing.
    -->
    <partnerLink name="client" partnerLinkType="client:MultiWsdl"
    myRole="MultiWsdlProvider"
    partnerRole="MultiWsdlRequester"/>
    </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:MultiWsdlRequestMessage"/>
    <!-- Reference to the message that will be sent back to the requester during callback -->
    <variable name="outputVariable"
    messageType="client:MultiWsdlResponseMessage"/>
    <variable name="OnMessage_TestReq_InputVariable"
    messageType="client:MultiWsdlRequestMessage"/>
    <variable name="OnMessage_TestReq_InputVariable_1"
    messageType="client:MultiWsdlRequestMessage"/>
    <variable name="Reply_2_TestReq_OutputVariable"
    messageType="client:MultiWsdlResponseMessage"/>
    <variable name="Reply_1_TestReq_OutputVariable"
    messageType="client:MultiWsdlResponseMessage"/>
    </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 MultiWsdl.wsdl) -->
    <!--
    Asynchronous callback to the requester. (Note: the callback location and correlation id is transparently handled using WS-addressing.)
    -->
    <pick name="Pick_1" createInstance="yes">
    <onMessage portType="client:MultiWsdl" operation="Update"
    variable="OnMessage_TestReq_InputVariable_1"
    partnerLink="client">
    <sequence name="Sequence_1">
    <assign name="Assign_1">
    <copy>
    <from expression="'test'"/>
    <to variable="Reply_1_TestReq_OutputVariable"
    part="payload"
    query="/client:MultiWsdlProcessResponse/client:result"/>
    </copy>
    </assign>
    <reply name="Reply_2" partnerLink="client"
    portType="client:MultiWsdl" operation="Update"
    variable="Reply_1_TestReq_OutputVariable"/>
    </sequence>
    </onMessage>
    <onMessage portType="client:MultiWsdl" operation="Create"
    variable="OnMessage_TestReq_InputVariable"
    partnerLink="client">
    <sequence name="Sequence_2">
    <assign name="Assign_2">
    <copy>
    <from expression='"AB"'/>
    <to variable="Reply_2_TestReq_OutputVariable"
    part="payload"
    query="/client:MultiWsdlProcessResponse/client:result"/>
    </copy>
    </assign>
    <reply name="Reply_1" partnerLink="client"
    portType="client:MultiWsdl" operation="Create"
    variable="Reply_2_TestReq_OutputVariable"/>
    </sequence>
    </onMessage>
    </pick>
    </sequence>
    </process>
    ----------xsd -------
    <schema attributeFormDefault="unqualified"
    elementFormDefault="qualified"
    targetNamespace="http://xmlns.oracle.com/MultiWsdl"
    xmlns="http://www.w3.org/2001/XMLSchema">
    <element name="MultiWsdlProcessRequest">
    <complexType>
    <sequence>
    <element name="input" type="string"/>
    </sequence>
    </complexType>
    </element>
    <element name="MultiWsdlProcessResponse">
    <complexType>
    <sequence>
    <element name="result" type="string"/>
    </sequence>
    </complexType>
    </element>
    </schema>
    -----------------------------------------------------------------------------------------------------bpel.xml--------------------------------------------------
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <BPELSuitcase>
    <BPELProcess id="MultiWsdl" src="MultiWsdl.bpel">
    <partnerLinkBindings>
    <partnerLinkBinding name="client">
    <property name="wsdlLocation">MultiWsdl.wsdl</property>
    </partnerLinkBinding>
    </partnerLinkBindings>
    </BPELProcess>
    </BPELSuitcase>

    Thanks a lot. It helped me a lot. It seems this is the problem with the BPEL Console. I tried to create another BPEL Project to invoke the other service/operations. It worked perfectly fine. I had even tested with SoapUI. It worked fine. Thanks for the right pointer.

  • Weblogic examples help?

    I think I have gotten around the javai.dll problem by starting weblogic
    server from the setenv.cmd and startWeblogic.cmd. Is this right?
    I am trying to get the example appps to work but tehy won't. It keeps
    telling me the classes are not found. I have set JAVA_HOME to c:\jdk1.3 and
    I am using v.5.1. I have gone through the "Setting Your Development
    Environment" helpfile and none of that has seemed to help me. I am running
    this on NT server sp6. Can anyone point me in the right direction?

    "Jesse E Tilly" <[email protected]> wrote in message
    news:[email protected]..
    >
    But, to your problem. Things I would like to know include which JRE's are
    installed and which one was the last installed. I'd also like to knowyour
    system PATH (another thing configurable in a script, and thus easily
    changed or debugged). Here are the things I'll be looking for: multiple
    JRE's in the path, JRE registry confusion.WL_HOME is set as c:\weblogic
    JAVA_HOME is set as c:\jdk1.3
    PATH is set as %WL_HOME%\bin;%JAVA_HOME%:PATH
    So after running setenv.cmd my PATH is
    c:\weblogic\bin;c:\jdk1.3\bin;c:\WINNT\system32;c:\WINNT;c:\programfiles\MTS
    ;e:\MSSQL7\bin
    e is my other drive
    You can try this for kicks. Uninstall WebLogic and your JDK/JREs (JDK's
    include JREs). Install JDK 1.2.2 and WebLogic. (Make no properties
    changes) Start WebLogic from the Start menu and open a browser. Go to
    http://localhost:7001/session (one of the example servlets already
    installed and registered). This should work. If not either my memory
    about the base install is off (unlikely) or you have a registry conflict
    (previous installation of WebLogic, JDK, etc). Search the machine for
    javai.dll and see what you find.I have never been able to find Javai.dll, before or after changing JAVA_HOME
    which is what starts the problem.
    When I run the localhost URL it works fine(thanks) but none of the examples
    do. What could I be setting incorrectly for the Development environment?
    Thanks for your help

  • BPEL Example Hello World not synchronous 'Building SImple BPEL Process'

    Introduction to BPEL Process Manager Chapter 1 - shows an example using Eclpise. I am using JDeveloper. After inserting the expression syntax as shown, I get an error message for 'input' parameter. In any case even when modifiying syntax get an asynchrconous message.

    Turns out - by allocating a NEW workspace and new project as Synchronous - and using wizard - application works as advertized. the exprssion syntax used for the Eclipse version is NOT the same - variable names differ.

  • Bpel tutorial help !!!

    I am very new to the world of SOA and BPEL.. trying to follow tutorials and samples and am stuck at Loan Processing Tutorial
    http://download.oracle.com/docs/cd/B14099_19/integrate.1012/b15604/loandemo.htm#hytrlvjjh
    at instruction #5..
    Tutorial simply instructed us to go to "http://localhost:9700/StarLoanUI" , which only gives me 404 page not found error.. I am not sure how to proceed.. any help will be very much appreciated.. i m pulling my hair out ...
    I tired other variationss such is using my PC name instead of localhost... BPEL consile is running fine on 9700.
    Thanks much.

    thanks so much for helping me. After spending so much time, finally I find out that it was windows firewall that was stopping the .jsp pages to run. I stopped windows firewall and StarloanUI longin page showed up. then, I spend anotther days to find out the User ID and log in. Finally I was able to log in with jcooper, welcome1.
    I am stuck with another problem.. Complex Structure Tutorial (File Adapter). I am trying to create native xml schema for the sample Invoice file, using "multiple records of different types". However, I am not able to differentitate between 3 differnt types of records (buyer, seller and line item) in wizard. Is there anyway to accomplish this using wizard or do I need to create the schema file manually.
    invoice.txt
    6335722^Company One^First Street 999 San Jose 95129USCA650-801-6250
    ^Oracle^Bridge Parkway 1600 Redwood Shores 94065USCA650-506-7000
    001|BPEL Process Manager Enterprise Edition|20000,2,+40000+
    002|BPEL Process Manager Standard Edition|10000,5,+50000+
    003|BPEL Process Manager Developer Edition|1000,20,+20000+#110000
    first record is seller, second is buyer and last three lines should be of type line item.
    Thanks.

  • Keynote examples - HELP

    A few months back I stumbled across a fantastic example of Keynote on the Apple web site. It was not a video tutorial, but an actual presentation that allowed one to dissect and inspect how it was put together.
    I have been searching and searching for this but it seems that it has been pulled off the site.
    Does anyone either have a copy or know where I can get one? I am desperate for high tech examples from keynote and that one was perfect.
    Any help would be GREATLY appreciated.

    I'm not sure if it's .ppt, they are saved on my desktop, and i tried opening keynote and i clicked on file open but the powerpoint presentations weren't in bold so I couldn't click on them. I put them in my documents rather than on my desktop but I still couldn't open them, also I tried the other suggestion of clicking and pressing control and trying to pick the application to open them but Keynote wasn't in bold so I couldn't click on it. Any other suggestions whould be appreciated.
    -anaira~~~

  • Obfuscation examples/help

    Hi,
    I am looking for "real life" examples using the dbms_obfuscation_toolkit. We are trying to encrypt/decrypt social security numbers stored in our person information table. Any and all help would be greatly appreciated!

    Cool article. However, something to note:
    If your input message is not a multiple of 8 bytes, you will get this weird error which doesn't really tell you much:
    ERROR at line 1:
    ORA-28232: invalid input length for obfuscation toolkit
    ORA-06512: at "SYS.DBMS_OBFUSCATION_TOOLKIT_FFI", line 21
    ORA-06512: at "SYS.DBMS_OBFUSCATION_TOOLKIT", line 115
    ORA-06512: at line 7
    So something to watch out for.

  • Internationalised Example Help Needed

    My goal here is to put together an easily understandable example of an Internationalised stand-alone java application.
    To start, I would like to create a stand-alone java application that performs the following tasks:
    1. Has a pulldown that allows a user to select a language (English, Arabic, Korean, Greek, etc.) When the language is selected, I want to change the properties of a JTextFild so that when a user types in the JTextField, the characters that come out in the JTextField are in the language that was selected in the pulldown. I know how to create the pulldown, but how do I change the properties of the TextField dynamically?
    2. I have a JButton that, when pressed, stores the language selected AND the characters in the JTextField into a Sybase Database. It also adds the same info to a JList that displays a list of text strings (in the language that they were entered) with their selected language (in English). My questions here are:
    - How should I store the text in the database (Hex or Unicode?)
    - Is it possible to have a JList display different languages on different lines within the list?
    - Is there a generic font that can display ALL types of languages?
    Any help (especially code samples) would be greatly appreciated. I have read the tutorials on this site, but I didn't see anything that would help.

    What do you mean when you say "the characters that come out in the JTextField are in the language that was selected in the pulldown"? The characters that are displayed in the field depend on the characters that the user inputs. There are no properties to change.
    2. I have a JButton that, when pressed, stores the
    language selected AND the characters in the
    JTextField into a Sybase Database. It also adds the
    same info to a JList that displays a list of text
    strings (in the language that they were entered) with
    their selected language (in English). My questions
    here are:
    - How should I store the text in the database (Hex
    Hex or Unicode?)I don't know Sybase, so there may be implementation-specific issues, but for the DBs that I know, it would only make sense to configure the DB to store eveything in Unicode. If you store hex values, the DB will not be able to perform locale-dependent collation, etc.
    >
    - Is it possible to have a JList display different
    ent languages on different lines within the list?
    Yes, why not? As long as everything is in Unicode, you can display anything you want anywhere you want (single characters alternating, for that matter)
    - Is there a generic font that can display ALL
    ALL types of languages?Well, there are Unicode fonts that support MOST languages, but I think there will always be edge cases with new character sets that have only recently been added to the Unicode standard.
    Any help (especially code samples) would be greatly
    appreciated. I have read the tutorials on this site,
    but I didn't see anything that would help.In that case I recommend that you find some of the books on Java internationalization and study them. A simple Google search will also give you some helpful links.

  • About the dukesbank example,help!

    help...help........h..........e.........l.....p!!!!!!!
    hi,
    i need the dukesbank example to study ,but i can't find it ,where can i to download the example ?i have downloaded the j2ee sdk ,but not in it.Sun~~! how can you do this!

    download the java EE 5 tutorial (a .zip file). That has the examples in it, amongst them dukesbank.

  • JDBCDataSourceRuntimeMBean Example - Help?

    Hi everyone,
    I have a need to be able to suspend and resume a Weblogic 10.0 datasource in an integration test that is running outside of the container. The reason is that I am wanting to do this is to assert the behaviour of my application when a given database is not available temporarily.
    After looking at the Weblogic 10.0 documentation it seems I should use Weblogic's JDBCDataSourceRuntimeMBean for this purpose.
    So what I need is example code that shows me how to get a handle on the JDBCDataSourceRuntimeMBean for a given datasource from outside of the container and use it to call suspend and resume MBean methods.
    The examples in the edocs site are very hard to for a JMX newbie such as myself to understand and don't seem to be applicable to what I want to do.
    If someone could help me with the actual code to do this I would greatly greatly appreciate it.
    So far I have the following. It's the bit with the ??? I am struggling with.
    private   MBeanServerConnection connection;
    private  JMXConnector connector;
       public void initConnection(String protocol, String hostname, String portString,
                    String username, String password) throws IOException,
                    MalformedURLException {
                    Integer portInteger = Integer.valueOf(portString);
                    int port = portInteger.intValue();
                    String jndiroot = "/jndi/";
                    String mserver = "weblogic.management.mbeanservers.domainruntime";
                    JMXServiceURL serviceURL = new JMXServiceURL(protocol, hostname, port,
                    jndiroot + mserver);
                    Hashtable<String, Object> h = new Hashtable<String, Object>();
                    h.put(Context.SECURITY_PRINCIPAL, username);
                    h.put(Context.SECURITY_CREDENTIALS, password);
                    h.put(JMXConnectorFactory.PROTOCOL_PROVIDER_PACKAGES,
                       "weblogic.management.remote");
                    h.put("jmx.remote.x.request.waiting.timeout", new Long(10000));
                    connector = JMXConnectorFactory.connect(serviceURL, h);
                    connection = connector.getMBeanServerConnection();
         private JDBCDataSourceRuntimeMBean  getDataSourceMBean() {
                         //need help here -  how do I get a reference to the MBean for my datasource???
         private void disableDataSource() throws Exception {
              JDBCDataSourceRuntimeMBean jdbcMBean = getDataSourceMBean();
              jdbcMBean.suspend();
         private void reenableDataSource() throws Exception {
              JDBCDataSourceRuntimeMBean jdbcMBean = getDataSourceMBean();
              jdbcMBean.resume();
         }Kindest Regards,
    Graeme.
    Edited by graeme.miller at 04/13/2008 10:55 PM

    Hello.
    Comment out or remove this section
         /* comment out following if statement if you don't care about only showing one at a time */
         if(html_GetElement('P2_MULTIPLE').checked==false && g_LastRowOpened && g_LastRowOpened != l_TR){
              ShowHideDetailRow(g_LastDetailLabel,l_ThisTable,g_LastRowOpened,i); //hides last row shown and resets label
    or add a checkbox item to the page P2_MULTIPLE
    I also suggest debugging javascript using Firefox and the Firebug extension. http://www.getfirebug.com/ the instant I clicked the Show Detail it showed me right were the problem was. Even if your web audience is 100% IE when when developing the Firefox Firebug combination is the way to go you can always just use IE to QA.
    Carl

  • Example help

    Carl I found your example located at
    http://apex.oracle.com/pls/otn/f?p=11933:13:3295006254376178
    I have a report with a column that is a clob and was wondering if it is possible to use it as part of this example? I have been unsuccessful so far.
    I first created the following on demand process and call it from my report page.
    declare
    l_Id varchar2(4000);
    l_String clob;
    begin
    select OUTAGE_SUMMARY into l_String from "NEW_OUTAGE" where id = v('TEMPORARY_ITEM');
    htp.p('<pre>'||l_String||'</pre>');
    end;
    Then I created the following query
    select "ID",
    "START_DATE",
    "END_DATE",
    div onclick="showdetail(this,'|| "ID" ||')" style="cursor:hand;cursor:pointer;text-decoration:underline;font-weight:bold;">show_detail</div> detail
    from "NEW_OUTAGE""
    I also pasted your javascript into the HTML header of my report page. At this point I'm unsure if I need to create an item for temporary_item being called in my on demand process and in the ShowHideDeatilRow function of your script.
    Please help or is it not possible to implement this with a clob column?

    Hello.
    Comment out or remove this section
         /* comment out following if statement if you don't care about only showing one at a time */
         if(html_GetElement('P2_MULTIPLE').checked==false && g_LastRowOpened && g_LastRowOpened != l_TR){
              ShowHideDetailRow(g_LastDetailLabel,l_ThisTable,g_LastRowOpened,i); //hides last row shown and resets label
    or add a checkbox item to the page P2_MULTIPLE
    I also suggest debugging javascript using Firefox and the Firebug extension. http://www.getfirebug.com/ the instant I clicked the Show Detail it showed me right were the problem was. Even if your web audience is 100% IE when when developing the Firefox Firebug combination is the way to go you can always just use IE to QA.
    Carl

  • Problem with Multi File upload example, help needed

    I got the code from the following location.....
    http://www.adobe.com/devnet/coldfusion/articles/multifile_upload.html
    And I've got it to work to some degree except I cant get the file transfer to work when pressing, Upload.   Below is what my debugger outputs.  Any thoughts on how to fix this or even what it means?
    At the very bottom of this message is the upload.cfm code.......
    Thanks in advance for the help
    <html>
    <head>
      <title>Products - Error</title>
    </head>
    <body>
    <h2>Sorry</h2>
    <p>An error occurred when you requested this page.
    Please email the Webmaster to report this error.
    We will work to correct the problem and apologize
    for the inconvenience.</p>
    <table border=1>
    <tr><td><b>Error Information</b> <br>
      Date and time: 12/07/09 22:25:51 <br>
      Page:  <br>
      Remote Address: 67.170.79.241 <br>
      HTTP Referer: <br>
      Details: ColdFusion cannot determine how to process the tag &lt;CFDOCUMENT&gt;. The tag name may be misspelled.<p>If you are using tags whose names begin with CF but are not ColdFusion tags you should contact Allaire Support. <p>The error occurred while processing an element with a general identifier of (CFDOCUMENT), occupying document position (41:4) to (41:70).<p>The specific sequence of files included or processed is:<code><br><strong>D:\hshome\edejham7\edeweb.com\MultiFileUpload\upload.cfm      </strong></code><br>
      <br>
    </td></tr></table>
    </body>
    </html>
    <!---
    Flex Multi-File Upload Server Side File Handler
    This file is where the upload action from the Flex Multi-File Upload UI points.
    This is the handler the server side half of the upload process.
    --->
    <cftry>
    <!---
    Because flash uploads all files with a binary mime type ("application/ocet-stream") we cannot set cffile to accept specfic mime types.
    The workaround is to check the file type after it arrives on the server and if it is non desireable delete it.
    --->
        <cffile action="upload"
                filefield="filedata"
                destination="#ExpandPath('\')#MultiFileUpload\uploadedfiles\"
                nameconflict="makeunique"
                accept="application/octet-stream"/>
            <!--- Begin checking the file extension of uploaded files --->
            <cfset acceptedFileExtensions = "jpg,jpeg,gif,png,pdf,flv,txt,doc,rtf"/>
            <cfset filecheck = listFindNoCase(acceptedFileExtensions,File.ServerFileExt)/>
    <!---
    If the variable filecheck equals false delete the uploaded file immediatley as it does not match the desired file types
    --->
            <cfif filecheck eq false>
                <cffile action="delete" file="#ExpandPath('\')#MultiFileUpload\uploadedfiles\#File.ServerFile#"/>
            </cfif>
    <!---
    Should any error occur output a pdf with all the details.
    It is difficult to debug an error from this file because no debug information is
    diplayed on page as its called from within the Flash UI.  If your files are not uploading check
    to see if an errordebug.pdf has been generated.
    --->
            <cfcatch type="any">
                <cfdocument format="PDF" overwrite="yes" filename="errordebug.pdf">
                    <cfdump var="#cfcatch#"/>
                </cfdocument>
            </cfcatch>
    </cftry>

    Just 2 things in my test:
    1) I use no accept attribute. Coldfusion is then free to upload any extenstion.
    Restricting the type to application/octet-stream may generate errors. Also, it is unnecessary, because we perform a type check anyway.
    2) I have used #ExpandPath('.')#\ in place of #ExpandPath('\')#
    <cfif isdefined("form.filedata")>
    <cftry>
    <cffile action="upload"
                filefield="filedata"
                destination="#expandPath('.')#\MultiFileUpload\uploadedfiles\"
                nameconflict="makeunique">
            <!--- Begin checking the file extension of uploaded files --->
            <cfset acceptedFileExtensions = "jpg,jpeg,gif,png,pdf,flv,txt,doc,rtf"/>
            <cfset filecheck = listFindNoCase(acceptedFileExtensions,File.ServerFileExt)/>
    <!---
    If the variable filecheck equals false delete the uploaded file immediatley as it does not match the desired file types
    --->
            <cfif filecheck eq false>
                <cffile action="delete" file="#ExpandPath('.')#\MultiFileUpload\uploadedfiles\#File.ServerFile#"/>
                <cfoutput>Uploaded file deleted -- unacceptable extension (#ucase(File.ServerFileExt)#)</cfoutput>.<br>
            </cfif>
    Upload process done!
            <cfcatch type="any">
                There was an error!
                <cfdocument format="PDF" overwrite="yes" filename="errordebug.pdf">
                    <cfdump var="#cfcatch#"/>
                </cfdocument>
            </cfcatch>
    </cftry>
    <cfelse>
    <form method="post" action=<cfoutput>#cgi.script_name#</cfoutput>
            name="uploadForm" enctype="multipart/form-data">
            <input name="filedata" type="file">
            <br>
            <input name="submit" type="submit" value="Upload File">
        </form>
    </cfif>

Maybe you are looking for

  • Syntax error SAP_R1

    HI all I have tranferred all request number from development to quality server,when i am testing in quality server i am facing problem when i am creating IW31 order, i am getting error that syntax error SAP_R1 define the parameters for the formula in

  • SM04 Session does not end..Any Idea?

    Hi all, I noted that SAP R/3 session does not automatically ended after a user logs off from the ESS Frontend. This will result in a increase in session in SM04 eventhough the users had logout from the portal. I have adjusted some timeout parameter i

  • Business Graphics and Adobe Interactive Form

    Hi Friends, I generated charts in webdynpro using business graphics. Now, I need put this charts into a Adobe Form using Interactive Form Component. Is that possible? How can I do this? Thanks, Cristian

  • I can't read back what I wrote (to a file)

    I wrote a very large file (over several hundred hours) in textual form; each line is a long, output using toHexString() like this: 2092cc0ca723ec80 2092cc0ce463ec80 2092cc0d14a3ec80 2092cc0d14e3ec00 2092cc0d1523ec80 2092cc0d1563ec80 2092cc0d15a3ec80

  • Navigate to another application in the same window

    How can I navigate to another application in the same window? I know how to open in a new browser. Also, I cannot give a linktourl UI. I have to do it on click of a button. I can get the URL. How to go there now? Thanks in adv.