Oracle DB Adapter throwing NLS_LANGUAGE' by invoking SP in  BPEL Process

Hi,
While i am invoking a Store procedure, the DB Adapter in BPEL process reslting throwing following below error in
<fault>
<bpelFault>
<faultType>0</faultType>
<bindingFault>
<part name="summary">
<summary>Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'ESOAAdd_DBWraper' failed due to: Stored procedure invocation error. Error while trying to prepare and execute the BPEL_ESOAADD_DBWRAPER.XXEMC_INT_PKG$AR_TRX_PRC API. An error occurred while preparing and executing the BPEL_ESOAADD_DBWRAPER.XXEMC_INT_PKG$AR_TRX_PRC API. Cause: java.sql.SQLException: ORA-20001: Oracle error -20001: ORA-20001: Oracle error -2074: ORA-02074: cannot SET NLS in a distributed transaction has been detected in fnd_global.set_nls.set_parameter('NLS_LANGUAGE','AMERICAN'). has been detected in fnd_global.set_nls. ORA-06512: at "APPS.APP_EXCEPTION", line 72 ORA-06512: at "APPS.FND_GLOBAL", line 245 ORA-06512: at "APPS.FND_GLOBAL", line 1426 ORA-06512: at "APPS.FND_GLOBAL", line 1684 ORA-06512: at "APPS.FND_GLOBAL", line 2309 ORA-06512: at "APPS.FND_GLOBAL", line 2447 ORA-06512: at "APPS.FND_GLOBAL", line 2385 ORA-06512: at "APPS.XXEMC_INT_PKG", line 22 ORA-06512: at "APPS.BPEL_ESOAADD_DBWRAPER", line 620 ORA-06512: at line 1 Check to ensure that the API is defined in the database and that the parameters match the signature of the API. This exception is considered not retriable, likely due to a modelling mistake. To classify it as retriable instead add property nonRetriableErrorCodes with value "-20001" to your deployment descriptor (i.e. weblogic-ra.xml). To auto retry a retriable fault set these composite.xml properties for this invoke: jca.retry.interval, jca.retry.count, and jca.retry.backoff. All properties are integers. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. </summary>
</part>
<part name="detail">
<detail>ORA-20001: Oracle error -20001: ORA-20001: Oracle error -2074: ORA-02074: cannot SET NLS in a distributed transaction has been detected in fnd_global.set_nls.set_parameter('NLS_LANGUAGE','AMERICAN'). has been detected in fnd_global.set_nls. ORA-06512: at "APPS.APP_EXCEPTION", line 72 ORA-06512: at "APPS.FND_GLOBAL", line 245 ORA-06512: at "APPS.FND_GLOBAL", line 1426 ORA-06512: at "APPS.FND_GLOBAL", line 1684 ORA-06512: at "APPS.FND_GLOBAL", line 2309 ORA-06512: at "APPS.FND_GLOBAL", line 2447 ORA-06512: at "APPS.FND_GLOBAL", line 2385 ORA-06512: at "APPS.XXEMC_INT_PKG", line 22 ORA-06512: at "APPS.BPEL_ESOAADD_DBWRAPER", line 620 ORA-06512: at line 1 </detail>
</part>
<part name="code">
<code>20001</code>
</part>
</bindingFault>
</bpelFault>
</fault>
Can any one gude me to over come from this error.
Thanks,
Srikanth

I believe you are invoking a Standard Seeded API in Oracle EBS. Please use the Oracle Apps Adapter instead of the Database Adapter.
Also, before the API call, make sure you invoke the SET_CLIENT_INFO procedure under the package DBMS_APPLICATION_INFO. While invoking this set client info procedure, you need to pass an input of 0 (zero) . Confirm the same with your EBS Experts in the team.
Also, now when calling the Standard API, you need to pass the credentials in the invoke activity header properties.
look at this link for my suggestions on the same
Re: Error while Uploading PO's into Oracle
Let me know...
Hope this helps,
N

