Issue calling BPEL process in other domains

I just moved my code from the development environment to test and I found an issue where the BPEL processes can't call one another if they reside in a different domain. There's no issue in calling a BPEL process from another BPEL process if they are in the same domain, but it just doesn't work if they are in different domains. The odd thing is that I'm not getting any errors either. I looked at the BPEL admin and everything seems to be consistent with what's in the development environment where everything works, so is there somewhere else I should look? thanks in advance.

Are your domain names in lower case? There are several problems when using domain names which contain uppercase letters.
Andre

Similar Messages

  • Fault policies not getting executed for called BPEL process

    Hi,
    I am facing one issue in execution of fault policy for a called BPEL Process.
    I have two BPEL Processes - BPELProcess1 and BPELProcess2.
    We have fault-policies and fault-bindings file.
    Case1 - BPELProcess2 is synchronous :-
    BPELProcess2 throws a fault of selectionFailure.
    Now this fault is defined in fault-policies and fault policy is bound to BPELProcess2 component in fault-bindings.xml file.
    But this fault policy is NOT getting executed.
    This selectionFailure fault from BPELProcess2 goes unhandled and in BPELProcess1, invoke activity gets this unhandled fault and raises a fault "remoteFault".
    This remotefault is also defined in fault-bindings and bound to BPELProcess1 component. Here fault policy bound to BPELProcess1 is working fine.
    So problem is that for called process, fault policies are not getting executed while for calling process, they are getting executed.
    Case1 - BPELProcess2 is Asynchronous
    BPELProcess2 is asynchronous. So same situation happening here. Fault policy for BPELProcess2 is not getting executed on throwing selectionFailure.
    But now here, since BPELProcess2 is async in nature, BPELProcess1 is not getting response and it is always waiting for response which is wrong.
    So how can we use fault policies in this case?
    Please suggest.
    Thanks & Regards,
    Parshant

    So that means - only fault originating from invoke activity in BPEL can be associated with a fault policy. No other fault can be associated. Even if I throw a selectionFault from throw activity, that will not be captured. Only fault from invoke activity can be associated with a fault policy.
    Please confirm.
    Thanks,
    Edited by: 833944 on Feb 24, 2011 9:36 PM

  • How to call BPEL process in JSP page

    Hi
    I am new to BPEL.please help me how to call BPEL process in JSP page.
    Thank You...

    Check this thread ....
    How can i call asyncronous BPEL process from Java Class????
    Tom..

  • Response not coming back to ESB when calling BPEL process

    Hi,
    I am doing some demo,
    the actual process is, in ESB, I am reading a file and passing thsoe fiel contents to BPEL as SOAP service. In BPEL proecess, I processed the message and sending the response back to the ESB. When I deployed and check the process flow in the BPEL console, everything looks fine, I mena, it sending the response back to the ESB, where as in ESB process, I am not able to see the response.
    Is there any thing that I am missing?
    Thanks.

    Is the BPEL process a synchronous process?
    Also for performance reasons it it best to call BPEL process via the direct jca connector not SOAP.
    You do this by just selecting the BPEL process in the routing service going through the wizard. There is no need to creat a SOAP service. The good this about this is that in the ESB process it provides a link to the BPEL process.
    cheers
    James

  • Problem when calling BPEL process (WS) from APEX

    I am trying to add a web service call to a BPEL process I have created (tried a few others aswell), but every time I try to add the WDSL file I get the following error:
    *1 error has occurred*
    The WSDL document contains multiple SOAP bindings. Application Express only supports WSDL's with one SOAP binding. Click Create Web Service Reference Manually to continue creating a reference for this service.
    It is a simple BPEL process which works fine when called from the BPEL Console, however I have no success when calling it from APEX.
    Am I doing something wrong, or is there a bug in BPEL/APEX?
    Oracle BPEL Console v10.1.3.1.0
    Apex: 3.2
    The WDSL looks like this:
    <definitions name="BPELProcess9" targetNamespace="http://xmlns.oracle.com/BPELProcess9">

    <types>

    <schema>
    <import namespace="http://xmlns.oracle.com/BPELProcess9" schemaLocation="BPELProcess9.xsd"/>
    </schema>

    <schema>
    <import namespace="http://schemas.xmlsoap.org/ws/2003/03/addressing" schemaLocation="http://xxx:8888/orabpel/xmllib/ws-addressing.xsd"/>
    </schema>
    </types>

    <message name="BPELProcess9ResponseMessage">
    <part name="payload" element="tns:BPELProcess9ProcessResponse"/>
    </message>

    <message name="BPELProcess9RequestMessage">
    <part name="payload" element="tns:BPELProcess9ProcessRequest"/>
    </message>

    <message name="WSAReplyToHeader">
    <part name="ReplyTo" element="wsa:ReplyTo"/>
    </message>

    <message name="WSARelatesToHeader">
    <part name="RelatesTo" element="wsa:RelatesTo"/>
    </message>

    <message name="WSAMessageIDHeader">
    <part name="MessageID" element="wsa:MessageID"/>
    </message>

    <portType name="BPELProcess9Callback">

    <operation name="onResult">
    <input message="tns:BPELProcess9ResponseMessage"/>
    </operation>
    </portType>

    <portType name="BPELProcess9">

    <operation name="initiate">
    <input message="tns:BPELProcess9RequestMessage"/>
    </operation>
    </portType>

    <binding name="BPELProcess9Binding" type="tns:BPELProcess9">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>

    <operation name="initiate">
    <soap:operation style="document" soapAction="initiate"/>

    <input>
    <soap:header message="tns:WSAReplyToHeader" part="ReplyTo" use="literal" encodingStyle=""/>
    <soap:header message="tns:WSAMessageIDHeader" part="MessageID" use="literal" encodingStyle=""/>
    <soap:body use="literal"/>
    </input>
    </operation>
    </binding>

    <binding name="BPELProcess9CallbackBinding" type="tns:BPELProcess9Callback">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>

    <operation name="onResult">
    <soap:operation style="document" soapAction="onResult"/>

    <input>
    <soap:header message="tns:WSARelatesToHeader" part="RelatesTo" use="literal" encodingStyle=""/>
    <soap:body use="literal"/>
    </input>
    </operation>
    </binding>

    <service name="BPELProcess9">

    <port name="BPELProcess9Port" binding="tns:BPELProcess9Binding">
    <soap:address location="http://xxxx:8888/orabpel/default/BPELProcess9/1.1"/>
    </port>
    </service>

    <service name="BPELProcess9CallbackService">

    <port name="BPELProcess9CallbackPort" binding="tns:BPELProcess9CallbackBinding">
    <soap:address location="http://set.by.caller"/>
    </port>
    </service>

    <plnk:partnerLinkType name="BPELProcess9">

    <plnk:role name="BPELProcess9Requester">
    <plnk:portType name="tns:BPELProcess9Callback"/>
    </plnk:role>

    <plnk:role name="BPELProcess9Provider">
    <plnk:portType name="tns:BPELProcess9"/>
    </plnk:role>
    </plnk:partnerLinkType>
    </definitions>

    Allow me to reply to my own thread, for the benefit of any others who might want to invoke a BPEL WS from APEX facing the same problem:
    Apex does not seem to like asynchronous BPEL processes so the trick is to make a synchronous BPEL process call the asynchronous BPEL process.

  • Call Bpel process through HTTP get or post method

    I need to call BPEL process from Mobile.
    In mobile we are using HTTP get or post methods. so can anybody tell me how to invoke BPEL(how to pass input to BPEL) by using HTTP get or post method.
    Vivek garg
    Edited by: 809104 on Dec 24, 2010 2:36 AM

    I got the soluntion
    we just need to change the binding in WSDL file from Soap to HTTP.
    First of all add three namespaces in wsdl file
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    Then change the Request msg from element type to string type like below
    <message name="UserLoggOffRequestMessage">
    <part name="UserId" type="xsd:string"/> (add this one))
    <!--<part name="payload" element="client:UserLoggOffProcessRequest"/>-->(remove this one)
    </message>
    Then change the binding
    <binding name="UserLoggOffBinding" type="client:UserLoggOff">
    <http:binding verb="GET"/>
    <operation name="process">
    <http:operation location="/process"/>
    <http:urlEncoded/>
    <output>
    <mime:mimeString part="Body"/>
    </output>
    </operation>
    </binding>
    Then do some changes in service tag . we need to do the changes in location only.
    we need to remove orabpel from location and add httpbinding
    http://infva04718.vshodc.lntinfotech.com:8888/*orabpel*/MobileApplication/UserLoggOff/1.0
    http://infva04718.vshodc.lntinfotech.com:8888/*httpbinding*/MobileApplication/UserLoggOff/1.0
    do like following
    <service name="UserLoggOff">
    <port name="UserLoggOffPort" binding="client:UserLoggOffBinding">
    <http:address location="http://infva04718.vshodc.lntinfotech.com:8888/httpbinding/MobileApplication/UserLoggOff/1.0"/>
    </port>
    </service>
    Then deploy the process then u can invoke this
    http://infva04718.vshodc.lntinfotech.com:8888/httpbinding/MobileApplication/UserLoggOff/process?UserId=a1
    here process is name of process u want to invoke

  • Error during calling BPEL Process Using Oracle BPEL Process Manager Client

    hi,
    I have the following error during Calling BPel process and I can not detect the reason :
    Exception in thread "main" java.lang.NoClassDefFoundError: javax/ejb/EJBException
         at com.oracle.bpel.client.util.ExceptionUtils.handleServerException(ExceptionUtils.java:76)
         at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:254)
         at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:83)
         at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:53)
         at portlet.BPELProcess.startProcess(BPELProcess.java:68)
         at portlet.BPELProcess.main(BPELProcess.java:89)
    My Code :
    locator = new Locator("default", "welcome1");
    deliveryService = (IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME);
    String SchemaInputXML = "<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\n" +
    " <soap:Header/>\n" +
    " <soap:Body xmlns:ns1=\"http://www.globalcompany.com/ns/sales\">\n" +
    " <ns1:User>\n" +
    " <ns1:FirstName>787878</ns1:FirstName>\n" +
    " <ns1:LastName>ujfyytytry</ns1:LastName>\n" +
    " </ns1:User>\n" +
    " </soap:Body>\n" +
    "</soap:Envelope>\n";
    NormalizedMessage nm = new NormalizedMessage();
    nm.addPart("payload", SchemaInputXML);
    deliveryService.request("userBPEL", "initiate", nm); --> here exception appear
    userBPEL is my Process Name
    initiate is BPel method

    Message was edited by:
    Marc Kelderman

  • Call Bpel process from JSP

    hi I am completely new to BPEL and supposed to call BPEL process frm JSP page....i went through a couple of tutorials and learnt about the Technology. But still couldnt find the way. Can any one help or send some link where i can download few sample application or Tell me the way to do this????

    The payload of the XML is described in the WSDL of the webservice. In general this is described in a XML schema (xsd). When you user selects a web service, you could read the WSDL of the webserice an determine the payload of this service, or you program this in you java code for each service.

  • Exception while calling BPEL process from JAVA

    Hi All
    I am getting this error while calling BPEL process from JAVA
    first I've got javabeans exception then I changed the port to default 23791 .. now I am getting the following
    Exception in thread "main" oracle.adf.mds.exception.MDSRuntimeException: Cache not initialized
         at oracle.apps.fnd.framework.mds.cache.ATGCacheMgrDelegateImpl.<init>(ATGCacheMgrDelegateImpl.java:325)
         at oracle.apps.fnd.framework.mds.cache.ATGCacheFactoryImpl.<init>(ATGCacheFactoryImpl.java:44)
         at oracle.apps.fnd.cp.request.CpContext.getMDSContext(CpContext.java:1084)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:130)
    can anyone help

    Sorry guys for disturbing.
    I deleted the file CacheDefaultConfig.properties by mistake from $JAVA_TOP
    I replaced it and it worked fine
    Thanks,
    Baraa

  • Calling a bpel process from other Bpel process

    hi,
    my req is
    i have created BPEL process where getting the list of customers by giving the partial name using DBAdapter...... getting the output from the Invoker and the output is assinged to a assing activity(thru copy operations) from assign to replyoutput.
    for example from partial output (eg: input---name=Wor%)
    output:
    World of Business
    World of Concrete
    Worldwide Communications
    Worldwide Communications-Vision Corporation-2090
    here if i click the 'Worldwide Communications-Vision Corporation-2090' it should show the sub-details of the name sucha as name,address..............
    how to call subdetail process to show the subdetails by cliicking on the name
    the above process done on the front-end

    Hi
    API's are available to call a BPEL process from the front-end.
    you can invoke a BPEL with the required SOAP msg.
    Thanks

  • [Workaround] Calling BPEL process from jspx causes DCA-40012 error on AS

    Hi!
    I've created a DataControl for my BPEL process in my application (ADF BC 10.1.3.3).
    I've created command button on my jspx page that has ActionListener binded to a backing bean method that calls commit and than my BPEL process through the bindings.
    The process consists of reading some DB data, creating XML message and saving it to disk.
    If I run my application from JDeveloper, everything is working fine, the file is written to desired folder. But after I deploy my application to AS 10.1.3.3 and try to call the same process, it doesn't get executed. I see this error in log files:
    Exception:
    oracle.adf.model.adapter.AdapterException: DCA-40012: Failed to create a connection to the Web Service.
         at oracle.adfinternal.model.adapter.webservice.WSDefinition.loadFromMetadata(WSDefinition.java:659)
         at oracle.adf.model.adapter.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:163)
         at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:76)
         at oracle.adf.model.BindingContext.get(BindingContext.java:457)
         at oracle.adf.model.BindingContext.findDataControl(BindingContext.java:308)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.getDataControl(JUCtrlActionBinding.java:489)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:625)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:378)
         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:585)
         at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:146)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:128)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:105)
         at myClass.myMethod(MyClass.java:1220)
         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:585)
         at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:146)
         at oracle.adf.view.faces.component.UIXComponentBase.__broadcast(UIXComponentBase.java:1087)
         at oracle.adf.view.faces.component.UIXCommand.broadcast(UIXCommand.java:204)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:287)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:401)
         at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:95)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    I read about bug 5878326 and tried applying the patch Patch for 6404865(Base bug 5878326) in my JDeveloper (on my local machine, not on AS, since there is no JDev on the server).
    But this patch doesn't solve my problems. Is there another patch for this or this behavior isn't the same as in bug 5878326?
    Thanks, BB.

    Hi BB,
    It's Phil again.
    Thanks for the follow up, especially you aren't working on this subject any more. This is indeed a bug in 10.1.3.3, but not on 10.1.3.1 Application Server. Embedded OC4J server in JDeveloper 10.1.3.3 doesn't produce this error at all. Patch for 5878326 does NOT solve this issue.
    However, I have found a walk-around for this issue. Most if it has already being documented.
    Oracle recommend two options to access a Web Service, by creating a Web Service Data Control or a Web Service Proxy.
    See more info: http://www.oracle.com/technology/products/jdev/howtos/1013/wsadf/adfcomplexwstypes.html?_template=/ocom/print
    Both approaches work on JDeveloper 10.1.3.3, but the prior option will fail on App Server 10.1.3.3 due to the bug being discussed in this thread.
    For the time being, we can opt for the second option. A quick example is provided below.
    - Construct a Web Service Proxy by right-click on chosen project, select New ... | Business Tier -> Web Services | Web Service Proxy, provide WSDL URL and complete the wizard. a Web Service Proxy is generated for you at (your package).proxy under Application Sources folder.
    - Select this proxy, switch to Struture view, you will see a list of classes contained in the proxy. Look for a class with name (Web Service Name)Client.java. In my case, it is called __soap_getCustomerDB_getCustomerDB_pttClient.java. This class is of particular interest to you, as it provides an interface to invoke Web Service calls, in this case, getCustomerDBSelect_id(GetCustomerDBSelect_id id).
    - Now create a new class, which you may extend from the example class below.
    /********************** CODE BEGIN *********************************/
    package oracle.srdemo.datamodel;
    import java.rmi.RemoteException;
    import oracle.srdemo.datamodel.proxy.__soap_getCustomerDB_getCustomerDB_pttClient;
    import oracle.srdemo.datamodel.proxy.types.com.oracle.xmlns.pcbpel.adapter.db.top.getcustomerdb.GetCustomerDBSelect_id;
    import oracle.srdemo.datamodel.proxy.types.com.oracle.xmlns.pcbpel.adapter.db.top.getcustomerdb.CustomerCollection;
    public class WsCustomer {
    __soap_getCustomerDB_getCustomerDB_pttClient myPort = null;
    public WsCustomer() {
    try {
    myPort = new __soap_getCustomerDB_getCustomerDB_pttClient();
    } catch (Exception e) {
    e.printStackTrace();
    * @param customerId
    * @return
    public CustomerCollection getCustomer(int customerId) throws RemoteException {
    GetCustomerDBSelect_id id = new GetCustomerDBSelect_id();
    id.setId(String.valueOf(customerId));
    return myPort.getCustomerDBSelect_id(id);
    /********************** CODE FINISH *********************************/
    - Save the class, rebuild the project.
    - Right-click on this class and select 'Create Data Control'. You should find a new Data Control named (Your Class Name)DataControl is generated on Data Control Palette.
    - You can drag-and-drop available methods from the data control onto you jspx page, rebuild and test it on embedded OC4J Server.
    - Deploy the ear or war file on App Server.
    Hope this helps.
    Regards,
    Phil

  • Calling BPEL Process From ESB

    Hi Gurus,
    I'm experiencing an issue calling a BPEL process using the ESB SOAP Service. Basically, the ESB calls the BPEL process and manages to pass the message to the asychronous BPEL process however the first step in the BPEL process after the Recieve, an Assign, always fails with an Xpath error saying that the attribute being mapped is blank. However, when I look at the Recieve step I can see the value for this attribute. I can Initiate the BPEL process manually and enter the same values and these process successfully.
    Has anyone encountered this issue previously or know what I'm doing wrong?
    Any assistance appreciated.
    Pete

    Hi there,
    I am getting the same issue. I have two bpel processes, the first processplaces data into a common .xsd format and then sends it over to another process with is expeting the same .xsd format.
    I'm pretty sure i know what the issue is, but i'm not sure what the philosophy behind the whole thing is and how it is solved.
    When i transfrom the data over to the common .xsd is allocated a namespace ns0 which is then prepended to each element. When this is sent to the other process this stays prepended. The data is then allocated to the common .xsd in the second process with is allocated another namespace ns3.
    So when you try an assign is searching for ns3:rootElemnt....... which doesn't exist as it as the ns0 carried over from the first process.
    Is this correct? What do we do to get round it?
    Thanks,

  • Invoke BPEL process on same domain - Binding (SOAP or java)

    When BPEL processes are deployed on the same oc4j instances, do we need to do anything special to ensure that they invoke each other using java binding instead of SOAP?
    For e.g. consider BPEL process p1 and p2 where p1 invokes p2 deployed on the same oc4j instance.
    <partnerLinkBinding name="p2">
    <property name="wsdlLocation">http://bpel.mydomain.com:7777/orabpel/default/p2/p2?wsdl</property>
    </partnerLinkBinding>
    With the bpel.xml looking as above will BPEL p1 automatically invoke p2 using java/EJB binding? If this is the case then what needs to be done if you want SOAP bindings to be used instead?
    How does p1 know that p2 is also deployed on the same domain?
    Thanks

    Assuming that everything on the same oc4j is a java call, would it be any different in the below 3 scenario;
    The WSDL url for the partnerlink (bpel.xml) for p2 looks like
    Scenario 1:Localhost
    http://localhost:7778/orabpel/default/p2/p2?wsdl
    Scenario 2: Machine Name (bpel)
    http://bpel:7777/orabpel/default/p2/p2?wsdl
    Scenario 3: load balancer URL
    https://lbr.mydomain.com:4443/orabpel/default/p2/p2?wsdl
    Does the wsdl url have any role to play in determining that a particular bpel process is local or not? (I would think not)

  • Call bpel process as Web service from database

    Hi!
    i'm trying tocall bpel process as web service from Oracle database. When i try the same pl sql function, i can successfully call regular j2ee web service without any problem. When i instantiate process from bpel console - everything is ok .. but when i call process from plsql function, i get this error:
    ORA-20000: soapenv:Server.generalException - Missing BPEL archive file.
    The process domain cannot locate the BPEL archive for process
    &quot;AuthorizeKeyCode&quot;, revision &quot;AuthorizeKeyCode&quot;.
    If you have deployed the process please check that it is located in the
    directory &quot;/ora/bpelpm/integration/orabpel/domains/vinves/deploy&quot;.
    ; nested exception is:
    ORABPEL-05205
    Missing BPEL archive file.
    The process domain cannot locate the BPEL archive for process
    &quot;AuthorizeKeyCode&quot;, revision &quot;AuthorizeKeyCode&quot;.
    If you have deployed the process please check that it is located in the
    directory &quot;/ora/bpelpm/integration/orabpel/domains/vinves/deploy&quot;.
    i tried undeploy and deploy the process again, i tried to restart the server - still the same problem...
    anyone can help, please?
    thanks ...
    Tomas

    Hi,
    I am trying to invoke the HelloWorld BPEL process from Oracle DB using the demo_soap package downloaded from oracle.com.
    Find the PL/SQL block below:
    DECLARE
    req Demo_Soap.request;
    resp Demo_Soap.response;
         zipcode VARCHAR2(100) := 'Suresh';
    BEGIN
    req := Demo_Soap.new_request('initiate',
    'xmlns="http://xmlns.oracle.com/HelloWorld"');
    Demo_Soap.add_parameter(req, 'HelloWorldProcessRequest', 'xsd:string', zipcode);
    resp := Demo_Soap.invoke(req,
    'http://nooslux037t.gl.2wglobal.com:7777/BPELConsole/Dev/displayProcess.jsp?processId=HelloWorld',
    'http://xmlns.oracle.com/HelloWorld');
    END;
    Please help me in knowing what value i should pass for the
    1. New_request procedure
    2. Add_parameter procedure
    3. Invoke procedure.
    The HelloWorld is same as the example in the BPEL Tutorial Session 1.
    Thanks for your time.

  • Problem calling BPEL process using apache axis client

    We have a BPEL process which we are trying to call from apache axis client. The problem is when we execute "call.invoke(new Object[] { xmlStr }) ", it adds an "argo" element to the message, and the xpath is unable to evaluate the message.
    We are able to call the process fron .Net and VB 6 using soap toolkit without any problem, so it seems odd we are not able to do so from apache axis.
    Here is how it should be received by the BPEL process:
    <inputVariable>
         <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload">
              <Request xmlns="http://e1.oracle.com/IAM">
                   <MessageHeader>
                        <Operation>update</Operation>
                   </MessageHeader>
                   <MessageDetail xmlns="">
                        <szSecondaryUoM_UOM2/>
                   </MessageDetail>
              </Request>
         </part>
    </inputVariable>
    But this is the way it is received having been sent from apache axis (notice the arg0 element) :
    <inputVariable>
         <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload">
              <arg0 xsi:type="xsd:string" xmlns="http://xmlns.oracle.com/InventoryAdjustment" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                   <Request xmlns="http://e1.oracle.com/IAM">
                        <MessageHeader>
                             <Operation>update</Operation>
                        </MessageHeader>
                        <MessageDetail xmlns="">
                             <szSecondaryUoM_UOM2/>
                        </MessageDetail>
                   </Request>
              </arg0>
         </part>
    </inputVariable>
    Any insight as to how to approach this would be appreciated. The WSDL and java code follow.
    WSDL:
    <?xml version="1.0" encoding="UTF8" ?>
    <definitions name="InventoryAdjustment" targetNamespace="http://xmlns.oracle.com/InventoryAdjustment" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://xmlns.oracle.com/InventoryAdjustment" xmlns:ns1="http://e1.oracle.com/IAM" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partnerlink/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://schemas.oracle.com/bpel/extension" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:client="http://xmlns.oracle.com/InventoryAdjustment">
    <types>
    <schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://xmlns.oracle.com/InventoryAdjustment" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://e1.oracle.com/IAM" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partnerlink/" xmlns:client="http://xmlns.oracle.com/InventoryAdjustment" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://schemas.oracle.com/bpel/extension">
    <element name="InventoryAdjustmentProcessRequest">
    <complexType>
    <sequence>
    <element name="input" type="string" />
    </sequence>
    </complexType>
    </element>
    <element name="InventoryAdjustmentProcessResponse">
    <complexType>
    <sequence>
    <element name="result" type="string" />
    </sequence>
    </complexType>
    </element>
    </schema>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://e1.oracle.com/IAM" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partnerlink/" xmlns:client="http://xmlns.oracle.com/InventoryAdjustment" xmlns:ns2="http://schemas.oracle.com/bpel/extension">
    <xsd:import namespace="http://e1.oracle.com/IAM" schemaLocation="http://tigger:7777/orabpel/xmllib/InventoryAdjustmentRequest.xsd" />
    </xsd:schema>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://e1.oracle.com/IAM" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partnerlink/" xmlns:client="http://xmlns.oracle.com/InventoryAdjustment" xmlns:ns2="http://schemas.oracle.com/bpel/extension">
    <xsd:import namespace="http://e1.oracle.com/IAM" schemaLocation="http://tigger:7777/orabpel/xmllib/InventoryAdjustmentResponse.xsd" />
    </xsd:schema>
    </types>
    <message name="InventoryAdjustmentRequestMessage">
    <part name="payload" element="ns1:Request" />
    </message>
    <message name="InventoryAdjustmentResponseMessage">
    <part name="payload" element="ns1:Response" />
    </message>
    <portType name="InventoryAdjustment">
    <operation name="process">
    <input message="tns:InventoryAdjustmentRequestMessage" />
    <output message="tns:InventoryAdjustmentResponseMessage" />
    </operation>
    </portType>
    <binding name="InventoryAdjustmentBinding" type="tns:InventoryAdjustment">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    <operation name="process">
    <soap:operation style="document" soapAction="process" />
    <input>
    <soap:body use="literal" />
    </input>
    <output>
    <soap:body use="literal" />
    </output>
    </operation>
    </binding>
    <service name="InventoryAdjustment">
    <port name="InventoryAdjustmentPort" binding="tns:InventoryAdjustmentBinding">
    <soap:address location="http://tigger:7777/orabpel/default/InventoryAdjustment/1.0" />
    </port>
    </service>
    <plnk:partnerLinkType name="InventoryAdjustment">
    <plnk:role name="InventoryAdjustmentProvider">
    <plnk:portType name="tns:InventoryAdjustment" />
    </plnk:role>
    </plnk:partnerLinkType>
    </definitions>
    java code:
    import javax.xml.namespace.QName;
    import javax.xml.rpc.JAXRPCException;
    import javax.xml.rpc.ParameterMode;
    import javax.xml.rpc.Service;
    import javax.xml.rpc.ServiceException;
    import javax.xml.rpc.ServiceFactory;
    import javax.xml.rpc.encoding.XMLType;
    import javax.xml.rpc.soap.SOAPFaultException;
    import org.apache.axis.client.Call;
    public class PostMessageClient {
         private static QName SERVICE_NAME;
         private static QName PORT_TYPE;
         private static QName OPERATION_NAME;
         private static String SOAP_ACTION;
         private static String STYLE;
         private static String THIS_NAMESPACE = "http://xmlns.oracle.com/InventoryAdjustment";
         static {
              SERVICE_NAME = new QName(THIS_NAMESPACE, "InventoryAdjustment");
              PORT_TYPE = new QName(THIS_NAMESPACE, "InventoryAdjustmentPort");
              OPERATION_NAME = new QName(THIS_NAMESPACE, "process");
              SOAP_ACTION = "process";
              STYLE = "message";
         public static void main(String[] args) {
                   try {
                        ServiceFactory serviceFactory = ServiceFactory.newInstance();
                        Service service = serviceFactory.createService(SERVICE_NAME);
                        Call call = (Call) service.createCall(PORT_TYPE);
                        call
                                  .setTargetEndpointAddress("http://tigger:7777/orabpel/default/InventoryAdjustment/1.0");
                        call.setProperty(Call.SOAPACTION_USE_PROPERTY, Boolean.TRUE);
                        call.setProperty(Call.SOAPACTION_URI_PROPERTY, SOAP_ACTION);
                        call.setProperty(Call.OPERATION_STYLE_PROPERTY, STYLE);
                        call.setOperationName(OPERATION_NAME);
                        String xmlStr = "<Request xmlns=\"http://e1.oracle.com/IAM\"><MessageHeader><Operation>update</Operation></MessageHeader><MessageDetail xmlns=\"\"><szSecondaryUoM_UOM2/></MessageDetail></Request>";
                        System.out.println("PostMessageClient - calling");
                        String ret = (String) call.invoke(new Object[] { xmlStr });
                        System.out.println("ret = " + ret);
                   } catch (SOAPFaultException e) {
                        System.err.println("Generated fault: ");
                        System.out.println(" Fault Code = " + e.getFaultCode());
                        System.out.println(" Fault String = " + e.getFaultString());
                   } catch (JAXRPCException e) {
                        System.err.println("JAXRPC Exception: " + e.getMessage());
                   } catch (ServiceException e) {
                        System.err.println("Service Exception: " + e.getMessage());
                   } catch (Exception e) {
                        System.err.println("Service Exception: " + e.getMessage());
    }

    Just a tip: Use a tool as SoapUI to findout the correct SOAP request and related attributes for the SOAP request.
    Marc
    http://orasoa.blogspot.com

Maybe you are looking for

  • Memory Leak issue 1.5.4.59.40-no-jre  jdk1.6.0_12  jre6

    Me and 2 other develops have been using SQL developer since it was created but we are getting really frustrated with the memory leaks we are experencing. We will start up sql developer and if we just leave it alone within a couple hours it will have

  • Terrible download speed with Infinity 2 (less than...

    I was a relatively early adopter of BT infinity.  When I first signup I recieved a consistent 70mbps+ down 80mbps up. Over the last few months this has dropped to around 40mbps down and 12mbps up. I posted here regarding the issue, contacted BT, and

  • Seeburger BIC Mapping Designer Material & Further Validations

    Hi Guys, I was hoping if someone can point me to more material on BIC Mapping designer as only thing i have the standard PDF which came with it. However I need to do more stuff e.g. enhance validations and put a few more checks in. Was wondering If o

  • H323 and NAT issue

    Hello all, I have a router 1812 Version 12.4(15)T16, RELEASE SOFTWARE (fc2). Router is doing NAT. I have a lifesize videoconference system. Calls with h323 are dropped after 30 seconds. I have ip inspect rule : - ip inspect name SDM_LOW h323 - ip ins

  • Want to do changes in lower tolerance check in MIRO

    Currently miro doesn't work for lower tolerance limit properly.In case of high tolerance limit whenever limit is exceed traffic light becomes yellow and the message is displayed and posting is not allowed.This functionality doesn't take place in case