Asynchronous BPEL callback in version 11.1.1.5.0

The problem is when i call a composite that has a Asynchronous BPEL the result is included with and error, tried to fix it , google for an answer but no result.
i changed JTA transaction from 30 to 3600 seconds but it fixes nothing (the server responses in about 90 ms)
the exception:
<messages>
-<input>
-<outputVariable>
-<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload">
<sumBpel xmlns="http://www.example.org/bd">595</sumBpel>
</part>
</outputVariable>
</input>
-<fault>
-<exception class="com.collaxa.cube.engine.EngineException">
Global retry rollback fault thrown.
The current JTA transaction is aborting due to an user rollback fault being thrown. The upstream component should retry in a new JTA transaction upon catching this fault.
This exception was caused by a global retry fault being thrown from downstream component. The user had directed the BPEL engine to roll back the current JTA transaction and retry within new JTA transactions for the specified number of times and retry interval.
There is no action recommended.
-<stack>
<f>com.collaxa.cube.ws.WSInvocationManager.invoke#330</f>
<f>com.collaxa.cube.engine.ext.common.InvokeHandler.__invoke#1059</f>
<f>com.collaxa.cube.engine.ext.common.InvokeHandler.handleNormalInvoke#586</f>
<f>com.collaxa.cube.engine.ext.common.InvokeHandler.handle#130</f>
<f>com.collaxa.cube.engine.ext.bpel.common.wmp.BPELInvokeWMP.__executeStatements#74</f>
<f>com.collaxa.cube.engine.ext.bpel.common.wmp.BaseBPELActivityWMP.perform#158</f>
<f>com.collaxa.cube.engine.CubeEngine.performActivity#2543</f>
<f>com.collaxa.cube.engine.CubeEngine._handleWorkItem#1165</f>
<f>com.collaxa.cube.engine.CubeEngine.handleWorkItem#1071</f>
<f>com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal#73</f>
<f>com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage#220</f>
<f>com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory#328</f>
<f>com.collaxa.cube.engine.CubeEngine.endRequest#4430</f>
<f>com.collaxa.cube.engine.CubeEngine.endRequest#4361</f>
<f>com.collaxa.cube.engine.CubeEngine._createAndInvoke#698</f>
<f>com.collaxa.cube.engine.CubeEngine.createAndInvoke#555</f>
<f>...</f>
</stack>
</exception>
</fault>
</messages>
thanks

Hi, Mohammad;
Thanks
But,I tried partial trigger for the column and even for the table.
In separate VO, without Partial trigger, it also just refresh the second column.
But when using Join VO. when i select the value of the first column, it will refresh the table.