Similar Messages

  • OSB -- Invoking an asynchronous BPEL process in Oracle Service Bus

    Hi All,
    Can any one let me know how to invoke the Asynchronous BPEL process in OSB.
    Thanks in Advance,
    Feroz Tasha.

    Hey,
    What i was trying to say was that when you export your OSB project to file system, you can edit the business service in a file editor(e.g notepad, editplus etc).
    In that, instead of suppose 127.0.0.1 u can put a token say @@HOST_NAME@@ and for a port say 7001 as @@PORT_NUMBER@@.
    Then an ant script can replace the values of above 2 tokens with apt values, create a jar out of it and deploy it on the server.
    There are numerous ANT scripts and examples available online.
    Hope this helps.

  • I tried to invoke WS from BPEL process

    I tried to invoke WS from BPEL process. And error occurred when I deployed the process.
    Error:
    [ERROR ORABPEL-10902]: COMPILING FAILED.
    [NOTE]: IN "bpel.xml", XML syntax analysis failed. The reason is "Part Element not defined".
    In "http://192.168.0.188:8989/newTest-newTest-context-root/MyorderListWS?wsdl" , Message Part Element "{http://www.w3.org/2001/XMLSchema}any" is not defined in any SCHEMA&#12290;
    Please make sure to spell the definite name of the ELEMENT correctly and import WSDL completely.
    wsdl file(IMyorderListWS.wsdl)
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <!--Generated by the Oracle JDeveloper 10g Web Services WSDL Generator-->
    <!--Date Created: Thu Sep 29 17:00:15 CST 2005-->
    <definitions
    name="MyorderListWS"
    targetNamespace="http://zbht/com/orderList.wsdl"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:tns="http://zbht/com/orderList.wsdl"
    xmlns:ns1="http://zbht.com/IMyorderListWS.xsd">
    <types>
    <schema
    targetNamespace="http://zbht.com/IMyorderListWS.xsd"
    xmlns="http://www.w3.org/2001/XMLSchema"
    xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"/>
    </types>
    <message name="getResInfo0Request">
    <part name="custID" type="xsd:string"/>
    <part name="prodctID" type="xsd:string"/>
    </message>
    <message name="getResInfo0Response">
    <part name="return" element="xsd:any"/>
    </message>
    <portType name="orderListPortType">
    <operation name="getResInfo">
    <input name="getResInfo0Request" message="tns:getResInfo0Request"/>
    <output name="getResInfo0Response" message="tns:getResInfo0Response"/>
    </operation>
    </portType>
    <binding name="orderListBinding" type="tns:orderListPortType">
    <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="getResInfo">
    <soap:operation soapAction="" style="rpc"/>
    <input name="getResInfo0Request">
    <soap:body use="encoded" namespace="MyorderListWS" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
    </input>
    <output name="getResInfo0Response">
    <soap:body use="literal" namespace="MyorderListWS"/>
    </output>
    </operation>
    </binding>
    <service name="MyorderListWS">
    <port name="orderListPort" binding="tns:orderListBinding">
    <soap:address location="http://192.168.0.188:8989/newTest-newTest-context-root/MyorderListWS"/>
    </port>
    </service>
    </definitions>
    /*****************************************************************************************/

    In your wsdl ...
    instead of
    <part name="custID" type="xsd:string"/>
    try
    <part name="custID" element="xsd:string"/>
    the part is usually an element such as
    <element name="BPELProcess1ProcessResponse">
    <complexType>
    <sequence>
    <element name="result" type="string"/>
    </sequence>
    </complexType>
    </element>
    hth clemens

  • Invoking webservice through bpel process

    Hi, I created a webservice for a java code. I created a simple bpel process to invoke the webservice. Its throwing below error when running the bpel process. I tested the webservice alone. it works fine. Any help is highly apreciated.
    Thanks, Ram....
    when invoking locally the endpoint 'http://wtus081806-6:9700/Hrinfo-java_test_1-context-root/default', ; nested exception is: ORABPEL-05210 No BPEL archive files. The process domain cannot locate any BPEL archives for process "unknown". If you have deployed a process please check that it is located in the directory "C:\OraHome_1\integration\orabpel\domains\default\deploy".</summary>
    </part>
    <part name="detail">
    <detail>ORABPEL-05210 No BPEL archive files. The process domain cannot locate any BPEL archives for process "unknown". If you have deployed a process please check that it is located in the directory "C:\OraHome_1\integration\orabpel\domains\default\deploy".</detail>
    </part>

    I remember this being a bug in 10.1.2.0.2 - as somehow the servlet thinks the call would be for the bpel engine, instead of the webservice endpoint,
    so I recommend 2 things .. don/t name the operation default
    'http://wtus081806-6:9700/Hrinfo-java_test_1-context-root/default'
    and if this does not help, try to set optSOAPShortcut -> false on the BPEL Domain ..

  • 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

  • Problem invoking from a BPEL process webservice client

    I have a BPEL Synchronous process that invokes a webservice deployed on Tomcat. The process executes without any exception when I run it from the BPEL Console. Since I want to execute the BPEL process as a command line operation, I created a BPEL Process Webservice client from scratch using Axis as described in Tutorial7 - InvokingBPELProcesses.pdf. However when I try to execute the client, I get the following error:
    AxisFault
    faultCode: {http://xml.apache.org/axis/}Server.generalException
    faultSubcode:
    faultString: Dispatcher send error.
    An error occurred while sending a batch message to the dispatch queue. The exception is: Failed to create &quot;java:comp/env/ejb/local/DispatcherLocalBean&quot; bean; exception reported is: &quot;javax.naming.NameNotFoundException: ejb/local/DispatcherLocalBean not found in startup_war&#xd;
         at com.oracle.naming.J2EEContext.getSubContext(J2EEContext.java:93)&#xd;
         at com.oracle.naming.J2EEContext.lookup(J2EEContext.java:76)&#xd;
         at com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:177)&#xd;
         at com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:119)&#xd;
         at javax.naming.InitialContext.lookup(InitialContext.java:347)&#xd;
         at com.collaxa.cube.engine.util.CubeEngineBeanRegistry.lookupDispatcherLocalBean(CubeEngineBeanRegistry.java:165)&#xd;
         at com.collaxa.cube.engine.util.CubeEngineBeanCache.getDispatcherLocalBean(CubeEngineBeanCache.java:91)&#xd;
         at com.collaxa.cube.engine.dispatch.DispatchHelper.sendLocal(DispatchHelper.java:229)&#xd;
         at com.collaxa.cube.engine.dispatch.Dispatcher.receive(Dispatcher.java:430)&#xd;
         at com.collaxa.cube.engine.dispatch.Dispatcher.receive(Dispatcher.java:357)&#xd;
         at com.collaxa.cube.engine.dispatch.Dispatcher.update(Dispatcher.java:253)&#xd;
         at com.collaxa.cube.engine.core.event.DomainObserverRegistry.notify(DomainObserverRegistry.java:124)&#xd;
         at com.collaxa.cube.engine.core.event.DomainObserverRegistry.notify(DomainObserverRegistry.java:66)&#xd;
         at com.collaxa.cube.engine.deployment.CubeProcessHolder.notify(CubeProcessHolder.java:727)&#xd;
         at com.collaxa.cube.engine.deployment.CubeProcessHolder.addProcess(CubeProcessHolder.java:697)&#xd;
         at com.collaxa.cube.engine.deployment.CubeProcessHolder.bind(CubeProcessHolder.java:632)&#xd;
         at com.collaxa.cube.engine.deployment.CubeProcessHolder.loadAndBind(CubeProcessHolder.java:605)&#xd;
         at com.collaxa.cube.engine.deployment.CubeProcessHolder.loadAndBind(CubeProcessHolder.java:592)&#xd;
         at com.collaxa.cube.engine.deployment.CubeProcessHolder.getProcess(CubeProcessHolder.java:494)&#xd;
         at com.collaxa.cube.engine.deployment.CubeProcessHolder.getProcess(CubeProcessHolder.java:429)&#xd;
         at com.collaxa.cube.engine.CubeEngine.lookupProcess(CubeEngine.java:840)&#xd;
         at com.collaxa.cube.ws.wsdl.WSDLManager.getProcess(WSDLManager.java:437)&#xd;
         at com.collaxa.cube.ws.wsdl.WSDLManager.getPartnerWSDL(WSDLManager.java:300)&#xd;
         at com.collaxa.cube.ws.soap.providers.CXSOAPProvider.processBPELMessage(CXSOAPProvider.java:175)&#xd;
         at com.collaxa.cube.ws.soap.providers.CXSOAPProvider.invoke(CXSOAPProvider.java:111)&#xd;
         at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)&#xd;
         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156)&#xd;
         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126)&#xd;
         at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:437)&#xd;
         at org.apache.axis.server.AxisServer.invoke(AxisServer.java:316)&#xd;
         at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:701)&#xd;
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)&#xd;
         at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:335)&#xd;
         at com.collaxa.cube.fe.CollaxaServlet.service(CollaxaServlet.java:117)&#xd;
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)&#xd;
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)&#xd;
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)&#xd;
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)&#xd;
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)&#xd;
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)&#xd;
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)&#xd;
         at java.lang.Thread.run(Thread.java:534)&#xd;
    &quot;.
    Can someone please tell me what is it I am doing wrong?

    I was using
    Oracle BPEL Server version 2.0
    Build: 2004.06.17.14.40
    Build time: Thu Jun 17 14:40:58 PDT 2004
    However, I downloaded the latest version of the Process Manager and did not face the same problem.

  • 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/

  • Can't invoke WS from BPEL process: Unable to locate activated endpoint

    I have a simple Calculator Web Service deployed on Glassfish, that I can access with any kind of SOAP client (e.g. soapUI). I have then created a BPEL process that invokes this external Web Service (which happens to run on the same Glassfish server, but that's largely irrelevant I suppose). I can instantiate and invoke the BPEL process (I've tried it with a dummy assign earlier just to make sure, and it runs successfully), but the BPEL process doesn't seem to be able to locate the external Web Service. I get the following fault:
    <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
    <S:Body>
    <ns2:Fault xmlns:ns2="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope">
    <faultcode>ns2:Server</faultcode>
    <faultstring>javax.jbi.messaging.MessagingException: Unable to locate activated endpoint for service connection {SigningCompositeApp}CalculatorService SignedCalculatorService.</faultstring>
    <detail>
    <ns2:exception class="java.lang.RuntimeException" note="To disable this feature, set com.sun.xml.ws.fault.SOAPFaultBuilder.disableCaptureStackTrace system property to false" xmlns:ns2="http://jax-ws.dev.java.net/">
    <message>javax.jbi.messaging.MessagingException: Unable to locate activated endpoint for service connection {SigningCompositeApp}CalculatorService SignedCalculatorService.</message>
    <ns2:stackTrace>
    <ns2:frame class="com.sun.xml.ws.server.provider.AsyncProviderInvokerTube$AsyncProviderCallbackImpl" file="AsyncProviderInvokerTube.java" line="114" method="sendError"/>
    <ns2:frame class="com.sun.jbi.httpsoapbc.jaxwssupport.AsyncJBIProvider" file="AsyncJBIProvider.java" line="136" method="invoke"/>
    <ns2:frame class="com.sun.jbi.httpsoapbc.jaxwssupport.AsyncJBIProvider" file="AsyncJBIProvider.java" line="94" method="invoke"/>
    <ns2:frame class="sun.reflect.GeneratedMethodAccessor305" line="unknown" method="invoke"/>
    <ns2:frame class="sun.reflect.DelegatingMethodAccessorImpl" file="DelegatingMethodAccessorImpl.java" line="25" method="invoke"/>
    <ns2:frame class="java.lang.reflect.Method" file="Method.java" line="597" method="invoke"/>
    <ns2:frame class="com.sun.jbi.httpsoapbc.jaxwssupport.InvokerImpl" file="InvokerImpl.java" line="72" method="invoke"/>
    <ns2:frame class="com.sun.xml.ws.api.server.Invoker" file="Invoker.java" line="115" method="invokeAsyncProvider"/>
    <ns2:frame class="com.sun.xml.ws.server.InvokerTube$2" file="InvokerTube.java" line="166" method="invokeAsyncProvider"/>
    <ns2:frame class="com.sun.xml.ws.server.provider.AsyncProviderInvokerTube" file="AsyncProviderInvokerTube.java" line="80" method="processRequest"/>
    <ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="595" method="__doRun"/>
    <ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="554" method="_doRun"/>
    <ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="539" method="doRun"/>
    <ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="388" method="run"/>
    <ns2:frame class="java.util.concurrent.ThreadPoolExecutor$Worker" file="ThreadPoolExecutor.java" line="885" method="runTask"/>
    <ns2:frame class="java.util.concurrent.ThreadPoolExecutor$Worker" file="ThreadPoolExecutor.java" line="907" method="run"/>
    <ns2:frame class="java.lang.Thread" file="Thread.java" line="619" method="run"/>
    </ns2:stackTrace>
    <ns2:cause class="javax.jbi.messaging.MessagingException" note="To disable this feature, set com.sun.xml.ws.fault.SOAPFaultBuilder.disableCaptureStackTrace system property to false">
    <message>Unable to locate activated endpoint for service connection {SigningCompositeApp}CalculatorService SignedCalculatorService.</message>
    <ns2:stackTrace>
    <ns2:frame class="com.sun.jbi.messaging.MessageService" file="MessageService.java" line="492" method="addressExchange"/>
    <ns2:frame class="com.sun.jbi.messaging.MessageService" file="MessageService.java" line="326" method="doExchange"/>
    <ns2:frame class="com.sun.jbi.messaging.DeliveryChannelImpl" file="DeliveryChannelImpl.java" line="209" method="send"/>
    <ns2:frame class="com.sun.jbi.httpsoapbc.InboundMessageProcessor" file="InboundMessageProcessor.java" line="268" method="sendInOut"/>
    <ns2:frame class="com.sun.jbi.httpsoapbc.InboundMessageProcessor" file="InboundMessageProcessor.java" line="479" method="executeSOAP"/>
    <ns2:frame class="com.sun.jbi.httpsoapbc.InboundMessageProcessor" file="InboundMessageProcessor.java" line="215" method="execute"/>
    <ns2:frame class="com.sun.jbi.httpsoapbc.jaxwssupport.AsyncJBIProvider" file="AsyncJBIProvider.java" line="134" method="invoke"/>
    <ns2:frame class="com.sun.jbi.httpsoapbc.jaxwssupport.AsyncJBIProvider" file="AsyncJBIProvider.java" line="94" method="invoke"/>
    <ns2:frame class="sun.reflect.GeneratedMethodAccessor305" line="unknown" method="invoke"/>
    <ns2:frame class="sun.reflect.DelegatingMethodAccessorImpl" file="DelegatingMethodAccessorImpl.java" line="25" method="invoke"/>
    <ns2:frame class="java.lang.reflect.Method" file="Method.java" line="597" method="invoke"/>
    <ns2:frame class="com.sun.jbi.httpsoapbc.jaxwssupport.InvokerImpl" file="InvokerImpl.java" line="72" method="invoke"/>
    <ns2:frame class="com.sun.xml.ws.api.server.Invoker" file="Invoker.java" line="115" method="invokeAsyncProvider"/>
    <ns2:frame class="com.sun.xml.ws.server.InvokerTube$2" file="InvokerTube.java" line="166" method="invokeAsyncProvider"/>
    <ns2:frame class="com.sun.xml.ws.server.provider.AsyncProviderInvokerTube" file="AsyncProviderInvokerTube.java" line="80" method="processRequest"/>
    <ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="595" method="__doRun"/>
    <ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="554" method="_doRun"/>
    <ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="539" method="doRun"/>
    <ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="388" method="run"/>
    <ns2:frame class="java.util.concurrent.ThreadPoolExecutor$Worker" file="ThreadPoolExecutor.java" line="885" method="runTask"/>
    <ns2:frame class="java.util.concurrent.ThreadPoolExecutor$Worker" file="ThreadPoolExecutor.java" line="907" method="run"/>
    <ns2:frame class="java.lang.Thread" file="Thread.java" line="619" method="run"/>
    </ns2:stackTrace>
    </ns2:cause>
    </ns2:exception>
    </detail>
    </ns2:Fault>
    </S:Body>
    </S:Envelope>
    For good measure, here's the WSDL (and partner link defn) for the external WS:
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="CalculatorWSExternal" targetNamespace="http://j2ee.netbeans.org/wsdl/CalculatorWSExternal"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://j2ee.netbeans.org/wsdl/CalculatorWSExternal" xmlns:ns="http://calculator.me.org/" xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
    <types>
    <xsd:schema targetNamespace="http://j2ee.netbeans.org/wsdl/CalculatorWSExternal">
    <xsd:import namespace="http://calculator.me.org/" schemaLocation="CalculatorWSService.xsd"/>
    </xsd:schema>
    </types>
    <message name="addRequest">
    <part name="add" element="ns:add"/>
    </message>
    <message name="addReply">
    <part name="addResponse" element="ns:addResponse"/>
    </message>
    <portType name="CalculatorWSExternalPortType">
    <operation name="add">
    <input name="input1" message="tns:addRequest"/>
    <output name="output1" message="tns:addReply"/>
    </operation>
    </portType>
    <binding name="CalculatorWSExternalBinding" type="tns:CalculatorWSExternalPortType">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="add">
    <soap:operation/>
    <input name="input1">
    <soap:body use="literal"/>
    </input>
    <output name="output1">
    <soap:body use="literal"/>
    </output>
    </operation>
    </binding>
    <service name="CalculatorWSExternalService">
    <port name="CalculatorWSExternalPort" binding="tns:CalculatorWSExternalBinding">
    <soap:address location="http://localhost:8080/CalculatorApp/CalculatorWSService"/>
    </port>
    </service>
    <plnk:partnerLinkType name="CalculatorWSExternal1">
    <!-- A partner link type is automatically generated when a new port type is added. Partner link types are used by BPEL processes.
    In a BPEL process, a partner link represents the interaction between the BPEL process and a partner service. Each partner link is associated with a partner link type.
    A partner link type characterizes the conversational relationship between two services. The partner link type can have one or two roles.-->
    <plnk:role name="CalculatorWSExternalPortTypeRole" portType="tns:CalculatorWSExternalPortType"/>
    </plnk:partnerLinkType>
    </definitions>
    Any help? I've seen someone post a similar problem on the forum at http://forum.java.sun.com/thread.jspa?threadID=5273187&messageID=10157363#10157363
    but I haven't seen any answers. Thanks!
    Edited by: tboubez on Jun 9, 2008 10:56 AM

    Check the ports of Web services and those of BPEL, as Hambo have different communication ports.
    Normally Webservices point to the port 8080 and BPEL to 18181 or 9084.
    Check and I accounts.
    Greetings.

  • Unable to invoke Webservice with BPEL process

    Hi,
    I wrote a basic WebService in Java and now I want to invoke it with a simple BPEL Process. But it doesn't work. I am using Netbeans 6.5 as IDE and GlassFish V2 as Server.
    Everytime when I try to test my BPEL Process, I got back the following failure message:
    ERROR: Successful execution of Start: NPSProcesstestingApp
    WARNING: (JBIMA0405) Start of service assembly NPSProcesstestingApp succeeded partially; some service units failed to start.
    * Component: sun-http-binding
    ERROR: (SOAPBC_START_1) HTTPBC-E00205: Start failed. java.lang.Exception: LifecycleException: PWC3985: Initialisierung der Protokoll-Behandlungsroutine fehlgeschlagen: java.net.BindException: Address already in use: bind: 8083
    * Component: sun-bpel-engine
    INFO: (JBIMA0409) Lifecycle operation start succeeded for Service Unit NPSProcesstestingApp-NPSProcesstesting.
    I have absolutely no idea why it doesn't work, my webservice is running on localhost at port 8083: http://localhost:8083/numberportingservice, and I deploy it in the following way:
    //NumberPortingService
    NumberPortingServiceImpl npsImpl = new NumberPortingServiceImpl();
    new TestDataGeneratorNPS(npsImpl);
    JaxWsServerFactoryBean sfNPS = new JaxWsServerFactoryBean();
    sfNPS.setServiceClass(NumberPortingService.class);
    sfNPS.setAddress("http://localhost:8083/numberportingservice");
    sfNPS.setServiceBean(npsImpl);
    sfNPS.create();
    That works fine, but it doesn't work with the BPEL process, GlassFish is running on Port 7272 and my webservice on Port 8083, so is the Port 8083 blocked? I checked it, it is not blocked by another application, only my webservice is using it.
    My BPEL Process looks like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <process
    name="NPStesting"
    targetNamespace="http://enterprise.netbeans.org/bpel/NPSProcesstesting/NPStesting"
    xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:sxt="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Trace"
    xmlns:sxed="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Editor"
    xmlns:tns="http://enterprise.netbeans.org/bpel/NPSProcesstesting/NPStesting">
    <import namespace="http://enterprise.netbeans.org/bpel/numberportingserviceWrapper" location="localhost_8083/numberportingserviceWrapper.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
    <import namespace="http://jaxws/" location="localhost_8083/numberportingservice.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
    <partnerLinks>
    <partnerLink name="PartnerLink1" xmlns:tns="http://enterprise.netbeans.org/bpel/numberportingserviceWrapper" partnerLinkType="tns:NumberPortingServiceLinkType" myRole="NumberPortingServiceRole"/>
    </partnerLinks>
    <variables>
    <variable name="StatecountOut" xmlns:tns="http://jaxws/" messageType="tns:statecountResponse"/>
    <variable name="StatecountIn" xmlns:tns="http://jaxws/" messageType="tns:statecount"/>
    </variables>
    <sequence>
    <receive name="Receive1" createInstance="yes" partnerLink="PartnerLink1" operation="statecount" xmlns:tns="http://jaxws/" portType="tns:NumberPortingService" variable="StatecountIn"/>
    <reply name="Reply1" partnerLink="PartnerLink1" operation="statecount" xmlns:tns="http://jaxws/" portType="tns:NumberPortingService" variable="StatecountOut"/>
    </sequence>
    </process>
    The wsdl of my webservice looks like this:
    <?xml version='1.0' encoding='UTF-8'?><wsdl:definitions name="NumberPortingServiceService" targetNamespace="http://jaxws/" xmlns:ns1="http://schemas.xmlsoap.org/soap/http" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://jaxws/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <wsdl:types>
    <xs:schema attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://jaxws/" xmlns:tns="http://jaxws/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="address" type="tns:address" />
    <xs:element name="check_porting_possible" type="tns:check_porting_possible" />
    <xs:element name="check_porting_possibleResponse" type="tns:check_porting_possibleResponse" />
    <xs:element name="check_porting_status" type="tns:check_porting_status" />
    <xs:element name="check_porting_statusResponse" type="tns:check_porting_statusResponse" />
    <xs:element name="customer" type="tns:customer" />
    <xs:element name="customers" type="tns:customers" />
    <xs:element name="get_porting_result" type="tns:get_porting_result" />
    <xs:element name="get_porting_resultResponse" type="tns:get_porting_resultResponse" />
    <xs:element name="portingRequest" type="tns:portingRequest" />
    <xs:element name="portingResult" type="tns:portingResult" />
    <xs:element name="schedule_batch_porting" type="tns:schedule_batch_porting" />
    <xs:element name="schedule_batch_portingResponse" type="tns:schedule_batch_portingResponse" />
    <xs:element name="statecount" type="tns:statecount" />
    <xs:element name="statecountResponse" type="tns:statecountResponse" />
    <xs:element name="telephoneNumber" type="tns:telephoneNumber" />
    <xs:complexType name="check_porting_possible">
    <xs:sequence>
    <xs:element minOccurs="0" name="customer" type="tns:customer" />
    <xs:element name="providerId" type="xs:long" />
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="customer">
    <xs:sequence>
    <xs:element minOccurs="0" name="id" type="xs:string" />
    <xs:element minOccurs="0" name="name" type="xs:string" />
    <xs:element name="provider" type="xs:long" />
    <xs:element minOccurs="0" name="address" type="tns:address" />
    <xs:element minOccurs="0" name="telephoneNumber" type="tns:telephoneNumber" />
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="address">
    <xs:sequence>
    <xs:element minOccurs="0" name="area_code" type="xs:string" />
    <xs:element minOccurs="0" name="city" type="xs:string" />
    <xs:element name="door" type="xs:int" />
    <xs:element name="house" type="xs:int" />
    <xs:element minOccurs="0" name="street" type="xs:string" />
    </xs:sequence>
    <xs:attribute name="id" type="xs:string" />
    </xs:complexType>
    <xs:complexType name="telephoneNumber">
    <xs:sequence>
    <xs:element minOccurs="0" name="area_code" type="xs:string" />
    <xs:element minOccurs="0" name="country_code" type="xs:string" />
    <xs:element minOccurs="0" name="id" type="xs:string" />
    <xs:element minOccurs="0" name="number" type="xs:string" />
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="check_porting_possibleResponse">
    <xs:sequence>
    <xs:element name="return" type="xs:boolean" />
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="check_porting_status">
    <xs:sequence>
    <xs:element minOccurs="0" name="customer" type="tns:customer" />
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="check_porting_statusResponse">
    <xs:sequence>
    <xs:element name="return" type="xs:boolean" />
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="get_porting_result">
    <xs:sequence>
    <xs:element minOccurs="0" name="customer" type="tns:customer" />
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="get_porting_resultResponse">
    <xs:sequence>
    <xs:element minOccurs="0" name="return" type="tns:portingResult" />
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="portingResult">
    <xs:sequence>
    <xs:element minOccurs="0" name="comment" type="xs:string" />
    <xs:element name="new_provider" type="xs:long" />
    <xs:element name="success" type="xs:boolean" />
    <xs:element minOccurs="0" name="customer" type="tns:customer" />
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="schedule_batch_porting">
    <xs:sequence>
    <xs:element maxOccurs="unbounded" minOccurs="0" name="portingrequests" type="tns:portingRequest" />
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="portingRequest">
    <xs:sequence>
    <xs:element name="new_provider" type="xs:long" />
    <xs:element name="porting_date" type="xs:long" />
    <xs:element minOccurs="0" name="customer" type="tns:customer" />
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="schedule_batch_portingResponse">
    <xs:sequence>
    <xs:element maxOccurs="unbounded" minOccurs="0" name="return" type="xs:anyType" />
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="statecount">
    <xs:sequence />
    </xs:complexType>
    <xs:complexType name="statecountResponse">
    <xs:sequence>
    <xs:element name="return" type="xs:int" />
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="customers">
    <xs:sequence>
    <xs:element maxOccurs="unbounded" minOccurs="0" name="customers" nillable="true" type="tns:customer" />
    </xs:sequence>
    </xs:complexType>
    <xs:element name="InvalidCustomerFault" type="tns:InvalidCustomerFault" />
    <xs:complexType name="InvalidCustomerFault">
    <xs:sequence />
    </xs:complexType>
    <xs:element name="NotFinishedFault" type="tns:NotFinishedFault" />
    <xs:complexType name="NotFinishedFault">
    <xs:sequence />
    </xs:complexType>
    </xs:schema>
    </wsdl:types>
    <wsdl:message name="statecountResponse">
    <wsdl:part element="tns:statecountResponse" name="parameters">
    </wsdl:part>
    </wsdl:message>
    <wsdl:message name="check_porting_statusResponse">
    <wsdl:part element="tns:check_porting_statusResponse" name="parameters">
    </wsdl:part>
    </wsdl:message>
    <wsdl:message name="schedule_batch_porting">
    <wsdl:part element="tns:schedule_batch_porting" name="parameters">
    </wsdl:part>
    </wsdl:message>
    <wsdl:message name="check_porting_possible">
    <wsdl:part element="tns:check_porting_possible" name="parameters">
    </wsdl:part>
    </wsdl:message>
    <wsdl:message name="get_porting_resultResponse">
    <wsdl:part element="tns:get_porting_resultResponse" name="parameters">
    </wsdl:part>
    </wsdl:message>
    <wsdl:message name="check_porting_status">
    <wsdl:part element="tns:check_porting_status" name="parameters">
    </wsdl:part>
    </wsdl:message>
    <wsdl:message name="statecount">
    <wsdl:part element="tns:statecount" name="parameters">
    </wsdl:part>
    </wsdl:message>
    <wsdl:message name="NotFinishedFault">
    <wsdl:part element="tns:NotFinishedFault" name="NotFinishedFault">
    </wsdl:part>
    </wsdl:message>
    <wsdl:message name="get_porting_result">
    <wsdl:part element="tns:get_porting_result" name="parameters">
    </wsdl:part>
    </wsdl:message>
    <wsdl:message name="check_porting_possibleResponse">
    <wsdl:part element="tns:check_porting_possibleResponse" name="parameters">
    </wsdl:part>
    </wsdl:message>
    <wsdl:message name="InvalidCustomerFault">
    <wsdl:part element="tns:InvalidCustomerFault" name="InvalidCustomerFault">
    </wsdl:part>
    </wsdl:message>
    <wsdl:message name="schedule_batch_portingResponse">
    <wsdl:part element="tns:schedule_batch_portingResponse" name="parameters">
    </wsdl:part>
    </wsdl:message>
    <wsdl:portType name="NumberPortingService">
    <wsdl:operation name="check_porting_possible">
    <wsdl:input message="tns:check_porting_possible" name="check_porting_possible">
    </wsdl:input>
    <wsdl:output message="tns:check_porting_possibleResponse" name="check_porting_possibleResponse">
    </wsdl:output>
    <wsdl:fault message="tns:InvalidCustomerFault" name="InvalidCustomerFault">
    </wsdl:fault>
    </wsdl:operation>
    <wsdl:operation name="check_porting_status">
    <wsdl:input message="tns:check_porting_status" name="check_porting_status">
    </wsdl:input>
    <wsdl:output message="tns:check_porting_statusResponse" name="check_porting_statusResponse">
    </wsdl:output>
    <wsdl:fault message="tns:InvalidCustomerFault" name="InvalidCustomerFault">
    </wsdl:fault>
    </wsdl:operation>
    <wsdl:operation name="get_porting_result">
    <wsdl:input message="tns:get_porting_result" name="get_porting_result">
    </wsdl:input>
    <wsdl:output message="tns:get_porting_resultResponse" name="get_porting_resultResponse">
    </wsdl:output>
    <wsdl:fault message="tns:NotFinishedFault" name="NotFinishedFault">
    </wsdl:fault>
    <wsdl:fault message="tns:InvalidCustomerFault" name="InvalidCustomerFault">
    </wsdl:fault>
    </wsdl:operation>
    <wsdl:operation name="schedule_batch_porting">
    <wsdl:input message="tns:schedule_batch_porting" name="schedule_batch_porting">
    </wsdl:input>
    <wsdl:output message="tns:schedule_batch_portingResponse" name="schedule_batch_portingResponse">
    </wsdl:output>
    <wsdl:fault message="tns:InvalidCustomerFault" name="InvalidCustomerFault">
    </wsdl:fault>
    </wsdl:operation>
    <wsdl:operation name="statecount">
    <wsdl:input message="tns:statecount" name="statecount">
    </wsdl:input>
    <wsdl:output message="tns:statecountResponse" name="statecountResponse">
    </wsdl:output>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="NumberPortingServiceServiceSoapBinding" type="tns:NumberPortingService">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="check_porting_possible">
    <soap:operation soapAction="" style="document" />
    <wsdl:input name="check_porting_possible">
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output name="check_porting_possibleResponse">
    <soap:body use="literal" />
    </wsdl:output>
    <wsdl:fault name="InvalidCustomerFault">
    <soap:fault name="InvalidCustomerFault" use="literal" />
    </wsdl:fault>
    </wsdl:operation>
    <wsdl:operation name="check_porting_status">
    <soap:operation soapAction="" style="document" />
    <wsdl:input name="check_porting_status">
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output name="check_porting_statusResponse">
    <soap:body use="literal" />
    </wsdl:output>
    <wsdl:fault name="InvalidCustomerFault">
    <soap:fault name="InvalidCustomerFault" use="literal" />
    </wsdl:fault>
    </wsdl:operation>
    <wsdl:operation name="get_porting_result">
    <soap:operation soapAction="" style="document" />
    <wsdl:input name="get_porting_result">
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output name="get_porting_resultResponse">
    <soap:body use="literal" />
    </wsdl:output>
    <wsdl:fault name="NotFinishedFault">
    <soap:fault name="NotFinishedFault" use="literal" />
    </wsdl:fault>
    <wsdl:fault name="InvalidCustomerFault">
    <soap:fault name="InvalidCustomerFault" use="literal" />
    </wsdl:fault>
    </wsdl:operation>
    <wsdl:operation name="schedule_batch_porting">
    <soap:operation soapAction="" style="document" />
    <wsdl:input name="schedule_batch_porting">
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output name="schedule_batch_portingResponse">
    <soap:body use="literal" />
    </wsdl:output>
    <wsdl:fault name="InvalidCustomerFault">
    <soap:fault name="InvalidCustomerFault" use="literal" />
    </wsdl:fault>
    </wsdl:operation>
    <wsdl:operation name="statecount">
    <soap:operation soapAction="" style="document" />
    <wsdl:input name="statecount">
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output name="statecountResponse">
    <soap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="NumberPortingServiceService">
    <wsdl:port binding="tns:NumberPortingServiceServiceSoapBinding" name="NumberPortingServicePort">
    <soap:address location="http://localhost:8083/numberportingservice" />
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    Have anybody an idea why I got this failure I mentioned above when trying to start the BPEL process?
    Please help me :)
    Thanks a lot!!!
    Steve

    Or can you invoke the service from the 'gui' of the deployed webservice in the glassfish as ?
    you need to check if either the service doesnt work or the invoke of the service from bpel is the problem

  • Can we invoke a asynchronous BPEL process from synchronous and vice versa

    Hi,
    Can we invoke a BPEL asynchronous process from synchronous and vice versa. If so how to perform that.
    thanks,
    Vijay

    Yes you can
    sync -- calling --> Asyncc
    Async -- calling --> syncc
    Perfomance is no issue, depending on your requirements. Not the Syncprocesses are short-running processes, these will time-out after 30 seconds, if no answer is coming from the async process.
    Marc
    http://orasoa.blogspot.com

  • Binding Error while calling Oracle Apps Adapter

    Hi,
    I have configured an oracle apps adapter to be called from the a BPEL Process in Jdev. The operation is to insert data in an oracle interface table.
    I m getting the following error when the BPEL process is invoked from Console. Please suggest where could be the problem.
    <bindingFault xmlns="http://schemas.oracle.com/bpel/extension">
    -<part name="code">
    <code>null
    </code>
    </part>
    -<part name="summary">
    <summary>
    file:/C:/SOA/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_BPELProcess1_2.0_70717543df91cf3e80346845ccf64937.tmp/OraAppAdp.wsdl [ OraAppAdp_ptt::insert(RaCustomersInterfaceAllCollection) ] - WSIF JCA Execute of operation 'insert' failed due to: DBWriteInteractionSpec Execute Failed Exception.
    insert failed. Descriptor name: [OraAppAdp.RaCustomersInterfaceAll].
    ; nested exception is:
         ORABPEL-11616
    DBWriteInteractionSpec Execute Failed Exception.
    insert failed. Descriptor name: [OraAppAdp.RaCustomersInterfaceAll].
    Caused by java.lang.NullPointerException.
    </summary>
    </part>
    -<part name="detail">
    <detail>null
    </detail>
    </part>
    </bindingFault>
    I have checked the oc4j-ra.xml , data-sources.xml and the connection factory on the enterprice manager.
    Thanks
    varun

    Hi all,
    i have exactly the same error and use the same applications and adapters.
    i don't know what's wrong.
    i thing the connection pool can open the connection to the database, but cannot write anythin in the database. maybe the Table cannot be found, but it's only a guess.
    Any other idea or maybe a solution?
    regrads

  • CSD_RULE_MATCH_FAILED-calling service request api from oracle apps adapter

    We are doing integration between Siebel and Oracle Apps. When a service request is created on Siebel we are passing that in Oracle Apps using Oracle Apps adapter which is calling a custom API which is doing all the validations and in turn is calling a public api for service request creation. There are two types of service requests - Field Service and Depot Repair. For Field Service we are able to successfully insert the data on Oracle Apps, but for Depot Repair we are getting an error 'CSD CSD_RULE_MATCH_FAILED' from the standard API.
    We have checked the setup and found it is proper. We invoked the pl/sql API from sql developer and we are able to insert the data. So we are facing this issue only when calling the api from oracle apps adapter.
    In the invoke call we have set these properties -
    jca.apps.RespApplication
    jca.apps.Responsibility
    jca.apps.Username
    Based on our analysis till now it is looking like a security context setup issue, but we are not really sure what properties to set.
    Any help in getting this through will be greatly appreciated.
    Thanks,
    Shantanu

    Hi Vijay,
    We have created the apps adapter with default settings as 'apps' user and set the properties Responsibility, RespApplication, Username of <invoke>. Other than that no other settings has been changed.
    Are we missing anything?
    This adapter is able to hit the database in case of 'Field Service' but it is failing for 'Depot Repair'.
    Edited by: 927382 on Apr 13, 2012 2:19 AM

  • Issue in invoking the BPEL process from Oracle using a SOAP Request

    Hi,
    We are facing an issue while invoking a deployed Bpel Process from Oracle Applications 11.5.10..
    Using a concurrent program( Unix / Host program ) we are passing the input variables required for the Bpel process in the ProcessRequest tags and forming this as a SOAP message payload.
    Then trying to invoke the deployed bpel process using the end point location using HTTP POST..but nothing is happening..
    The bpel process is not getting invoked when i look at the Console and also checked for the Manual Recovery queue..it's not stuck there as well..
    Have set the Transfer Time Out to 25 minutes using UTL_HTTP.SET_TRANSFER_TIMEOUT(1500);
    Could someone please help us as soon as possible with this ..as this is critical and we are stuck at the moment.
    The logic is mentioned below :
    UTL_HTTP.SET_TRANSFER_TIMEOUT(1500);
    UTL_HTTP.SET_DETAILED_EXCP_SUPPORT(ENABLE=>TRUE);     
    soap_request:='<?xml version="1.0" encoding="UTF-8"?>'||
    '<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">'||
    '<soap:Header/>'||
    '<soap:Body xmlns:ns1="http://xmlns.oracle.com/bpelprocessname">'||
    '<ns1:bpelprocessnameProcessRequest>'||
    '<ns1:CSONum>'||order_number||'</ns1:CSONum>'||
    '<ns1:CreationDate>'||c_chr_cso_last_run_dte||'</ns1:CreationDate>'||
    '</ns1:bpelprocessnameProcessRequest>'||
    '</soap:Body>'||
    '</soap:Envelope>';          
    http_req:= utl_http.begin_request
    ('http://bpel_server ip:port/orabpel/domain_name/bpelprocessname/1.0' , 'POST', 'HTTP/1.1'
    utl_http.set_header(http_req, 'Content-Type', 'text/xml') ;
    utl_http.set_header(http_req, 'Content-Length', length(soap_request)) ;
    utl_http.set_header(http_req, 'SOAPAction', 'process');
    utl_http.write_text(http_req, soap_request) ;
    http_resp:= utl_http.get_response(http_req) ;
    utl_http.read_text(http_resp, soap_respond) ;
    utl_http.end_response(http_resp) ;
    dbms_output.put_line(soap_respond);
    Thanks

    check if your soap envelope is correct,check my below procedure which is working fine for me
    procedure xxxxx_BPEL_SCHEDULER
    IS
    soap_request varchar2(30000);
    soap_respond varchar2(30000);
    http_req utl_http.req;
    http_resp utl_http.resp;
    launch_url varchar2(240) ;
    begin
    soap_request:='<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:add="http://schemas.xmlsoap.org/ws/2003/03/addressing" xmlns:star="http://xmlns.oracle.com/xxxxx_BPEL_SCHEDULER">
    <soapenv:Header>
    <add:MessageID>?</add:MessageID>
    <add:ReplyTo>
    <add:Address>?</add:Address>
    <!--Optional:-->
    <add:ReferenceProperties>
    <!--You may enter ANY elements at this point-->
    </add:ReferenceProperties>
    <!--Optional:-->
    <add:PortType>?</add:PortType>
    <!--Optional:-->
    <add:ServiceName PortName="?">?</add:ServiceName>
    <!--You may enter ANY elements at this point-->
    </add:ReplyTo>
    </soapenv:Header>
    <soapenv:Body>
    <star:STARS_BPEL_SCHEDULERProcessRequest>
    <star:SCHEDULER_PARAM1>?</star:SCHEDULER_PARAM1>
    <star:SCHEDULER_PARAM2>?</star:SCHEDULER_PARAM2>
    <star:SCHEDULER_PARAM3>?</star:SCHEDULER_PARAM3>
    <star:SCHEDULER_PARAM4>?</star:SCHEDULER_PARAM4>
    <star:SCHEDULER_PARAM5>?</star:SCHEDULER_PARAM5>
    </star:STARS_BPEL_SCHEDULERProcessRequest>
    </soapenv:Body>
    </soapenv:Envelope>';
    http_req:= utl_http.begin_request('http://xxxxxx.com:16000/orabpel/default/xxxx_BPEL_SCHEDULER/1.0 '
    ,'POST',
    'HTTP/1.1'
    utl_http.set_header(http_req, 'Content-Type', 'text/xml') ;
    utl_http.set_header(http_req, 'Content-Length', length(soap_request)) ;
    utl_http.set_header(http_req, 'SOAPAction', 'initiate');
    utl_http.write_text(http_req, soap_request) ;
    http_resp:= utl_http.get_response(http_req) ;
    utl_http.read_text(http_resp, soap_respond) ;
    utl_http.end_response(http_resp) ;
    dbms_output.put_line(soap_respond);
    END;

  • FTP Adapter fails first time when bpel process is invoked from concurrent

    Hi,
    We noticed that the invoke of the FTP adapter fails the first time when the bpel process is invoked from a concurrent program. The second time the concurrent is ran, it completes fine. However, when invoked from the console, it compeltes fine the first time itlsef.
    Any idea what could be worng. We are on SOA Suite 10.1.3.4
    Thanks
    -Prapoorna

    What you are doing with FTP adapter? Are you writing a file ? Any error details in logs when it is failing on first invocation ?

  • TNS:Operation Timed Out error while trying to invoke BPEL Process from sql

    Hi,
    I am trying to invoke a BPEL Process from PL/sql code. When i try to invoke the process, I am getting the following error message
    ORA-29273 HTTP Request Failed
    ORA:06512: at SYS.UTH_HTTP at line 1029
    ORA:12535: TNS:Operation Timed Out
    ORA:06512: at line 18
    I have the SOA suite installed on my local machine...and the BPEL process that i am trying to invoke is deployed their.
    Any idea what could be wrong..following is the code piece
    soap_request:='<?xml version="1.0" encoding="UTF-8"?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Header/>
    <soap:Body xmlns:ns1="http://xmlns.oracle.com/Test">
    <ns1:TesProcessRequest><ns1:input>is1_1land</ns1:input></ns1:TesProcessRequest>
    </soap:Body>
    </soap:Envelope>';
    dbms_output.put_line('soap_request: '||soap_request);
    utl_http.set_proxy('3.209.30.25:80', '3.209.32.149:8888');
    http_req:= utl_http.begin_request('http://3.209.32.149:8888/orabpel/default/Tes/1.0 '
                   ,'POST'
                                  ,'HTTP/1.1');
    dbms_output.put_line('after Begin Request' );
    utl_http.set_header(http_req, 'Content-Type', 'text/xml') ;
    Please advise

    you are right the file adapter doesnt invoke any bpel
    process, instead it is polling the file from
    directory location?If it is polling for new files, shouldn't it create a new instance of the BPEL process automatically the moment it finds a new file? In other words, should a new file trigger an instance of the BPEL process rather than being started from PL/SQL?
    Can this file adapter not be invoked as bpel process
    in that case?The file adapter is part of a BPEL process. The BPEL process can be invoked from e.g. PL/SQL.
    In this case this file adapeter return to an RECEIVE
    activity...I think this receive cannot be invoked as
    a BPEL process rite?Can you explain what you mean with this?
    Also , will all synchronous request return "TIMEOUT"
    error, if tried to invoke from pl/sql?Only if the synchronous process instance takes more time to complete (and thus to return) than the value specified for a time-out to occur. If the instance completes in for example 10 ms and the time-out time is specified as 30 seconds, no time-out will occur.
    Regards, Ronald

Maybe you are looking for

  • To the person who runs this Discussion

    I have been unable to find a contact to send you a message. On the page of this discussion that lists the headers of all the topics, at the bottom after the last topic on the page, a link is offered named "More". On clicking this, a second page appea

  • How to retrieve Statistics info from Crystal Report file

    In Crystal Reports designer,  if you go to File|Summary Info that dialog has two tabs. The second tab is called "Statistics" which contains the following: Last Saved By Revision number Total Editing Time Last Printed Created Last Saved How can I retr

  • HT4623 I have forgotten my password on my ipad how can I get into it?

    I have forgotten my password on my ipad how can I unlock it

  • IPhone 5 restarts when opening texts

    I bought an iPhone 5 on launch day and that same day, my phone restarted itself when opening a text directly from the lock screen. I didn't think much of it then and just went on with it but then within the next three weeks, it happened to my phone t

  • Build view with data rows from one of two views.

    Hello. I've got problem with PL/SQL. I have built two PL/SQL views. Now I have to write a third view based on the data from "view_1" or "view_2". "view_2" contains all data rows but "view_1" contains special information. If the needed data rows (it's