Collecting BPEL invoke pool statistics

Hi everyone,
I would like to know if there is any way to gather/collect statistics for the information shown in the BPEL console under Administration->Threads rather than just refreshing that page.
Idealy I would like a tool such as dmstool or some script/table query which would let me gather statistics regarding the thread use in the invoke pool so I can observe trends and High Water marks.
Any suggestions appreciated.
Thanks!

You wont find it in the standard enterprise manager console, it is a separate install. Enterprise Manager Grid Control. Basically it provides exactly what you are after out of the box no need for configuration.
Here is the 10g version of EM, but 11g is certified and more integrated. You will require the SOA Management pack license.
http://download.oracle.com/docs/cd/E14670_01/doc.10205/e14546/intro.htm
cheers
James

Similar Messages

  • BPEL Invoke Pool does not relinquish threads

    Hi Everyone,
    We are in the midst of a Sev 1 escalated issue which has now been running for 4 days. BPEL Invoke Pool (10.1.3.4.2) is not relinquishing threads for a whole range of BPEL instances - but why? This eventually causes the JVM into an OutOfMemory situation
    I've narrowed down the issue to the following thread dump (example):
    "pool-8-thread-3" prio=5 Thread id=1650 State=BLOCKED
    oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:159)
    oracle.oc4j.sql.DataSourceConnectionPoolDataSource.getPooledConnection(DataSourceConnectionPoolDataSource.java:57)
    oracle.oc4j.sql.xa.EmulatedXADataSource.getXAConnection(EmulatedXADataSource.java:92)
    oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createXAConnection(ManagedConnectionFactoryImpl.java:211)
    oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:170)
    com.evermind.server.connector.ApplicationConnectionManager.createManagedConnection(ApplicationConnectionManager.java:1398)
    oracle.j2ee.connector.ConnectionPoolImpl.createManagedConnectionFromFactory(ConnectionPoolImpl.java:327)
    oracle.j2ee.connector.ConnectionPoolImpl.access$800(ConnectionPoolImpl.java:98)
    oracle.j2ee.connector.ConnectionPoolImpl$NonePoolingScheme.getManagedConnection(ConnectionPoolImpl.java:1211)
    oracle.j2ee.connector.ConnectionPoolImpl.getManagedConnection(ConnectionPoolImpl.java:785)
    oracle.oc4j.sql.ConnectionPoolImpl.getManagedConnection(ConnectionPoolImpl.java:45)
    com.evermind.server.connector.ApplicationConnectionManager.getConnectionFromPool(ApplicationConnectionManager.java:1596)
    com.evermind.server.connector.ApplicationConnectionManager.acquireConnectionContext(ApplicationConnectionManager.java:1541)
    com.evermind.server.connector.ApplicationConnectionManager.allocateConnection(ApplicationConnectionManager.java:1486)
    oracle.j2ee.connector.OracleConnectionManager.unprivileged_allocateConnection(OracleConnectionManager.java:238)
    oracle.j2ee.connector.OracleConnectionManager.allocateConnection(OracleConnectionManager.java:192)
    oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:272)
    oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:200)
    oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:142)
    oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:127)
    com.collaxa.cube.engine.data.ConnectionFactory$ConnectionFactoryImpl.getConnection(ConnectionFactory.java:336)
    com.collaxa.cube.engine.data.ConnectionFactory.getConnection(ConnectionFactory.java:140)
    The number of BLOCKED threads in the Invoke Pool corresponds to the number of threads shown in the thread dumps. Our RAC DB does not present with any significant information (Udump) as to potential locks (deadlocks, shared locks etc...)
    Needless to say, no matter how many threads are allocated in the Invoke Pool for a given domain, as these are not being relinquished in a timely manner, they will always increase until the container stops responding...
    ANY assistance / suggestion (even wild ones) would be greatly appreciated

    You wont find it in the standard enterprise manager console, it is a separate install. Enterprise Manager Grid Control. Basically it provides exactly what you are after out of the box no need for configuration.
    Here is the 10g version of EM, but 11g is certified and more integrated. You will require the SOA Management pack license.
    http://download.oracle.com/docs/cd/E14670_01/doc.10205/e14546/intro.htm
    cheers
    James

  • Issue: BPEL invoking Axis web service

    Hi
    We are calling a Axis web service from BPEL.. The web service has been defined to be a request only 1 way service. The axis service takes around 3-5 minutes to complete the job( data insertion in DB).. But seems like when BPEL invokes the web service; BPEL thread is waiting (thread is not released) and the BPEL process does not move forward until the web service completes the job....
    Any pointers on how the deal with the issue will be helpful!!
    Thanks

    Hi Lovenish,
    Goto console-> select domain> Configuration->JTA
    Check timeout seconds.
    2. i don't know what kind of partner link you are invoking.
    check composite.xml, is there any property like retry.interval .
    3. ◦SyncMaxWaitTime: The maximum time a request and response operation takes before timing out.
    The maximum time a request/response operation will take before it times out. The default value is 45 seconds.
    Regards,
    Padmanabham

  • BPEL invoke Webserivce Transport can not be determined from uri REPLACE_WI

    Hi,
    I am in the process of migrating BPEL 10.1.3.4 to SOA 11.1.1.5.0. I am seeing problems with bpel invoking the webservice. Webservice is available and I could test with the test option in EM successfully. But when I tried to bring up the BPEL process which invokes the webservice, i get the following error.
    <Jan 29, 2012 5:12:41 PM EST> <Error> <oracle.soa.bpel.engine.ws> <BEA-000000> <got FabricInvocationException
    java.lang.IllegalArgumentException: Transport can not be determined from uri REPLACE_WITH_ACTUAL_URL
    at oracle.j2ee.ws.common.transport.TransportFactory.getTransport(TransportFactory.java:48)
    at oracle.j2ee.ws.common.async.MessageSender.call(MessageSender.java:63)
    at oracle.j2ee.ws.common.async.Transmitter.transmitSync(Transmitter.java:134)
    at oracle.j2ee.ws.common.async.Transmitter.transmit(Transmitter.java:90)
    at oracle.j2ee.ws.common.async.RequestorImpl.transmit(RequestorImpl.java:273)
    at oracle.j2ee.ws.common.async.RequestorImpl.invoke(RequestorImpl.java:95)
    at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:793)
    at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationWithRetry(OracleDispatchImpl.jav
    a:235)
    I don't have this problem with different webservice and bpel processes. All the webservices were upgraded to 11g using Jdeveloper's Upgrade 10.1.3.4 JAX-RPC to 11g option.
    Would appreicate if any help on this.
    thanks
    Kanchana

    Hi
    Please refer the below blog,this may resolve your problem.
    http://albinoraclesoa.blogspot.com/2011/11/oracle-soa-suite-10g-to-11g-migration_9478.html
    Regards
    Albin I

  • BPEL Invoke: Input Header Variable

    Is there a simple way to replicate the Input Header Variable that is part of JDeveloper 10g for BPEL Invoke activity?
    Doing some work with 11g TP3 to work with salesforce.com and need to include a Session ID in the header of the massage sent to invoke a salesforce web service.
    I made the change by manually pasting 'bpelx:inputHeaderVariable="headerRequest"' into the BPEL XML source document for the Invoke activity.
    I'd also be interested in a way to more easily set the EndpointReference of the Partner Link than first importing ws-addressing.xsd schema document into the BPEL Project in order to next create an EndpointReference Element type variable, then copying an XML Fragment to the EndpointReference variable before finally setting the Web Service URL at runtime?
    Thanks,
    Mark

    I started with the example code included with SOA Suite 10g.
    All of the steps from that example, except the Input Header Variable, could be done the same way in both 10g & 11g.
    To make things work, I had to manually paste the code noted in my initial post to BPEL XML source document.
    I'm hoping TP4 or other future release will have the ability to include the header variable in the visual design tool.
    I'm also hoping TP4, which I haven't used yet, or future release of the BPEL desginer in JDev 11g will come up with a simpler way to dynamically set the address of a partner link invoke.

  • Shared Pool Statistics - awr report -m 10.2.0.1

    Hi,
    I'm new to reading awr report and performance tuning.
    I have the below in my statspack.
    Do i need to increase my shared pool?
    Any one can advise and explain "% Memory for SQL w/exec" and "% SQL with executions>1"
    Shared Pool Statistics
    Begin End
    Memory Usage %: 95.78 97.71
    % SQL with executions>1: 51.51 80.85
    % Memory for SQL w/exec> 1: 67.88 82.46
    thanks!

    user21123 wrote:
    The sweet point for the shared pool Memory Usage % is at about ~70%-80% because of aging out. You are at ~90%. It would be advisable to increase the shared pool, but if you're using 10g SGA_TARGET and SGA_MAX_SIZE, then that might require increasing those parameters. It depends how your AWR report looks for the Buffer Cache.
    What makes you think this ?
    In an OLTP system you hope for 100% shareable SQL, and correct allocation for the other objects, which would lead to 100% usage. In realistic terms, you're likely to get a few percent (which is often the shared_pool_reserved) free because there's a constant turn-over of non-shareable SQL.
    If you're always seeing 70% - 80%, then there are several scenraios that might explain the figure. One is that you've simply made shared pool a bit too big. At the opposite extreme you might be constantly flushing 20%-30% of the material from the shared pool because it has become so fragmented that you have to clear a lot of garbage to create a small amount of contiguous space.
    The best guideline to follow is to check whether you appear to be losing a significant amount of time on libarary cache and shared pool latches, using up an undesirable amount of CPU on parse time, see lots of reloads (without corresponding invalidations) in v$librarycache.
    Without further information, we really can't say how good or bad the situation is. In fact, it's possible that the information that +"50% of your SQL has been shared, 50% has been single use"+ is a possible indicator that the shared_pool_size is too small, and we are filling the excess space with garbage rather than keeping the garbage (and library cache search time) to a minimum.
    I would be interested to hear the thinking behind your suggestion, though.
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http://www.jlcomp.demon.co.uk
    "The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge." Stephen Hawking.

  • Garbage collection , BPEL engine properties configuration , fault policies.

    Is the configuration / setup for Garbage collection , BPEL engine properties configuration , fault policies , database adapters, web services done before deploying a BPEL application or after ?
    Thanks

    Hope this will help you:
    http://middlewaremagic.com/weblogic/?p=6388

  • BPEL invoke ESB fails with javax.xml.soap.SOAPException: Bad response: 404

    I work with SOA 10.1.3.3 (Patched).
    When I call an ESB Routing Service from BPEL, are generated an exception as follow:
    <messages><input><WBPM_IKSelectDatiTx_in><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="WBPM_DASelectDatiTxSelect_pn_prog_tx_inparameters"><WBPM_DASelectDatiTxSelect_pn_prog_txInputParameters xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/top/WBPMDASelectDatiTx">
    <pn_prog_tx>3</pn_prog_tx>
    </WBPM_DASelectDatiTxSelect_pn_prog_txInputParameters>
    </part></WBPM_IKSelectDatiTx_in></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: Bad response: 404 Not Found</summary>
    </part></remoteFault></fault></messages>
    I've already read the metalink note 427452.1 and I tried the 2 way indicated to solve this problem. But the problem persist.
    In the ESB console the Web Services considered above:
    WSDL URL http://wise-svr1.wise.com:7777/esb/slide/ESB_Projects/AppWBPMCicloPassivo_ESB_WBPMCicloPassivo/WBPM
    URI endpoint SOAP http://wise-svr1.wise.com:7777/event/DefaultSystem/WBPM_DASelectDatiTx
    When I click on WSDL URL explorer open an XML file
    When I click on URI endpoint SOAP explorer result "Page not Found"
    Thanks in advance
    Umberto

    Hi,
    Your problem is with the esb service since calling the endpoint in a browser should result in a test interface for the esb service. Do you have any errors in the logfiles after deploying or calling the endpoint? ($ORACLE_HOME\j2ee\oc4j_soa\log\oc4j_soa_default_group_1\oc4j\log.xml
    Kind Regards,
    Andre

  • How to pass header values as a part of a Message in BPEL Invoke

    Hi,
    I am not able to add my session id in to the header of the request of an invoke activity in a BPEL process.
    Please help.
    Regards,
    En

    I hope you are following the below steps
    Create a variable of xsd type based on what data needs to be send as part of headers and assign the required values to the created variable.
    Assign the created variable to bpelx:inputHeaderVariable property of invoke activity(manually add the property from source view).
    bpelx:inputHeaderVariable="header request variable"
    <invoke name="InvAccountManagement"
    portType="ns6:AccountManagementPortType"
    inputVariable="InvAccountManagementIV"
    outputVariable="InvAccountManagementOV"
    partnerLink="AccountManagement"
    operation="publishAccount"
    bpelx:inputHeaderVariable="headerRequest"/>
    Mark the posting appropriately as "helpful" or "correct answer", if your issue is solved.
    Regards
    Albin I
    [http://www.albinsblog.com/]

  • Local transaction support when BPEL invokes JCA adapter

    Hi all,
    I've implemented a BPEL process consisting of multiple invoke activities to my (custom) JCA Resource Adapter which connects to an EIS.
    My concern is to support local transactions. Here are some code snippets describing what I've done so far.
    Declare the transaction support at deployment time (ra.xml)
    <transaction-support>LocalTransaction</transaction-support>Implementer class of ManagedConnection interface
    public class MyManagedConnection implements ManagedConnection {
         public XAResource getXAResource() throws ResourceException {
             throw new NotSupportedException("XA Transactions not supported");
         public LocalTransaction getLocalTransaction() throws ResourceException {
             return new MyLocalTransaction(this);
            public void sendTheEvent(int eventType, Object connectionHandle) {
                 ConnectionEvent event = new ConnectionEvent(this, eventType);
                 if (connectionHandle != null) {
                    event.setConnectionHandle(connectionHandle);
                ConnectionEventListener listener = getEventListener();
             switch (eventType) {
              case ConnectionEvent.CONNECTION_CLOSED:
                   listener.connectionClosed(event); break;
              case ConnectionEvent.LOCAL_TRANSACTION_STARTED:
                   listener.localTransactionStarted(event); break;
              case ConnectionEvent.LOCAL_TRANSACTION_COMMITTED:
                   listener.localTransactionCommitted(event); break;
              case ConnectionEvent.LOCAL_TRANSACTION_ROLLEDBACK:
                   listener.localTransactionRolledback(event); break;
              case ConnectionEvent.CONNECTION_ERROR_OCCURRED:
                   listener.connectionErrorOccurred(event); break;
              default: break;
    }Implementer class of LocalTransaction interface
    public class MyLocalTransaction implements javax.resource.spi.LocalTransaction {
         private MyManagedConnection mc = null;
         public MyLocalTransaction(MyManagedConnection mc) {
             this.mc = mc;
         @Overide
         public void begin() throws ResourceException {
             mc.sendTheEvent(ConnectionEvent.LOCAL_TRANSACTION_STARTED, mc);
         @Override
         public void commit() throws ResourceException {
             eis.commit(); //eis specific method
             mc.sendTheEvent(ConnectionEvent.LOCAL_TRANSACTION_COMMITTED, mc);
         @Override
         public void rollback() throws ResourceException {
             eis.rollback(); //eis specific method
             mc.sendTheEvent(ConnectionEvent.LOCAL_TRANSACTION_ROLLEDBACK, mc);
    }Uppon BPEL process completion, MyLocalTransaction.commit() is called. However, localTransactionCommitted(event) fails and I get the following error:
    Error committing transaction:; nested exception is: weblogic.transaction.nonxa.NonXAException: java.lang.IllegalStateException:
    [Connector:199175]This ManagedConnection is managed by container for its transactional behavior and has been enlisted to JTA transaction by container;
    application/adapter must not call the local transaction begin/commit/rollback API. Reject event LOCAL_TRANSACTION_COMMITTED from adapter.Could someone give me some directions to proceed ?
    My current installation consists of:
    1. Oracle SOA Suite / JDeveoper 11g (11.1.1.4.0),
    2. WebLogic Server 10.3.4
    Thank you for your time,
    George

    Hi Vlad, thank you again for your immediate response.
    With regards to your first comment. I already have been using logs, so I confirm that neither javax.resource.spi.LocalTransaction#begin() nor javax.resource.spi.LocalTransaction#commit()
    is called in the 2nd run.
    I think it might be helpful for our discussion if I give you the call trace for a successful (the first one) run.
    After I deploy my custom JCA Resource Adapter, I create a javax.resource.cci.ConnectionFactory through Oracle EM web application and the following methods are called:
    -- MyManagedConnectionFactory()
    (Constructor of the implementer class of the javax.resource.spi.ManagedConnectionFactory interface)
    -- javax.resource.spi.ManagedConnectionFactory#createManagedConnection(javax.security.auth.Subject, javax.resource.spi.ConnectionRequestInfo)
    -- MyManagedConnection()
    (Constructor of the implementer class of the javax.resource.spi.ManagedConnection interface)
    -- javax.resource.spi.ManagedConnection#addConnectionEventListener(javax.resource.spi.ConnectionEventListener)
    -- javax.resource.spi.ManagedConnection#getLocalTransaction()
    -- MySpiLocalTransaction(MyManagedConnection)
    (Constructor of the implementer class of the javax.resource.spi.LocalTransaction interface)
    -- javax.resource.spi.ManagedConnectionFactory#createConnectionFactory(javax.resource.spi.ConnectionManager)
    -- MyConnectionFactory(javax.resource.spi.ManagedConnectionFactory, javax.resource.spi.ConnectionManager)
    (Constructor of the implementer class of the javax.resource.cci.ConnectionFactory interface)BPEL process consists of multiple invoke activities to my (custom) JCA Resource Adapter which connects to an EIS. Client tester invokes BPEL process, and execution starts.
    Here is the method call trace for the last invoke (after which, commit is executed). The logs for all the rest invocations are identical:
    -- javax.resource.cci.ConnectionFactory#getConnection()
    -- javax.resource.spi.ManagedConnection#getConnection(javax.security.auth.Subject, javax.resource.spi.ConnectionRequestInfo)
    -- MyConnection(MyManagedConnection)
    (Constructor of the implementer class of the javax.resource.cci.Connection interface)
    -- javax.resource.cci.Connection#close()
    (I don't understand why close() is called here, any idea ?)
    -- javax.resource.cci.ConnectionFactory#getConnection()
    -- javax.resource.spi.ManagedConnection#getConnection(javax.security.auth.Subject, javax.resource.spi.ConnectionRequestInfo)
    -- MyConnection(MyManagedConnection)
    (Constructor of the implementer class of the javax.resource.cci.Connection interface)
    -- javax.resource.cci.Connection#createInteraction()
    -- MyInteraction(javax.resource.cci.Connection)
    (Constructor of the implementer class of the javax.resource.cci.Interaction interface)
    -- javax.resource.cci.Interaction#execute(javax.resource.cci.InteractionSpec, javax.resource.cci.Record, javax.resource.cci.Record)
    -- javax.resource.spi.LocalTransaction#commit()I would expect that after the last commit() - meaning that BPEL process is done, and its state is "Completed" - Weblogic server would call the following:
    javax.resource.cci.Connection#close()However it doesn't. Do I miss something ?

  • How to set timeout when BPEL Invokes EBS API in 10G

    I am invoking a EBS API through Oracle Applications Adapter in my BPEL, During the execution of my BPEL Process, if my EBS API call takes more than 10s, i want it to timeout. Can you please let me know how can i achieve it. I tried using the <property name="timeout">10</property> <property name="optSoapShortcut">false</property> in the partnerlink defintion, but it didnt help.

    Thanks Arik and vijay for your response,
    syncMaxWaitTime needs to be set at the domain level, then it would timeout all the services that are deployed on my environment. Property transaction-timeout and syncMaxWaitTime will not resolve the issue, because i need to achieve the timeout for a particular service only (Sorry, I should have mentioned in the problem statement that i need to implement the timeout for a specific service).
    I tried the PartnerLink timeout property along with optSoapShortcut but timeout is not happening.
    If you could provide me any other alternative solutions that would help me to timeout the call to EBS using a Oracle Applications Adapter in BPEL 10g Invoke activity.
    Wish you a belated Happy Christmas and advanced New Year wishes.
    Regards,
    Sivananda
    Edited by: 978071 on Dec 26, 2012 2:43 AM
    Edited by: 978071 on Dec 26, 2012 2:44 AM

  • Oracle BPEL invoking Windows Communication Foundation Services

    Im right now studing the next generation of Microsoft technologies for SOA and WebServices. I correctly developed my first WCF service and was trying to invoke it using BPEL, but its not possible to do it. Anyone knows how to invoke a WCF service in BPEL? Im using wshttpBinding in my WCF service.
    Thanks for your time,
    Millan

    Can you post the whole binding configuration you are using. For default interoperability you should look at basicHttpbinding. In case you want to add things like Security with the wsHttpBinding keep in mind that Oracle BPEL only supports basic WS-Security

  • BPEL Invoke activity problem

    Hi,
    I have done a BPEL process which invokes an external web service. The
    Invoke activity throws the following exception:
    "Unsupported Content-Type: text/html Supported ones are: [text/xml]"
    Does anybody know why?
    Thanks.

    In the WSDL I'm calling, the binding is declared like this:
    <binding name="PfServicioWSSoapBinding" type="impl:PfServicioWS">
    <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="consultarUsuario">
    <wsdlsoap:operation soapAction=""/>
    <input name="consultarUsuarioRequest">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://DefaultNamespace" use="encoded"/>
    </input>
    <output name="consultarUsuarioResponse">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://client.pfirma" use="encoded"/>
    </output>
    </operation>
    </binding>
    I am newbie in WSDL and I don't understand this. I have always seen bindings declared liks this:
    <binding name="NAME" type="TYPE">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
    <operation name="OP_NAME">
    <soap:operation soapAction="SOAP_ACTION" style="document"/>
    <input>
    <soap:body use="literal"/>
    </input>
    <output>
    <soap:body use="literal"/>
    </output>
    </operation>
    </binding>
    I think the error I am getting is related to this fact.

  • BPEL Invoke reponse issue

    Hi,
    I'm pretty new to BPEL. I'm using netbeans IDE.
    I'm having an issue with invoke.
    My BPEL is pretty simple process, it receives input which is a city name
    and then invokes a webservice from a mileage system which returns latitude/longitude as as string. BPEL process takes the output from the invoke and send it to the client.
    Invoke seems to be working fine, BPEL is taking the input from client and invoking the webservice passing the city name. By looking at the logs i can tell that it is calling webservice and it is finding the lat/long, but it is not returning the value back to BPEL. I have an output variable to receive the result which is always coming back empty.
    I must be doing something wrong (something simple). Please help me.
    Thanks
    Praveen

    Yes, I'm assigning results from invoke to process output.
    Here I'm posting my BPEL that you can look at and let me know, If I'm doing something wrong.
    Thanks for your reply and help.
    <?xml version="1.0" encoding="UTF-8"?>
    <process
    name="MilerWS"
    targetNamespace="http://www.mycomapny.com/MilerWS"
    xmlns="http://schemas.xmlsoap.org/ws/2004/03/business-process/"
    xmlns:xs="http://www.mycompany.com/MilerServerSchemaNamespace"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2004/03/business-process/"
    xmlns:wsdlNS="http://www.mycompany.com/PCMilerWS" xmlns:ns1="http://www.mycompany.com/ws/MilerServer" xmlns:ns2="http://www.mycompany.com/MilerWS/">
    <import namespace="http://www.mycompany.com/ws/MilerServer" location="MilerServer.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
    <import namespace="http://www.mycompany.com/MilerWS" location="MilerWS.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
    <partnerLinks>
    <partnerLink name="MilerWS" partnerLinkType="wsdlNS:MilerWSPartnerLinkType" myRole="MilerWSProvider"/>
    <partnerLink name="MilerServer" partnerLinkType="ns1:MilerServerPartnerType" partnerRole="MilerServiceProvider"/>
    </partnerLinks>
    <variables>
    <variable name="city" messageType="ns1:latLongForCityRequest"/>
    <variable name="latLong" messageType="ns1:latLongForCityResponse"/>
    <variable name="inputVar" messageType="wsdlNS:geoCodesForCityRequest"/>
    <variable name="outputVar" messageType="wsdlNS:geoCodesForCityResponse"/>
    </variables>
    <sequence>
    <receive
    name="start"
    partnerLink="MilerWS"
    portType="wsdlNS:MyPortType"
    operation="geoCodesForCity"
    variable="inputVar"
    createInstance="yes"/>
    <assign name="AssignInput">
    <copy>
    <from variable="inputVar" part="inputType"/><to variable="city" part="city" />
    </copy>
    </assign>
    <invoke name="InvokeMilerWS" partnerLink="MilerServer" portType="ns1:MilerServer" operation="latLongForCity" inputVariable="city" outputVariable="latLong"/>
    <assign name="AssignOutput">
    <copy>
    <from variable="latLong" part="latLongForCityReturn"/><to variable="outputVar" part="resultType"/>
    </copy>
    </assign>
    <reply name="return"
    partnerLink="MilerWS"
    portType="wsdlNS:MyPortType"
    operation="geoCodesForCity"
    variable="outputVar"/>
    </sequence>
    </process>

  • BPEL invokation error from ADF

    Hi All,
    JDev Version: 11.1.1.3.0
    Currently in my application through ADF apps i am invoking BPEL service upon cliking of 'Submit' Button, so that BPEL service will be invoked and it procees. Now getting error as mentioned below.
    Any input please??
    <Aug 2, 2012 9:42:53 AM CEST> <Error> <oracle.adf.model.connection.webservice> <BEA-000000> <Failed to execute a SAAJ interaction.
    javax.xml.ws.WebServiceException: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Unable to read response: Connection reset
    at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:837)
    at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationWithRetry(OracleDispatchImpl.java:235)
    at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.invoke(OracleDispatchImpl.java:106)
    at oracle.adf.model.connection.webservice.impl.SaajInteractionImpl.execute(SaajInteractionImpl.java:76)
    at oracle.adfinternal.model.adapter.webservice.provider.soap.SOAPProvider.execute(SOAPProvider.java:334)
    at oracle.adfinternal.model.adapter.webservice.WSDataControl.invokeOperation(WSDataControl.java:259)
    at oracle.adf.model.bean.DCBeanDataControl.invokeMethod(DCBeanDataControl.java:430)
    at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:261)
    at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1635)
    at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2144)
    at oracle.adf.model.bean.DCBeanDataControl.invokeOperation(DCBeanDataControl.java:467)
    at oracle.adf.model.adapter.AdapterDCService.invokeOperation(AdapterDCService.java:307)
    at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)
    at view.SblOrder.InstWorkFlowBean.webServiceCall(InstWorkFlowBean.java:285)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.el.parser.AstValue.invoke(Unknown Source)
    at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
    at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
    at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:879)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:312)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:185)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:176)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(Unknown Source)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(Unknown Source)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.servlet.internal.WebAppServletContext.execute(Unknown Source)
    at weblogic.servlet.internal.ServletRequestImpl.run(Unknown Source)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Caused By: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Unable to read response: Connection reset
    at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.call2(HttpSOAPConnection.java:231)
    at oracle.j2ee.ws.common.transport.HttpTransport.transmit(HttpTransport.java:75)
    at oracle.j2ee.ws.common.async.MessageSender.call(MessageSender.java:64)
    at oracle.j2ee.ws.common.async.Transmitter.transmitSync(Transmitter.java:134)
    at oracle.j2ee.ws.common.async.Transmitter.transmit(Transmitter.java:90)
    at oracle.j2ee.ws.common.async.RequestorImpl.transmit(RequestorImpl.java:275)
    at oracle.j2ee.ws.common.async.RequestorImpl.invoke(RequestorImpl.java:95)
    at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:794)
    at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationWithRetry(OracleDispatchImpl.java:235)
    at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.invoke(OracleDispatchImpl.java:106)
    at oracle.adf.model.connection.webservice.impl.SaajInteractionImpl.execute(SaajInteractionImpl.java:76)
    at oracle.adfinternal.model.adapter.webservice.provider.soap.SOAPProvider.execute(SOAPProvider.java:334)
    at oracle.adfinternal.model.adapter.webservice.WSDataControl.invokeOperation(WSDataControl.java:259)
    at oracle.adf.model.bean.DCBeanDataControl.invokeMethod(DCBeanDataControl.java:430)
    at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:261)
    at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1635)
    at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2144)
    at oracle.adf.model.bean.DCBeanDataControl.invokeOperation(DCBeanDataControl.java:467)
    at oracle.adf.model.adapter.AdapterDCService.invokeOperation(AdapterDCService.java:307)
    at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)
    at view.SblOrder.InstWorkFlowBean.webServiceCall(InstWorkFlowBean.java:285)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.el.parser.AstValue.invoke(Unknown Source)
    at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
    at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
    at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:879)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:312)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:185)
    Thanks,
    Santosh

    Hi Frank,
    When I deploy the library along with the consuming app it works fine. Is this the best practice when dealing with multiple resuable libs?
    Thanks,
    Dipal

Maybe you are looking for

  • How to swap fields in screen painter.

    hello gurus,, how to swap fields in screen painter.

  • Rolling Averages in Sql Server 2008

    I dint get the perfect answer last time and i am still working on the exact output that i need. I have the two integer columns in my table and i have to calculate averages for those two columns.Hence my output should be  date col1 col2 AVGcol1 AVGcol

  • Music app problems with iPad 2 (iOS 5.1.1)

    So lately I've been noticing the music app has been acting up. A while ago I deleted songs directly off of my iPad and then when I plugged it into a computer, the tracks came back but you cannot play them - they're faded, but you can still see all th

  • BOE report scheduling based on BW event

    Hi Experts, I am looking for a solution to schedule a BOE report (eg. crystal, WebI) based on a BW event (eg. data load is finished). Systems: BOE XI 3.1 SP3, BW 7.01 The best option with minimum SDK enhancements so far is when BW routine creates a f

  • 3rd gen iPod won't connect with firewire...how can I restore it?

    As many others have had this problem, my iPod only charges when connected with firewire. When I connect with USB, it says "Use the iPod Software Updater application to restore the iPod to factory settings" When I try the iPod Software Updater, it say