Similar Messages

  • BPEL Callback issue in Asynchronous service

    Hi,
    I’m sporadically getting Callback service issue with Asynchronous BPEL service. (SOA version is 11.1.14)
    Appreciate inputs to resolve it.
    The service is working as expected in most cases and is able to make a callback to the parent service, but random few instances give error – “Unable to access endpoint”
    <remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
    <part name="summary">
    <summary>
    oracle.fabric.common.FabricInvocationException: Unable to access the following endpoint(s): https://xxxxx.com:14002/soa-infra/services/default/POServices!1.0*soa_2c3cea4d-8791-453c-aed1-0569a86fa268/WorkFlowSvc%23POProcess/WorkFlowSvc
    </summary>
    The endpoint URI opens up in browser, so endpoint exists; and as mentioned above, many instances have completed successfully too.
    The service continues to be in running state and hence the parent process also remains in running state, unlike in success case when both get completed..
    Now, one observation is that the binding port and endpoint location given in code is http uri; not https
    So not sure why the deployed service is pointing to https uri for callback to parent service.
    In success cases, I’m not able to see the endpoint uri for callback, only the message is seen.
    So I’m not able to confirm if it uses the same https uri when it completes successfully..
    -     Could the issue be related to https access/ owsm policy?
    -     How to check the endpoint point uri for async/ callback service in success case? The SOA logs don’t indicate it either, except in error cases (log level is development/ Trace32 fine)

    Hi,
    FabricInvocationException exception mostly occurs when process is trying to connect WS/Partnerlink service which is not accesible.
    I fixed this issue,
    1. After setting external WS certificate(Keystore) information in my weblogic server.
    2. I have made my weblogic url as public, after which wsdl url is accessible to my destination service.
    Hope this would help in fixing your issue.
    Regards,
    Ajay

  • Unable to get callback from Asynchronous BPEL process to work (AXIS Client)

    Hello,
    I am calling an Asynchronous BPEL process from an AXIS client, and I am unable to get the callback functionality to work. The AXIS client code has been generated from WSDL2Java using the BPEL process' WSDL file.
    I CAN insert an invoke node in the BPEL process and invoke my Callback web service using that, but obviously that means the BPEL process is limited to only responding to one pre-determined client, which won't work.
    My questions:
    - How does the BPEL process know what endpoint to use to make the callback?
    - Do I need to modify the generated code to create a SOAP Envelope and invoke the process with the envelope, intead of the invokeOneWay call?
    - If I do need to create a SOAP Envelope with a replyto element, what is the structure of a typical BPEL envelope? Is there an example somewhere?
    I have looked at the examples in the interop directory, specifically the AXIS calling Async BPEL, but I would like to try to keep the client code as independent as possible (I don't really want to have a dependency on the OTN library).
    Any help would be greatly appreciated!!
    Thank you.
    -Ryan

    Please have a look at the Binding in the WSDL. Axis must provide the ReplyTo and
    MessageId information there. As far as I see, this must be done by an Axis-Handler,
    because the Binding-Part in not generated by WSDL2Java.
    I was able to generate the JavaClasses by using the "WSDL2Java -a" option, but
    I still do not see how to use them in a handler and how to register the handler.
    Maybe someone can give me a hint.

  • How to get the callback from an asynchronous BPEL?

    Hi, I have deployed an asynchronous BPEL on Oracle Application Server as a Web Service. The BPEL is named CreditRatingBPEL. The input is a social security number (Ssn) and the output is a credit rating.
    Now I have some troubles in consuming BPEL with Axis1.4. I have generated the client stubs by WSDL2Java tools. I have initiated the asynchronous BPEL successfully. Now I want to get the callback from the BPEL, but I don't know how to do it.Here are some Java snippets:
    public static void main(String[] args) throws ServiceException, RemoteException {
    // TODO Auto-generated method stub
    CreditRatingBPEL_Service service = new CreditRatingBPEL_ServiceLocator();
    CreditRatingBPEL_PortType requestPortType = service.getCreditRatingBPELPort();
    CreditRatingBPELProcessRequest request = new CreditRatingBPELProcessRequest();
    request.setSsn("31060931");
    // asynchronous invoke
    requestPortType.initiate(request);
    // how can I get the callback from the web service?
    I will be very appreciated if you can give me some suggestions. Best regards!

    Checkout following link -
    http://www.sapfans.com/sapfans/forum/intface/messages/4289.html
    Cheers
    Sanjeev

  • Implement callback for an asynchronous BPEL process through Java

    Hi ,
    I am trying to implement a callback functionality for an asynchronous BPEL process through java.
    I found the code in the samples folder of SOA suite installation folder .
    <SOA_HOME>\bpel\samples\tutorials\102.InvokingProcesses\rmi\com\otn\samples\async.
    There is an AsyncInstanceWatchdog object which registers a callback object(in this case an object of AsyncCallbackImpl class) for a specific CONVERSATION_ID.
    String convId = GUIDGenerator.generateGUID();
    nm.setProperty(NormalizedMessage.CONVERSATION_ID, convId);
    deliveryService.post(proc_name, "initiate", nm);
    // register the callback
    watchdog.registerAsyncCallback(convId, testAsyncHandler,
    locator.getDomainAuth());
    // start it
    watchdog.start();
    There is no problem till the last line. But once the BPEL process returns the control( does a callback), it throws the following error.
    May 25, 2010 3:36:06 PM oracle.j2ee.rmi.RMIMessages EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER
    WARNING: Exception returned by remote server: {0}
    ORABPEL-02118
    Variant not found.
    The variant "output" has not been declared in the current scope. All variants must be declared in the scope before being accessed.
    Please check that the variant "output" is properly declared; otherwise there may be a misspelling in the name of the variant.
         at com.collaxa.cube.engine.core.Scope.getVariantRV(Scope.java:535)
         at com.collaxa.cube.engine.CubeEngine.getFieldValue(CubeEngine.java:2668)
    For your reference the variable output is declared in the definition of AsyncCallbackImpl (which implements the IAsyncInstanceCallback interface).
    There are 2 methods defined in the AsyncCallbackImpl class.
    public void onResult(Map pResultMessage) {
    System.out.println("called back! ");
    Iterator iTest = pResultMessage.keySet().iterator();
    while (iTest.hasNext()) {
    String key = (String)iTest.next();
    System.out.println(XMLHelper.elementToString((Element)pResultMessage.get(key)));
    public String getVariableName() {
    return "output";
    The variable name is same given in the sample code. And the BPEL process returns variable named output. So the name should not be a problem.
    Is it because of the scope of the variable.. If so, how do I change it.
    Any help would be appreciated.
    Edited by: saptarishi on May 25, 2010 4:24 PM
    Edited by: saptarishi on May 26, 2010 4:45 PM

    Solved it by some googling .... :)
    Here is the link:-
    [http://abhishek-soablog.blogspot.com/2008/09/orabpel-02118.html]
    or
    [http://beautifulwaste.blogspot.com/2008/04/calling-asynchronous-bpel-process.html]
    Both gives the same solution..
    In pre 10.1.3.3 release the default behaviour were to keep global variable information along with the instance information for completed BPEL processes.
    In 10.1.3.3 or later, this behaviour changed for performance reasons so that the default behaviour is now, not to keep any global variables for a BPEL process once the BPEL process has completed.
    You can configure this behaviour on a process level basis by using the parameter keepGlobalVariables in the bpel.xml file for the specific process:
    <BPELSuitcase>
    <BPELProcess src=".........." id="...........">
    <configurations>
    <property name="keepGlobalVariables">true</property>
    </configurations>
    </BPELProcess>
    </BPELSuitcase>
    Thanks
    saptarishi

  • HowTo get the callback from an asynchronous BPEL process to an ESB?

    Hi,
    I have deployed an asynchronous BPEL-process which is called from an ESB. So far no problems. But I want to receive the callboack fromt this BPEL process on the ESB, too.
    How is this possible?
    Note: I have created the BPEL-Process before I created the ESB. So I cannot add the ESB as a partner link in the BPEL Process. Or is this the only way?
    Message was edited by:
    user636134

    Hi,
    I have deployed an asynchronous BPEL-process which is called from an ESB. So far no problems. But I want to receive the callboack fromt this BPEL process on the ESB, too.
    How is this possible?
    Note: I have created the BPEL-Process before I created the ESB. So I cannot add the ESB as a partner link in the BPEL Process. Or is this the only way?
    Message was edited by:
    user636134

  • DBAdapter polling for new or changed records not issuing callback within an asynchronous BPEL process?

    Hi,
    I have a requirement to poll a database table withing an asynchronous process. The reason I want to use a receive within an asynchronous BPEL is because the process needs to be notified many times thru polling. So might need many receive activities.
    I have developed a process as described below :-
    1. Created an asynchronous process.
    2. Created a Database adapter for polling a table. Logical delete strategy is being used.
    3. Have put a receive activity from the DB Adapter created.
    4. Created a correlation set consisting of a single property(String)
    5. Created a property alias to refer to
    a. the input string of the asynchronous process. (unique for this process)
    b. the input from the database adapter (unique for this process)
    I initiate this process from the console. Then I inserted a record the table with proper inputs.
    But the BPEL waits indefinitely at the receive activity.
    When I try to poll the table from an empty BPEL process, it works perfectly fine.
    Regards
    Kabir

    Hi Kabir,
    Please refer the following sample for your usecase.
    Though Please be aware that one instance of BPEL process will correlate with only one message if you have one receive activity. Not all the messages tht DBAdapter polls.
    bpel-305-InboundCorrelationShows how to perform message correlation within BPEL
    Also Refer the following in Developer guide.
    http://docs.oracle.com/cd/E28280_01/dev.1111/e10224/bp_correlate.htm#CHDFHAAE
    If you want to keep polling and receiving the messages in the same BPEL process you might have to put the receive activity in a while loop construct. But as a design this is not a good design.
    Can you elaborate your requirement to understand better and suggest better solution.

  • How to get response from an asynchronous BPEL process in Java

    I'm experimenting with BPEL and doesn't seem to be able to get response from an asynchronous BPEL process. Here's the deal:
    I have a BPEL process that takes a string as input, and gives another string as output. This is a asyncronous process.
    I want to initiate this BPEL process as a web service so I generate a Webservice Proxy in JDeveloper 10g (10.1.3.0.4). The function to call the process is now called "initiate" and takes three arguments: the input string, a "org.xmlsoap.schemas.ws._2003._03.addressing.EndpointReferenceType replyTo" and a
    "org.xmlsoap.schemas.ws._2003._03.addressing.AttributedURI messageID".
    HTTP-Analyzer shows that invoking the BPEL process with initiate("somestring", null, null) results in sending a SOAP message to the BPEL process, which returns a "202 Accepted". How do I get the response from the process? My intuition tells me that I have to use that second argument, that EnpointReferenceType thing. How do I use that?
    Another question: If a asynchronous BPEL process does not exists (so the endpoint does not exist) the Java proxy does not throw an error when runned. It does not even sends a message. It exits with status 0! (This happens for example when deploying a new version of a process and when the "old" version is undeployed). Calling a non-existing synchronous BPEL process, the Java proxy DOES throw an error.

    Clemens,
    That all sounds logical. But somehow it is still a mystery for me ... Somehow I don't see what should be done.
    To call the async BPEL process I have the following procedure:
    initiate(String input, org.xmlsoap.schemas.ws._2003._03.addressing.EndpointReferenceType replyTo, org.xmlsoap.schemas.ws._2003._03.addressing.AttributedURI messageID)
    The first argument is the input for my BPEL process. The second is the address to a webservice that should handle the callback, right? The third is a messageID (makes sense, but why of the type AttributedURI?).
    Here lies my problem. It is not clear to me how these EndpointReferenceType & AttributedURI work. I can't find anything on the net about it. The AXIS examples as where mentioned earlier use other types (namely the "org.xmlsoap.schemas.ws.addressing.MessageID" and "org.xmlsoap.schemas.ws.addressing.ReplyTo") which are completely different.
    What I did so far:
    - I created an webservice proxy that listens on the onResult endpoint of the BPEL process.
    - I created an webservice proxy that calls the BPEL process through the initiate procedure, but it is not completely clear to me how to construct the EndPointreferenceType replyTo, and the MessageID. I did something like this:
    EndpointReferenceType replyTo = new EndpointReferenceType();
    // callback service running on local machine
    // This URI class is the java.net's version
    URI replyToURI = new URI("http://vaccinatie:8988/syncro-callback-context-root/stringconcatCallbackBindingPort");
    // This AttributedURI is the org.xmlsoap.schemas.ws._2003._03.addressing's version
    AttributedURI address = new AttributedURI();
    // the only public methos that made sense to me:
    address.set_value(replyToURI);
    replyTo.setAddress(address);
    // call the BPEL process
    myPort.initiate("test123", replyTo, address);
    But the above doesn't work (largely because I don't know what I'm doing here prob.:-) ) It does send the "test123" message, and the BPEL process does process it, but I don't seem to get the callback right.
    I hope this makes my problems somewhat clearer. I hope someone can help me, because I'm just a beginner in this whole "web service area" and seems to do something terribly wrong here, because it should be very simple. Thx.

  • Retrieving BPEL callback response using BPEL Locator or webservice proxy

    Hi all,
    I am in the middle of a project delivery and got stuck with a strange situation.I have a BPEL asynchronous process and I have a java class calling this process.I need to get the response from the BPEL process on callback in the java class.In the BPEL locator API I find there is mention of retrieving an instance on the basis of conversation ID,however the same is declared final in the API and can't be assigned any value.I tried generating proxy out of the BPEL wsdl,however when generating proxy in the JDeveloper wizard two seperate operations got exposed(the actual service & the callback service).Hence this option has to be ruled out since maintaining correlation would really be a big problem.Please can anybody help me on what should be the procedure to recieve response from callbacks in BPEL?Please note I am using 10.1.3.1 version of SOA suite.This is really urgent.Any help would be appreciated.
    Thanks.

    WSDL Of the BPEL
    <?xml version="1.0" encoding="UTF-8" ?>
    - <definitions name="TestAsynchLocator" targetNamespace="http://xmlns.oracle.com/TestAsynchLocator" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://xmlns.oracle.com/TestAsynchLocator" xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:client="http://xmlns.oracle.com/TestAsynchLocator">
    - <types>
    - <schema xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://xmlns.oracle.com/TestAsynchLocator" schemaLocation="TestAsynchLocator.xsd" />
    </schema>
    - <schema xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://schemas.xmlsoap.org/ws/2003/03/addressing" schemaLocation="http://CALTP8BB25:8888/orabpel/xmllib/ws-addressing.xsd" />
    </schema>
    </types>
    - <message name="TestAsynchLocatorResponseMessage">
    <part name="payload" element="tns:TestAsynchLocatorProcessResponse" />
    </message>
    - <message name="TestAsynchLocatorRequestMessage">
    <part name="payload" element="tns:TestAsynchLocatorProcessRequest" />
    </message>
    - <message name="WSARelatesToHeader">
    <part name="RelatesTo" element="wsa:RelatesTo" />
    </message>
    - <message name="WSAReplyToHeader">
    <part name="ReplyTo" element="wsa:ReplyTo" />
    </message>
    - <message name="WSAMessageIDHeader">
    <part name="MessageID" element="wsa:MessageID" />
    </message>
    - <portType name="TestAsynchLocatorCallback">
    - <operation name="onResult">
    <input message="tns:TestAsynchLocatorResponseMessage" />
    </operation>
    </portType>
    - <portType name="TestAsynchLocator">
    - <operation name="initiate">
    <input message="tns:TestAsynchLocatorRequestMessage" />
    </operation>
    </portType>
    - <binding name="TestAsynchLocatorCallbackBinding" type="tns:TestAsynchLocatorCallback">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    - <operation name="onResult">
    <soap:operation style="document" soapAction="onResult" />
    - <input>
    <soap:header message="tns:WSARelatesToHeader" part="RelatesTo" use="literal" encodingStyle="" />
    <soap:body use="literal" />
    </input>
    </operation>
    </binding>
    - <binding name="TestAsynchLocatorBinding" type="tns:TestAsynchLocator">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    - <operation name="initiate">
    <soap:operation style="document" soapAction="initiate" />
    - <input>
    <soap:header message="tns:WSAReplyToHeader" part="ReplyTo" use="literal" encodingStyle="" />
    <soap:header message="tns:WSAMessageIDHeader" part="MessageID" use="literal" encodingStyle="" />
    <soap:body use="literal" />
    </input>
    </operation>
    </binding>
    - <service name="TestAsynchLocator">
    - <port name="TestAsynchLocatorPort" binding="tns:TestAsynchLocatorBinding">
    <soap:address location="http://CALTP8BB25:8888/orabpel/default/TestAsynchLocator/1.0" />
    </port>
    </service>
    - <service name="TestAsynchLocatorCallbackService">
    - <port name="TestAsynchLocatorCallbackPort" binding="tns:TestAsynchLocatorCallbackBinding">
    <soap:address location="http://set.by.caller" />
    </port>
    </service>
    - <plnk:partnerLinkType name="TestAsynchLocator">
    - <plnk:role name="TestAsynchLocatorProvider">
    <plnk:portType name="tns:TestAsynchLocator" />
    </plnk:role>
    - <plnk:role name="TestAsynchLocatorRequester">
    <plnk:portType name="tns:TestAsynchLocatorCallback" />
    </plnk:role>
    </plnk:partnerLinkType>
    </definitions>
    WSDL of the Webservice
    <?xml version="1.0" encoding="UTF-8" ?>
    - <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns0="http://callbackresponsewebservice/types/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://callbackresponsewebservice/" name="MyWebService1" targetNamespace="http://callbackresponsewebservice/">
    - <types>
    - <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://callbackresponsewebservice/types/" targetNamespace="http://callbackresponsewebservice/types/" elementFormDefault="qualified">
    - <element name="holdResponseElement">
    - <complexType>
    - <sequence>
    <element name="String_1" type="string" nillable="true" />
    </sequence>
    </complexType>
    </element>
    </schema>
    </types>
    - <message name="MyWebService1_holdResponse">
    <part name="parameters" element="tns0:holdResponseElement" />
    </message>
    - <portType name="MyWebService1">
    - <operation name="holdResponse">
    <input message="tns:MyWebService1_holdResponse" />
    </operation>
    </portType>
    - <binding name="MyWebService1SoapHttp" type="tns:MyWebService1">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    - <operation name="holdResponse">
    <soap:operation soapAction="http://callbackresponsewebservice//holdResponse" />
    - <input>
    <soap:body use="literal" />
    </input>
    </operation>
    </binding>
    - <service name="MyWebService1">
    - <port name="MyWebService1SoapHttpPort" binding="tns:MyWebService1SoapHttp">
    <soap:address location="http://caltp8bb25:8888/TestApplication1-CallBackResponseWebService-context-root/MyWebService1SoapHttpPort" />
    </port>
    </service>
    </definitions>
    Audit Console Data
    <process>
    <sequence>
    receiveInput
    [2008/06/04 15:27:37] Received "inputVariable" call from partner "client"less
    View xml document
    <TestAsynchLocatorProcessRequest xmlns="http://xmlns.oracle.com/TestAsynchLocator">
    <input>Soumyajit</input>
    </TestAsynchLocatorProcessRequest
    Assign_1
    [2008/06/04 15:27:37] Updated variable "outputVariable"less
    -<outputVariable>
    -<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload">
    -<TestAsynchLocatorProcessResponse xmlns="http://xmlns.oracle.com/TestAsynchLocator">
    <result>HelloSoumyajit
    </result>
    </TestAsynchLocatorProcessResponse>
    </part>
    </outputVariable>
    callbackClient (faulted)
    [2008/06/04 15:27:37] Faulted while invoking operation "onResult" on provider "client".less
    -<messages>
    -<input>
    -<outputVariable>
    -<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload">
    -<TestAsynchLocatorProcessResponse xmlns="http://xmlns.oracle.com/TestAsynchLocator">
    <result>HelloSoumyajit
    </result>
    </TestAsynchLocatorProcessResponse>
    </part>
    </outputVariable>
    </input>
    -<fault>
    -<remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
    -<part name="summary">
    <summary>
    exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message transmission failure, response code: 500
    </summary>
    </part>
    </remoteFault>
    </fault>
    </messages>
    [2008/06/04 15:27:37] "{http://schemas.oracle.com/bpel/extension}remoteFault" has been thrown.less
    -<remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
    -<part name="summary">
    <summary>
    exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message transmission failure, response code: 500
    </summary>
    </part>
    </remoteFault>
    </sequence>
    [2008/06/04 15:27:37] "BPELFault" has not been caught by a catch block.
    [2008/06/04 15:27:37] BPEL process instance "390006" cancelled
    </process>

  • Error while invoking an asynchronous BPEL process

    Hi ,
    I am trying to call an asynchronous BPEL process through java client.
    Following is the code which I got from SOA bpel samples present in the following location
    <SOA_HOME>\bpel\samples\tutorials\102.InvokingProcesses\rmi\com\otn\samples\async
    The code fails while registering the callback
    String convId = GUIDGenerator.generateGUID();
    nm.setProperty(NormalizedMessage.CONVERSATION_ID, convId);
    deliveryService.post("HelloWorld", "initiate", nm);
    // register the callback
    watchdog.registerAsyncCallback(convId, testAsyncHandler,
    locator.getDomainAuth());
    The error says java.lang.NoClassDefFoundError: org/collaxa/thirdparty/json/JSONString
    I tried to search for this in google. But it seems noone has got this error or maybe noone has used this at all.
    Maybe I am missing some jar file, but I am unable locate that.
    Can someone help me in this please.

    Hi,
    These sort of class not found errors come when you are running from a client which does not have all the jar files requried to invoke BPEL using the client API.
    org/collaxa/thirdparty/json/JSONString is orabpel-thirdparty.jar.
    The complete list of Jar files you would need in the classpath are:
    ejb.jar ($ORACLE_HOME/home/lib)
    oc4j-internal.jar ($ORACLE_HOME/home/lib)
    optic.jar ($ORACLE_HOME/opmn/lib)
    orabpel-common.jar ($ORACLE_HOME/bpel/lib)
    orabpel-thirdparty.jar ($ORACLE_HOME/bpel/lib)
    orabpel.jar ($ORACLE_HOME/bpel/lib)
    Hope this helps,
    Regards,
    Shanmu.
    http://www.prshanmu.com/articles/

  • Invoking asynchronous BPEL process from java ui

    Hi,
    I am invoking an asynchronous BPEL process from java ui.
    I read somewhere that i can obtain an instance handler uing the lookupInstance() method of class Locator using the conversation id provided by the class NormalizedMessage.
    My code looks like this
    // Connect to Oracle BPEL server
    Locator locator = new Locator("default","bpel");
    IDeliveryService deliveryService = (IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME );
    // Construct a normalized message and send to Oracle BPEL Process Manager
    NormalizedMessage nm = new NormalizedMessage();
    nm.addPart("payload", xml);
    // Initiate the BPEL process
    deliveryService.post("MyLoanFlow", "initiate", nm);
    //Obtain the instance handler
    IInstanceHandle handle = locator.lookupInstance(NormalizedMessage.CONVERSATION_ID);
    But this is giving the error - can not find any instance with conversation id 'conversationId'.
    Also, if i try to obtain a list of instance handles associated with a process , it does not contain the most recently created instance
    IBPELProcessHandle ph = locator.lookupProcess("MyLoanFlow");
    IInstanceHandle[] iHandler = ph.listInstances();
    out.println(iHandler.length + "<br>");
    if i invoke the process for the first time the output is 0.
    can you please help me. it is urgent.

    Hi Sudipto,
    Regarding your second question,
    deliveryService.post("MyLoanFlow", "initiate", nm);
    IBPELProcessHandle ph = locator.lookupProcess("MyLoanFlow");
    IInstanceHandle[] iHandler = ph.listInstances();
    out.println(iHandler.length + "<br>");
    ---- returns 0 ---
    This is because MyLoanFlow is an asynchronous process in your case. So the control is returned to your java block immediately after the request for a new instance is posted. And your second line of code(querying for the list of instances) is executed even before the instance is created on the server side. You can verify this in two ways:
    1. try creating an instance of a synchronous process using IDeliveryService.request - this will always result in the increment since the current thread is blocked till the new instance is created.
    2. for your case, you can try
    Thread.currentThread().sleep(500); - just allow the server some time for completing the instance before you query it for the list of instances..
    and wrt question 1,
    //Obtain the instance handler
    IInstanceHandle handle = locator.lookupInstance(NormalizedMessage.CONVERSATION_ID);
    But this is giving the error - can not find any instance with conversation id 'conversationId'.
    For setting the conversationId, you could do so by including the following inside your .bpel file
    <bpelx:exec name="test-setConversationId" language="java" version="1.4">
    <![CDATA[
    setConversationId("conversationId");
    ]]>
    </bpelx:exec>
    The code:
    IInstanceHandle ins = locator.lookupInstanceByConversationId(NormalizedMessage.CONVERSATION_ID);
    should fetch you the required instance in this case.
    HTH,
    Anuj

  • Correlation in Asynchronous BPEL process

    I have thoroughly read docs & various blogs for this correlation concept and I am developed the bpel process without any compilation error. But when I execute, all the instances are waiting in receive activity with message *"Waiting for "processResponse" from "AsynchBPELProcess3.AsynchBPELProcess1.PartnerLink1". Asynchronous callback."*
    My scenario goes like this, I have three simple Asynchronous BPEL process with flow A --> B --> C i.e;
    step 1) client invokes process A with initial inputs
    step 2) process A does some assignment and invokes process B and then followed by a receive activity to receive response back directly from process C
    step 3) process B simply invokes process C after some assign activity
    step 4) process C do actual task for computation -- this is from where i am expecting output result at process A
    Done correlation at process A's recieveInput activity & in additionally added a receive activity to get response.
    Flows works as expected....everything if fine. But only at the time of returning the output result back to process A ..this waits for long time and after some time it becomes stale.
    Thanks.

    Yes you can achieve this. There are many ways to get this, it depends on your design. I didn't try the correlation sets.
    If i were you I would like to use the message header properties of the JMS queue. Set an MsgID for the request message and use the same MsgId to listen the response. You have to ask the partner to listen to your request message and store the KsgID and set the same MsgID to the header properties in response message.
    Let me know if you have any questions.
    Thanks
    Ramana.

  • Throwing a fault from an asynchronous bpel process

    Hi,
    can anyone please let me know how i can throw a fault to the calling client from an asynchronous bpel process?
    (synchronous bpel uses the fault of the reply activity to do the same - i want a similar thing in a callback-invoke of an asynchronous process or any other way to do it if at all)
    please let me know if it is possible becoz it was a requirement put forward by a customer and i just want to develop a proof of concept to the same.
    regards,
    pavan.

    Hi,
    I'm using BPEL process manager for calling a asynchronous web service,I can invoke the service from BPEL and the service is invoked correctly,but when I view the business process flow in BPEL Console my process is stopped at receive state and doesn't pass it.
    Could anybody tell me if any thing should be set to receive a callback from an asynchronous web service to BPEL process?
    Is it true that BPEL process receives a callback automatically (using a callback operation which I defined in my web service WSDL) on the same port type that normally receives the requested information, with an invoke activity?
    So what could be wrong with my process or invoked web service that the BPEL process doesn't get any reply from my web service and remains in receive activity?
    Thnx in advance,
    Nasim

  • Bpel callbacks(human task)

    Hi,
    i have a human task assigned to sequential list of users(2 users).On outcome updated by 1st user,i need to manipulate the task before it is routed to 2nd user.I thought the bpel callbacks would be helpful...but i could not..
    By default,the onAssigned callback is called when 1st user updates the outcome and routed to 2nd user..But it is late when we want to manipulate the task in onAssigned callback,bcoz it is already been assigned...
    OnTaskUpdated or OnTaskCompleted is not invoked..
    ...can anybody give some idea???

    Here is the is_config file :
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ISConfiguration xmlns="http://www.oracle.com/pcbpel/identityservice/isconfig">
    - <configurations>
    - <configuration realmName="corp" displayName="corp Realm">
    - <provider providerType="JAZN" name="OID" service="Identity">
    <connection url="ldap://172.18.172.71:389" binddn="cn=orcladmin" password="KvrRqlQCeHrPqC60eG26eQ==" encrypted="true" />
    </provider>
    </configuration>
    </configurations>
    <property name="caseSensitive" value="false" />
    </ISConfiguration>

  • A Synchronous answer from Asynchronous BPEL (How to?)

    Good Afternoon!
    A have an asynchronous BPEL with an exposed webservice.
    I need BPEL get back a some kind of information at the moment he was called (e.g. a Conversation ID). And then continue his own asynchronous process.
    Is it possible?
    Tank You!

    I have tried:
    A Reply. i put a reply exactly after receive input - nothing. BPEL exposed service is defined as asynchronous, so it has not any definition in wsdl for reply answer.
    A Callback. i put a callback and return back an assigned Coversation ID. It works good. But it is another callback operation.
    May be there is a possibility to return back not in some next activity but exactly in BPEL start moment?
    I will describe why i think its possible.
    When you call any async webservice you can receive an exception in this moment (if webservice doesnt exist) or you can also receive a "nothing" (if webservice exist and it started to work). In any way you receive in back ground some kind of system information from Application Server that tells you - are you successfull in webservice calling or not.
    And this is not a callback. Its something else. Its some kind of server synchronous answer.
    And I am thinking, is it possible to use this system answer to send back some technical info about BPEL?

Maybe you are looking for

  • Inline Message with non english language....

    we can see the properties file in the properties file like javax.faces.component.UIInput.REQUIRED=error:{0}. so it will show the message like "textfield1 " value is required. but i want it shows "mytext"<--japanese value is required.. it looks like t

  • T61 - Black out Screen

    Hello, I have a T61 for past year and half. Currently, my PC screen does not display anything.  I tried to connect the PC with an external monitor it worked , then I ran the Doctor PC scoftware to check the Nvidia card and other drivers. Nvidia card

  • @TransactionAttribute annotation being ignored by Transaction Manager

    I am currently running jboss-4.0.4GA. I believe I must have something configured incorrectly, or I misunderstand transaction management performed by the container. Though I have my datasource declared as local-tx, which I believe allows transactions,

  • Data Services X-File

    Dear all, Let's see if anyone can help me with this, as I am stuck. We have two Data Services installations: DEV and PROD. Both of them DS 3.2 (no SP although I am currently downloading the last one just in case). DEV is working perfectly: running th

  • Setting 1280x1024 Screen size in Jdeveloper 11.1.1.4 for development

    Hi All, I am using JDeveloper 11.1.1.4 to develop an ADF application. I want to develop UI screens for lowest screen resolution as (1280x1024). But in the JDeveloper IDE in the resolution dropdown, I can only see the following Full screen 400x600 600