Querying BPEL process and sub-processes

Hi there,
I am new to BPEL and in our BPEL process we are calling like 5 other BPEL sub-processes. So assume our BPEL process A calls processes B, C, D, E, and F. Now for our fault handing if for example processes D fails I would like to retire sub-processes A but also sub-process B, C and D.
Can anyone tell me which API would give me this information? Kind of like the tree in the BPEL console where we can see all the child processes.
Thanks.

Eric,
No for us we have a generic BPEL error handling process where we are dynamically retiring the calling process. I got the Java API to dynamically retire the main calling process. But my main goal is to retire all the sub process that the main calling process calls as well.
I looked at Matt Wright's Blog : tracing sub process calls within BPEL. He says you can use programatically for each instance one could query using the track of a parent id and root id but I need to get the details on how would I use the API. If you or anyone has that information can you please share that with me. Would really appreciate it.
Thanks

Similar Messages

  • How to bind/pass multiple input parameters to sql query in BPEL Process

    Hi,
    I have a requirement to invoke a query on a database table to fetch the records based on the few input values or bind variables?
    I have created a Partner link using the DBAdapter service and have used custom SQL, how can i bind and pass multiple bind/input parameters for these queries.
    foreg: if i have to query employee records based on name , desgination and age, these three params would be my input parameter that i will pass when i invoke the BPEL process, bow how can i pass these parameters to the partner link using DBADAPTER service.
    Please help
    Regards

    If the parameter-value is not known beforehand and cannot be determined based on the process instance data at that time, there are 2 options. Either invoke the PL/SQL procedure you named using a DB adapter service to get the value and pass it to the other DB adapter service. Or create a single service (e.g. PL/SQL procedure) that determines the parameter value, executes the query and returns the result. However, this is more a design issue. Does it makes sense to combine these actions in a separate service and use it or are these actions not related? You furthermore state that additional (DB adapter) services make the process heavier. Do you have strict requirements on the time process-instances may run or other such requirements? If not, I think the design-choice on whether combining these actions in a single service should have more priority.

  • How to create and deploy a JSP which calls a BPEL process in JDEVELOPER

    Hi Gurus,
    I don't know how to create a JSP in JDEVELOPER which call a BPEL process. I have gone through the tutorials. Since, I am new to JDEVELOPER I need some help.
    1. How to create a JSP (I know creating application and project, also I know JSP coding)
    2. How to deploy this JSP?
    3. For the Synchronos BPEL project, the build.xml is created automatically, in this forum, I see people talking about ear war .deploy etc. How do we get them automatically created. Or do we need to create them manually. If it has to be manual some sample scripts would be of great help.
    Any help in this regard would be really great.
    Thanks in advance,
    Sankar.

    I found the following tutorial which clearly explains how to deploy J2EE apps.
    http://www.oracle.com/technology/obe/obe1013jdev/deployment/deployment.htm
    I created a simple jsp file in a project, followed the steps in the tutorial and it got deployed onto: http://localhost:9700
    For invoking BPEL process through JSP, I have reused the jsp files available in : 102.InvokingProcesses\jsp and changed the processes and input accordingly.
    Please post me a query in this thread, if any of you want any specific details.

  • Reg: SQL select Query in BPEL process flow

    <p>
    Hi,
    I am suppose to execute a SQL select query (in BPEL Process flow) as mention below in JDeveloper using Database adapter.
    </p>
    <p>
    SELECT LENGTH, WIDTH, HEIGHT, WEIGHT,
    </p>
    <p>
    LENGTH*WIDTH* HEIGHT AS ITEM_CUBE
    </p>
    <p>
    FROM CUBE
    </p>
    <p>
    WHERE ITEM= &lt;xyz&gt;
    </p>
    <p>
    AND OBJECT= (SELECT CASE_NAME FROM CUBE_SUPPLIER WHERE ITEM=&lt;xyz&gt; AND SUPP_IND = &lsquo;Y')
    <strong>Now my question is:
    1.</strong> What does this "*" refer to in the query and how can I retrieve the value of LENGTH*WIDTH* HEIGHT from the query where LENGTH,WIDTH and HEIGHT are the individual field in the table.
    2.What does this " AS" refer to? If " ITEM_CUBE " is the alies for the table name "ITEM" to retrieve the value, then query shoud be evaluated as
    </p>
    <p>
    SELECT LENGTH, WIDTH, HEIGHT, WEIGHT,
    </p>
    <p>
    LENGTH*WIDTH* HEIGHT AS ITEM_CUBE
    </p>
    <p>
    FROM CUBE
    </p>
    <p>
    WHERE <strong>ITEM_CUBE.ITEM</strong>= &lt;xyz&gt;
    </p>
    <p>
    AND <strong>ITEM_CUBE.OBJECT</strong>= (SELECT CASE_NAME FROM CUBE_SUPPLIER WHERE ITEM=&lt;xyz&gt; AND SUPP_IND = &lsquo;Y')
    Is my assumption correct?
    Please suggest asap.
    Thanks...
    </p>
    <p>
    </p>

    Hi
    Thank for your reply!
    I have a nested select query which performs on two different table as shown below:
    <p>
    SELECT LENGTH, WIDTH, HEIGHT, WEIGHT,
    </p>
    <p>
    LENGTH*WIDTH* HEIGHT AS ITEM_CUBE
    </p>
    <p>
    FROM CUBE
    </p>
    <p>
    WHERE ITEM= &lt;abc&gt;
    </p>
    <p>
    AND OBJECT= (SELECT NAME FROM SUPPLIER WHERE ITEM=&lt;Item&gt; AND SUPP_IND = &lsquo;Y')
    I am using DB adapter of Oracle JDeveloper in BPEL process flow, where I can able to select only one master table in DB adapter say SUPPLIER and its attributes at a time.But as per my requirment I need to select both the table (CUBE and SUPPLIER) in a single adapter to execute my query.
    It can be achievable by using two DB adapter , One to execute the nested query and another to execute the main qyery considering value of nested query as a parameter.But I want to achieve it by using a single one.
    Am I correct with my concept?
    Please suggest how to get it ?
    </p>
    Edited by: user10259700 on Oct 23, 2008 12:17 AM

  • How to create an excel report and send it via email using a BPEL process ?

    Hi Experts,
    I have a requirement to develop a xl report based the data in the DB table. I will have to query the list of records entered / processed during previous day, generated the xl based report and send to users via email.
    I talked to one the experts, he asked me to use the following Adapter and BPEL activities to accomplish it.
                   DBAdapter --> {BPEL  process} --> Java Embedding --> Email Activity.
    Can someone please help me to pass the information retrieved by DBAdapter to Java Embedding and then to email import? I have created DBAdapter and Java Embedding. I don't know, how to retrieve the data read / sent by DBAdapter using Java Embedding. Also please help me to pass the xl attachment to Email Activity.
    Thanks for your help in advance!
    Thanks,
    Harisudhan Selvaraj

    I would suggest something like:
    DBAdapter --> Bpel Process --> File Adapter --> write file to location (you can write in csv which can be imported into xls)
    Read Location --> FileAdapter --> Bpel Process --> Email Activity
    Regards,
    Anshul

  • Please advise regarding implementing pub/sub in a BPEL process.

    Hi guys,
    Requirement
    The customer information comes as HTTP/SOAP message and is sent to the BPEL process as input. BPEL uses ESB and database adapters to create the customer in Oracle apps. Now, we need to send the same customer information with the Oracle apps customer number to some other systems. The number of systems is not know at this time, so we need a pub/sub mechanism where we can publish the customer creation event with the required parameters (customer name, number, etc.). Then we just create subscriptions to that event as an when required. This gives us the flexibility to add subscriptions withougt changing the initial BPEL process.
    My questions
    I can think of three ways to do this, please advise.
    1. Use Oracle workflow business events and subscriptions. At the end of the BPEL process, raise the wf event and the subscriptions to that will be processed by workflow engine. My doubt here is that most of the times the subscriptions is another BPEL process, so does it make sense to go from BPEL to WF and then WF to PL/SQL to invoke a new BPEL?
    2. Use Advanced Queues (Oracle AQ). This is similar to using Oracle WF and to me the issues are also the same.
    3. Use routing rules in ESB -- I am not really sure if this can be done to replicate a pub/sub scenario, please advise and elaborate.
    As a summary, we want the ability to have pub/sub within BPEL and/or ESB. Any other suggestions are also welcome.
    Thanks!

    I have the same question , but could not find the releveant post in ESB forum.. is the response posted ? pls post the link to that thread...

  • Oracle BPEL processes per day  -DB query

    Hi all,
    I am trying to produce some statistics for our daily created BPEL processes in the Oracle dehydration store.
    In particular I am running the following query towards the cube_instance table:
    select to_char(creation_date, 'dd-mon-yyyy hh24:mi:ss') as date, count(*) as total
    from cube_instance
    where creation_date >'01-MAR-10'
    group by to_char(creation_date, 'dd-mon-yyyy hh24:mi:ss')
    I know I am not an oracle programmer and I am sure something is wrong with the converion.
    Any help would be appreciated.
    Brgds,
    Loukas

    Thanks James.
    Yoru comments were correct , the query has run but the output is rather not what I wanted to see.
    It gives me as output every single process and of course next to it the total which is obviously 1:
    CREATION_DATE TOTAL
    01-MAR-10 12.55.03.936000000 PM 1
    01-MAR-10 12.55.04.528000000 PM 1
    01-MAR-10 12.55.06.276000000 PM 1
    01-MAR-10 01.16.50.560000000 PM 1
    01-MAR-10 01.16.50.581000000 PM 1
    01-MAR-10 01.16.51.235000000 PM 1
    01-MAR-10 01.18.27.893000000 PM 1
    01-MAR-10 01.18.27.914000000 PM 1
    01-MAR-10 01.18.28.477000000 PM 1
    01-MAR-10 01.26.07.038000000 PM 1
    01-MAR-10 01.26.07.610000000 PM 1
    01-MAR-10 01.26.08.788000000 PM 1
    01-MAR-10 01.32.54.038000000 PM 1
    01-MAR-10 01.32.54.389000000 PM 1
    01-MAR-10 01.32.55.397000000 PM 1
    01-MAR-10 02.10.43.199000000 PM 1
    01-MAR-10 03.14.57.502000000 PM 1
    01-MAR-10 03.15.00.578000000 PM 1
    01-MAR-10 03.15.00.608000000 PM 1
    01-MAR-10 03.15.01.331000000 PM 1
    01-MAR-10 03.18.05.760000000 PM 1
    01-MAR-10 03.18.06.092000000 PM 1
    I would like the sum of the days and the sum of the processes that day. I have searched a lot in other BPEL blogs/sites wbut nothing similar found.
    Thanks,
    Loukas

  • Invoke BPEL process and display result in BAM chart?

    Hi,
    I was wondering if there is any way to invoke a BPEL process and display the result back in BAM chart (Active Studio).
    I have in mind the Actionable Reports and getting the BPEl process populate the BAM Data Object to show the result back. Let me know if there's anything to connect these ideas to do the whole thing.
    The reason for this requirement is to have a single User Interface for having BAM charts and a query operation (synchronous BPEL process).
    Any inputs are welcome.
    Thanks in advance.
    Vikas

    Yes, this can be done with the help of Alert and setting up a external Action.
    Please refer the following document for more details.
    http://www.oracle.com/technology/products/integration/bam/10.1.3/TechNotes/TechNote_BAM_CallingExternal_WebServices.pdf
    regards
    Laj

  • Development and Deployment of BPEL processes in ALBPM 6.0

    All,
    I tried to develop a simple BPEL 2.0 process in ALBPM 6.0 and noticed that the tool does not generate an endpoint automatically to expose the BPEL as a web service. I had to create my own bidning and the service interface to get rid of a bunch of compile errors. I typed my address for the BPEL manually as 'http://localhost:9000/bpel'. I reloaded the server, but could not find a service at this address.
    What are the correct steps of creating a BPEL process so that it deploys correctly and can be called externally as a web service?
    Any help is very much appreciated. Thanks in advance!

    Ok. The WSDL actually published, but when I tried to invoke it from ALBPM process on another engine I got this error:
    Caused by: java.lang.AssertionError: Could not retrieve name
    at fuego.soaptype.SoapCall.initCallArguments(SoapCall.java:172)
    at fuego.soaptype.SoapCall.<init>(SoapCall.java:94)
    etc...
    What is the correct process for generating WSDLs for BPEL processes with ALBPM 6.0? Can WSDL location address be generated automatically? What does "Could not retrieve name" error relate to?

  • Using Java Embedding Unzip Code and a Trigger File in a BPEL Process

    Hello,
    Thanks in advance to anyone that contributes with any insight.  It is much appreciated.  Having said that I will get to the crux of my problem.
    I am currently using Oracle 11g.  I have created a SOA composite application that incorporates BPEL and Java.  I have the code needed to unzip and extract compressed folders.  However, when this was first built out using BPEL it automatically created a web service in the "exposed service" lane and not a file adapter which I believe is needed in order to trigger the process via a start.txt file for example.  Based on what I know ... this web service automatically connecting to the BPEL process was simply due to the order of operations, etc.  So by creating a 'read' file adapter first and then creating the BPEL process and selecting the template "Define Service Later", it does not automatcially connect the web service to the BPEL process and it will allow me to connect a file adapter to this BPEL process instead ... great.  When opening up the BPEL file I then connect a recieve component to this file adapter and configure appropriately.
    Essentially, my objective in setting up a trigger to start this unzip process is due to the BPEL process before that outputs or writes the .zip folder to the same directory that I want to poll and/or trigger via a start.txt file.  I can get this process to work with a webservice connecting to the BPEL process and by using a Java Embedded in BPEL file, which in turns calls the package/ class that has the java code needed to unzip.
    For some reason whenever I try to use a file adapter instead of the native web service that gets created (as mentioned above) it doesn't work.  It seems to build or compile just fine however, I am getting errors when I try to deploy.
    Note:  The Java code contains all the paths where the zip file is to be taken from and extracted to.  So because this is in the code I don't need the file adapter to handle this.  I just want to use the file adapter so that I can trigger the process via start.txt or something of that nature.
    Thanks to anyone that has any suggestions.
    Kind Regards,
    Kevin
    Errors when attempting to deploy are as follows:
    [04:12:54 PM] Error deploying archive sca_Job2_UnZip_rev1.0.jar to partition "default" on server soa_server1 [http://WN017A.homedepot.com:8001]
    [04:12:54 PM] HTTP error code returned [500]
    [04:12:54 PM] Error message from server:
    There was an error deploying the composite on soa_server1: Deployment Failed: Error occurred during deployment of component: BPELProcess1 to service engine: implementation.bpel, for composite: Job2_UnZip: ORABPEL-05250
    Error deploying BPEL suitcase.
    error while attempting to deploy the BPEL component file "H:\Oracle\Middleware\user_projects\domains\Dev_Acorde\servers\soa_server1\dc\soa_d78eb301-314c-422a-a748-bcfe7d0906e8"; the exception reported is: java.lang.RuntimeException: failed to compile execlets of BPELProcess1
    This error contained an exception thrown by the underlying deployment module.
    Verify the exception trace in the log (with logging level set to debug mode).
    [04:12:54 PM] Check server log for more details.
    [04:12:54 PM] Error deploying archive sca_Job2_UnZip_rev1.0.jar to partition "default" on server soa_server1 [http://WN017A.homedepot.com:8001]
    [04:12:54 PM] ####  Deployment incomplete.  ####
    [04:12:54 PM] Error deploying archive file:/C:/JDeveloper/mywork/Job2_UnZip/Job2_UnZip/deploy/sca_Job2_UnZip_rev1.0.jar
    (oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)

    Just wanted to provide a screenshot of the BPEL file as supporting documentation to better illustrate my issue.
    Thanks so much,
    Kevin

  • Invoking a BPEL process when file comes to a dir and write to DB - BPEL10g

    Hi,
    I am trying to create a BPEL process where it reads a file from a directory (this directory will receive a file with any name by a different process every 30 mnts or so). and this file may have multiple records, and I need to add these records to the Database.
    I really appreciate your help on this.
    Thank you

    Have a file adapter on the inbound to poll the files from inbound directory and DB Adapter to put this data into the DB Tables. Refer OTN for lots of samples and documentation available.

  • Executed and failed alternatively while testing a bpel process

    I have created a bpel process such that the response from the bpel is posted to a Queue.
    I have deployed the bpel and esb process successfully.
    While testing the bpel process,it is completely executed for the first time.(no error in esb and bpel console)
    While testing for the second time,it is failed(bpel is completely executed but in esb console i am getting error)
    I dont know what is the problem.
    The error message in esb console is:
    An unhandled exception has been thrown in the ESB system. The exception reported is: "org.collaxa.thirdparty.apache.wsif.WSIFException: esb:///ESB_Projects/Onsite_ESB_Topic/RMS_Topic.wsdl [ Produce_Message_ptt::Produce_Message(SynBPELProjectProcessResponse) ] - WSIF JCA Execute of operation 'Produce_Message' failed due to: Adapter Framework unable to create outbound JCA connection. esb:///ESB_Projects/Onsite_ESB_Topic/RMS_Topic.wsdl [ Produce_Message_ptt::Produce_Message(SynBPELProjectProcessResponse) ] - : The Adapter Framework was unable to establish an outbound JCA connection due to the following issue: ORABPEL-12133 ERRJMS_JMS_EXCEP. Unable to create JMS connection due to JMS exception. Please examine the log file to determine the problem. [Caused by: JMSServer[dgda21b:12652]: failed to authenticate "oc4jadmin/welcome1" via "[JAZNUserAdaptor: user=oc4jadmin]".] ; nested exception is: ORABPEL-12511 Adapter Framework unable to create outbound JCA connection. esb:///ESB_Projects/Onsite_ESB_Topic/RMS_Topic.wsdl [ Produce_Message_ptt::Produce_Message(SynBPELProjectProcessResponse) ] - : The Adapter Framework was unable to establish an outbound JCA connection due to the following issue: ORABPEL-12133 ERRJMS_JMS_EXCEP. Unable to create JMS connection due to JMS exception. Please examine the log file to determine the problem. [Caused by: JMSServer[dgda21b:12652]: failed to authenticate "oc4jadmin/welcome1" via "[JAZNUserAdaptor: user=oc4jadmin]".] Please examine the log file for any reasons. Enable DEBUG logging in the BPEL Console. at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:633) at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeInputOnlyOperation(WSIFOperation_JCA.java:736) at oracle.tip.esb.server.common.wsif.WSIFInvoker.executeOperation(WSIFInvoker.java:497) at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:430) at oracle.tip.esb.server.common.wsif.WSIFInvo
    Can anyone help me in solving this issue?
    Thanks in Advance.

    Hi,
    I could see the userID/password is wrong in the adapter,
    you can chnage that one by following:
    em/-->
    Cluster topology-->home 0c4j - >Applications ->stand alone Resource adapter (in View of the Drop down combo)
    choose the adapter ->JMS Adapter ->connection factories -->eis/Jms/QueueConnectionFactory-change the password to your password(SOA)
    and try the same....

  • Issue with Deploying and calling a BPEL process on ALBPM enterprise server

    Hi,
    I am trying to put in place a POC using Aqualogic BEA products (using ALBPM 5.7, Enterprise Server 5.7, ALSB 2.6, Weblogic App server 9.2). My goal is to put in place a simple BPEL process (using ALBPM) which would call a webservice exposed through ALSB. This BPEL process is initiated by a wrapper BPMN process calling the BPEL process through fuego code.
    Though we are able to do the above on a standalone ALBPM studio, When we try to deploy the exported BPM project on the enterprise server and access it through the hiper workspace portal we are getting the following error in the BPM Process Administrator Log of the Engine.
    A component failed while executing activity '/Process#Default-1.0/Global' (BP-method Global). Details: The task could not be successfully executed. Reason: 'fuego.connector.ConnectorException: The configuration name [ProcessService] and type [Web Service] is not defined. Detail:The connector must be configured in the appropiate context. '. Caused by: The configuration name [ProcessService] and type [Web Service] is not defined. Detail:The connector must be configured in the appropiate context. fuego.lang.ComponentExecutionException: The task could not be successfully executed. Reason: 'fuego.connector.ConnectorException: The configuration name [ProcessService] and type [Web Service] is not defined. Detail:The connector must be configured in the appropiate context. '. at fuego.server.execution.EngineExecutionContext.invokeMethodAsCil(EngineExecutionContext.java:916) at fuego.server.execution.EngineExecutionContext.runCil(EngineExecutionContext.java:1068) at fuego.server.execution.TaskExecution.invoke(TaskExecution.java:389) at fuego.server.execution.GlobalTaskExecution.invoke(GlobalTaskExecution.java:106) at fuego.server.execution.TaskExecution.executeCIL(TaskExecution.java:481) at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:655) at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:616) at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:442) at fuego.server.execution.GlobalTaskExecution.executeGlobalCIL(GlobalTaskExecution.java:164) at fuego.server.execution.GlobalTaskExecution.executeGlobalCIL(GlobalTaskExecution.java:142) at fuego.server.execution.Global.execute(Global.java:81) at fuego.server.AbstractProcessBean$38.execute(AbstractProcessBean.java:2496) at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:290) at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:462) at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:540) at fuego.transaction.TransactionAction.start(TransactionAction.java:213) at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:117) at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66) at fuego.server.AbstractProcessBean.runGlobalActivity(AbstractProcessBean.java:2491) at fuego.ejbengine.EJBProcessControlAdapter.runGlobalActivity(EJBProcessControlAdapter.java:386) at fuego.ejbengine.EJBProcessControlAdapter_hu750h_EOImpl.runGlobalActivity(EJBProcessControlAdapter_hu750h_EOImpl.java:2877) at fuego.ejbengine.EJBProcessControlAdapter_hu750h_EOImpl_WLSkel.invoke(Unknown Source) at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174) at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:335) at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:252) at fuego.ejbengine.EJBProcessControlAdapter_hu750h_EOImpl_921_WLStub.runGlobalActivity(Unknown Source) 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 fuego.papi.impl.AbstractProcessControlHandler.invokeInternal(AbstractProcessControlHandler.java:48) at fuego.papi.impl.j2ee.EJBProcessControlHandler.doInvoke(EJBProcessControlHandler.java:111) at fuego.papi.impl.j2ee.EJBProcessControlHandler.invoke(EJBProcessControlHandler.java:66) at $Proxy77.runGlobalActivity(Unknown Source) 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 fuego.lang.JavaClass.invokeMethod(JavaClass.java:1478) at fuego.lang.JavaObject.invoke(JavaObject.java:185) at fuego.papi.impl.j2ee.EJBExecution.next(EJBExecution.java:200) at fuego.portal.wapi.InteractiveExecution.process(InteractiveExecution.java:157) at fuego.portal.wapi.WebInteractiveExecution.process(WebInteractiveExecution.java:54) at fuego.portal.wapi.InteractiveExecution.process(InteractiveExecution.java:200) at fuego.portal.servlet.ExecutionDispatcher.runGlobalActivity(ExecutionDispatcher.java:659) at fuego.portal.servlet.ExecutionDispatcher.processRequest(ExecutionDispatcher.java:144) at fuego.portal.servlet.ExecutionDispatcher.doPost(ExecutionDispatcher.java:105) at javax.servlet.http.HttpServlet.service(HttpServlet.java:763) at fuego.portal.servlet.AuthenticatedWamServlet.service(AuthenticatedWamServlet.java:1049) at fuego.portal.servlet.SingleThreadPerSession.service(SingleThreadPerSession.java:73) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:223) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at fuego.servlet.multipart.BaseMultipartFilter.doFilter(BaseMultipartFilter.java:57) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3243) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2003) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1909) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at weblogic.work.ExecuteThread.run(ExecuteThread.java:181) Caused by: fuego.connector.ConnectorException: The configuration name [ProcessService] and type [Web Service] is not defined. Detail:The connector must be configured in the appropiate context. at fuego.connector.ConnectorException.connectorNotFound(ConnectorException.java:55) at fuego.connector.ConnectorService.getConnectorInterface(ConnectorService.java:586) at fuego.connector.ConnectorTransaction.getConnectorInterface(ConnectorTransaction.java:618) at fuego.connector.ConnectorTransaction.getResource(ConnectorTransaction.java:254) at fuego.soaptype.WSConfiguration.getInstance(WSConfiguration.java:55) at fuego.soaptype.Endpoint.create(Endpoint.java:42) at fuego.soaptype.WebServiceInstantiator.instantiate(WebServiceInstantiator.java:58) at fuego.component.Component.instantiateDynamic(Component.java:123) at CapGemini.Process.Default_1_0.Instance.CIL_callBPEL(Instance.java:241) at CapGemini.Process.Default_1_0.Instance.CIL_callBPEL(Instance.java:307) 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 fuego.server.execution.EngineExecutionContext.invokeMethodAsCil(EngineExecutionContext.java:907) ... 64 more
    Two things here that might help to understand the problem better :
    1) As I understand the error is due to some issue while calling the BPEL process from the Fuego code.
    The Fuego code which call's the BPEL from the BPMN process is as follows :
    helloResponse as String = "someoutput"
    helloRequest as String = "someinput"
    sessionid as String
    // Starting a Session.
    // In case you are testing this in the Studio,
    // the password must be the same as the user
    startSession BPELWSDL.ProcessServiceListenerWSDL.ProcessService
    using user = "test",
    password = "test"
    returning sessionid = result
    // createTest is the name of the operation
    // in the exposed process.
    // In this case the process "ExposedProcess"
    // has a web service operation
    // called "createTest" that is a "Process Creation" type
    // and uses the Begin activity's argument set
    callHello BPELWSDL.ProcessServiceListenerWSDL.ProcessService
    using sessionId = sessionid,
    arg1 = helloRequest
    returning helloResponse = result
    // Closing the session
    discardSession BPELWSDL.ProcessServiceListenerWSDL.ProcessService
    using sessionId = sessionid
    display "The BPEL's response : " + helloResponse
    2) Further, I had catalogued the BPEL's wsdl to the location http://localhost:9000/fuegoServices/ws/ProcessServiceListener?WSDL while running the same in Studio, but while deploying on the enterprise server , I made this point to http://localhost:7001/fuegoServices/ws/ProcessServiceListener?WSDL Is this correct ?
    Any thought on this issue would be appreciated.
    Regards
    Deepak

    Hi Deepak,
    We are also facing a similar problem, while accessing an external webservice from a BPM process.
    Were you able to resolve this issue.
    If so, Could you please let us know the procedure that you followed to resolve the issue.
    Thanks in Advance,
    Krishnaveni.

  • PeopleSoft Invoking BPEL process gets HTML returned and not XML

    I am executing a SyncRequestXmlDoc in PeopleCode to call a BPEL process.
    In an earlier demo environment this works fine and when I interrogate the log I get a correct Request and Response message :
    I have now installed SOA Suite and I am deploying to that and I now have a problem with the Call.
    It works.... but does not execute the BPEL Process.
    Investigation has found that the PeopleTools Synchronous Message log shows the failing call as returning the HTML form of the BPEL process instead of the XML.
    Detailed below are the request and response logs for the working process and then the failing process.
    The question is :
    Is the BPEL process launched by SOA suite being returned in HTML form because of a setting or configuration issue or .... ?
    I can run the failing process from the BPEL Console without any problems ?
    Working Call Logs
    Request message :
    <?xml version="1.0"?>
    <SOAP-ENV:Envelope xmlns:client="http://xmlns.oracle.com/POSyncComp" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Body>
    <client:POSyncCompProcessRequest>
    <client:Customer>test2</client:Customer>
    <client:Item>1</client:Item>
    <client:Quantity>1</client:Quantity>
    <client:DeliveryDate>2007-08-02</client:DeliveryDate>
    </client:POSyncCompProcessRequest>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    and a correct response :
    <?xml version="1.0"?>
    <soapenv:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Body>
    <POSyncCompProcessResponse xmlns="http://xmlns.oracle.com/POSyncComp">
    <result/>
    </POSyncCompProcessResponse>
    </soapenv:Body>
    </soapenv:Envelope>
    However with a new demo environment where I am using an SOA suite I get the response returned in HTML not XML
    Failing call logs shows html form in response
    Request Message :<?xml version="1.0"?>
    <SOAP-ENV:Envelope xmlns:client="http://xmlns.oracle.com/POSyncCompInt" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Body>
    <client:POSyncCompIntProcessRequest>
    <client:Customer>test2</client:Customer>
    <client:Item>1</client:Item>
    <client:Quantity>1</client:Quantity>
    <client:DeliveryDate>2007-08-02</client:DeliveryDate>
    </client:POSyncCompIntProcessRequest>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Response Message :
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html><head><title> Web Service</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <style type="text/css" media="screen">A:link { font-family: Arial, Helvetica, sans-serif; color:#663300; background-color : #FFFFFF;}
    A:active { font-family: Arial, Helvetica, sans-serif; color:#ff6600; background-color : #FFFFFF;}
    A:visited { font-family: Arial, Helvetica, sans-serif; color:#996633; background-color : #FFFFFF;}
    A.navigation:link{font-family: Arial, Helvetica, sans-serif;font-size:65%;color:#996633;background-color : #FFFFFF;}
    A.navigation:active{ font-family: Arial, Helvetica, sans-serif; font-size:65%; color:#996633; background-color : #FFFFFF;}
    A.navigation:visited{ font-family: Arial, Helvetica, sans-serif; font-size:65%; color:#996633; background-color : #FFFFFF;}
    BODY, P, LI, UL, OL { font-family: Arial, Helvetica, sans-serif; font-size:12px; color:#000000; background-color : #FFFFFF;}
    H1 { font-family: Arial, Helvetica, sans-serif; font-size:150%; color:#336699; background-color : #FFFFFF; border : solid #CCCC99; border-width : 0px 0px 2px 0px; width : 100%;}
    H2 {font-family: Arial, Helvetica, sans-serif; font-size:120%; color:#336699; background-color : #FFFFFF; border : solid #cccc99; border-width : 0px 0px 2px 0px; width : 100%;}
    H3 {font-family: Arial, Helvetica, sans-serif;font-size:110%;color:#336699;background-color : #FFFFFF;width : 100%;}
    H4 {font-family: Arial, Helvetica, sans-serif;font-size:10pt;color:#000000;background-color : #FFFFFF;font-weight: bold;width : 100%;}
    P.indent {text-indent: 9%;}
    .testpage-message-body-editor { margin: 10 0 10px 10px; font-size: 12px; }
    .testpage-complex-editor { margin: 10 0 0 10px; font-size: 12px;}
    .testpage-complex-editor-body { margin: 10 0 0 10px; }
    .testpage-complex-editor-part {     margin: 10 10 0 10px; }
    .testpage-header-editor { margin: 10 0 30 10px; font-size: 12px; }
    .testpage-header-editor-part { margin: 0 0 10 0px; font-size: 12px; }
    .testpage-simpletype-type-tag { color: rgb(128, 0, 128); padding: 0px;     font-size: 12px; margin: 0 2 0 10px; }
    .testpage-simpletype-tag {color: blue; font-size: 12px; margin: 0 6 0 2px; text-align:right; }
    .testpage-complextype-tag {color: black; font-size: 12px; font-weight: bold;}
    .testpage-input {font-size: 12px; text-align:left; }
    .testpage-input-box {border: 1px solid dimgray; font-size: 12px; text-align:left;}
    .testpage-dropdown { font-size: 12px;}
    .testpage-dropdown-box {font-size: 12px;}
    .testpage-arraytype-tag {color: black; font-size: 12px; font-weight: bold;}
    .testpage-array-element-tag { margin: 0 0 0 10px; }
    .testpage-array-element { margin : 10px; background-color: #FFFFFF; background-image: url("med_sub_BG.gif"); }
    .testpage-arraytype-adder { font-size: 12px; }
    .testpage-checkbox { height: 12px; width: 12px; margin: 2 2 3 0px; }
    table {border-spacing: 0;}
    td {padding: 1px 4px 1px 4px; width: 130px; }
    .testpage-invocation-textarea { margin: 10px 0 0 10px; font-size: 12px; border-top: solid #95b7cd 1px;
    border-left: solid #95b7cd 1px; border-bottom: solid #95b7cd 1px; border-right: solid #95b7cd 1px; }
    .testpage-invocation-button { margin: 10px 0 10px 150px; font-size: 12px;}
    .testpage-array-remove { background-image: url(http://etcintel01.uk.oracle.com:7777/orabpel/InternalCompany/POSyncCompInt/1.0?tp_delete_png);  background-repeat: no-repeat; clear: both; display: inline-block; }
    .testpage-array-add { background-image: url(http://etcintel01.uk.oracle.com:7777/orabpel/InternalCompany/POSyncCompInt/1.0?tp_add_png);  background-repeat: no-repeat; clear: both; display: block; position: relative; left: 1px}
    .xmlViewer {font-family: monospace; height: 300px; width: 95%; overflow: auto; position: relative; left:0px;}
    .xmlViewer2 {font-family: monospace; height: 85%; width: 95%; overflow: auto; position: relative; left:0px;}
    .xmlTag {color: #336699; background-color: transparent; font-weight: bold;}
    .xmlAttName {color: #990000; background-color: transparent}
    .xmlAttEqual {color: #006699; background-color: transparent}
    .xmlAttValue {color: #0033cc; background-color: transparent}
    .mode-select { margin: 0 0 0 10px;}
    .extras { margin: 10px 0 0 0px; font-size: 12px; }
    .expander-open {background-image: url(http://etcintel01.uk.oracle.com:7777/orabpel/InternalCompany/POSyncCompInt/1.0?tp_disclosure_expanded_png); background-repeat: no-repeat; background-position: center; display:inline-block;}
    .expander-closed { background-image: url(http://etcintel01.uk.oracle.com:7777/orabpel/InternalCompany/POSyncCompInt/1.0?tp_disclosure_collapsed_png); background-repeat: no-repeat; background-position: center; display:inline-block;}
    div.bar {width:85%; padding-left:15px; border-color: rgb(128,128,128);border-width: 0px 0px 1px 0px ; border-style:solid; line-height: 0}
    div.container {position:relative; border-width:1px; border:solid #95b7cd 2px; margin-top:20px;padding-top:20px}
    div.operation {position:absolute; top:-12px; left:40px; background-color:white}
    a .alt { visibility: hidden; position: relative; left: -4px; }
    </style>
    </head><body onLoad="javascript:buildEditor()">
    <h1>POSyncCompInt endpoint</h1>
    <p>For a formal definition, please review the Service Description.</p>
    <p>Download the JavaScript Stub (<i>BETA</i>) for POSyncCompIntPort and see its documentation.</p>
    <script type="text/javascript" src="http://etcintel01.uk.oracle.com:7777/orabpel/InternalCompany/POSyncCompInt/1.0?BPEL_OC4J_Servlettest.js"></script>
    <script type="text/javascript">
    // Copyright © 2003, 2006, Oracle. All rights reserved.
    function switchOperation(selection) {
    submit_to_self();
    function switchMode(newMode) {
    submit_to_self();
    function submit_to_self() {
    var f = document.forms['CreateMessage'];
    f.action = "/orabpel/InternalCompany/POSyncCompInt/1.0";
    f.submit();
    function toggleHttpParams(transBox) {
    var transportParams = document.getElementById("http-params");
    if (transBox.checked) {
    transportParams.style.display = "block";
    } else {
    transportParams.style.display = "none";
    function handleStressInfo( stressCheckBox ) {
    var initiateForm = document.forms['CreateMessage'];
    if( stressCheckBox.checked ) {
    // User is requesting stress test
    // change the address of the form
    initiateForm.action = "/orabpel/InternalCompany/POSyncCompInt/1.0?stressTest=";
    } else {
    // The user does not want a stress test
    // change the address of the form
    initiateForm.action = "/orabpel/InternalCompany/POSyncCompInt/1.0";
    function buildEditor() {
    var wsm_interceptors = [];
    wsm_interceptors[0] = "reliability";
    wsm_interceptors[1] = "security";
    var node = document.getElementById("editor");
    var editor = findEditors("process", wsm_interceptors);
    editor.build(node);
    syncFormRadioField('mode_html', true);
    syncFormRadioField('mode_xml', false);
    syncFormSelectField('operationName', 'process,,');
    var soapAction = document.getElementById("soapAction");
    soapAction.value = "process";
    var soapAction_cb = document.getElementById("soapAction_cb");
    soapAction_cb.checked = "true";
    </script>
    <h2>POSyncCompIntPort</h2>
    <form name="CreateMessage" action='/orabpel/InternalCompany/POSyncCompInt/1.0?invoke=' method="POST" onSubmit="javascript:return validateAllAtomicInputs(this);">
    <input type="hidden" name="contentType" value="text/xml" >
    <input type="hidden" name="portName" value="POSyncCompIntPort" >
    <input type="hidden" name="serviceName" value="POSyncCompInt" >
    <input type="hidden" name="serviceNamespace" value="http://xmlns.oracle.com/POSyncCompInt" >
    <div class="container">
    <div id="mode-select" class="operation">
    Operation
    : <span id="operationSelect">
    <select class="testpage-input-box" id="operationName" name="operationName"
    onchange="switchOperation( this.value ); return true;">
    <option value="process,," SELECTED>process</option></select>
    </span>
       <span style="align: right" class="testpage-edit-modes">
    <input id="mode_html" name="mode" type="radio" onclick="switchMode( this.value ); return true;"
    VALUE="html" Checked />
    HTML Form</span>
    <input id="mode_xml" name="mode" type="radio" onclick="if(!validateAllAtomicInputs(this.form)){ this.checked = false; document.getElementById('mode_html').checked = true; } else { switchMode( this.value ) }; return true;"
    VALUE="xml" />
    XML Source
    </div>
    <div id="editor"></div>
    </div>
    <div>
    <p><i>Note: XML source view contents will not be reflected in the HTML form view</i></p>
    </div>
    <div class="extras">
    <label>
    <span><a class="expander-closed" id="tp_http_transport" href="javascript:toggleExpand('http-params','tp_http_transport')"><span class="alt">---</span></a></span>
    <span>Show Transport Info</span>
    </label>
    <div id="http-params" class="extras" style="font-size:12px;padding-left:20px;display:none">
    <table><tr>
    <td class="testpage-input">HTTP Authentication
    </td><td class="testpage-input"><input type="checkbox" class="testpage-checkbox" name="transport-enablement" style="font-size:12px; margin-left:10px"> Enable
    </td>
    </tr><tr><td>
    <table><tr><td class="testpage-input">
    User Name</td><td><input class="testpage-input-box"
    type="text"
    name="form_user"/></td>
    </tr>
    <tr><td class="testpage-input">
    Password</td><td><input class="testpage-input-box"
    type="password"
    name="form_password"/>
    </td></tr>
    </table>
    </td></tr>
    </table>
    <div id="soap-action" class="extras">
    <label>
      SOAP Action  
    </label>
    <span id="testpage-soap-action" class="extras">
    <input class="testpage-input-box" type="text" id="soapAction" name="soapAction" size="35"/>
    </span>
    <span><input type="checkbox" class="testpage-checkbox" name="soapAction_cb" id="soapAction_cb"
    onclick="javascript:toggleDisabled(this, 'soapAction')" style="font-size:12px; margin-left:10px"/> Enable</span>
    </div>
    </div>
    </div>
    <div id="stress" class="extras">
    <div>
    <span><a class="expander-closed" id="tp_stress_info" href="javascript:toggleExpand('stressInfo','tp_stress_info')"><span class="alt">---</span></a></span>
    <span>Perform stress test</span>
    <span> <input type="checkbox" class="testpage-checkbox" name="stress" onclick="handleStressInfo( this )" style="font-size:12px; margin-left:10px"><span> Enable </span></span>
    <div id="stressInfo" style="font-size:12px;padding-left:20px;display:none">
    <table cellpadding="1" cellspacing="0" width="100%" summary="">
    <tr>
    <td width="300" class="testpage-input">
    Number of Concurrent Threads </td>
    <td class="testpage-input">
    <input type="text" name="stress_threadCount" value="10" size="4" />
    (threads) </td>
    </tr>
    <tr>
    <td class="testpage-input">
    Number of Loops </td>
    <td class="testpage-input">
    <input type="text" name="stress_loopCount" value="5" size="4" />
    (loops) </td>
    </tr>
    <tr>
    <td class="testpage-input">
    Delay </td>
    <td class="testpage-input">
    <input type="text" name="stress_delay" value="1000" size="4" />(milliseconds) </td>
    </tr>
    </table>
    </div>
    </div></div>
    <input type="hidden" name="reliability" value="true"/>
    <input type="hidden" name="security" value="true"/>
    <input align="right" name="invokeMessage" type="submit" value="Invoke" class="button"/><div id="validation_error_message"></div>
    </form>
    <h2> </h2>
    <p><font face="Arial" size="1">Copyright &copy; 2003, 2006, Oracle. All rights reserved.</font></p>
    </body></html>
    Is this a setting or configuration problem in my SOA suite install ?
    Needless to say the BPEL process does not execute.
    Can anyone help ?

    Hi Lonneke
    Thanks for responding....
    You are correct in seeing that the two services are different in name.
    However they are identical in function.
    I created the service POSyncComp in my earlier version of JDev and deployed it to my local OC4J.
    Which is launched by a PeopleSoft call using PeopleCode.
    I have now rewritten this service in my new JDev and called it POSyncCompInt and deployed to home in an SOA suite implementation.
    So whilst I test and before I roll the original service call out, I have both.
    I have duplicated the PeopleCode and tweaked the message call, so that for testing purposes, and before I drop the current working version I have both calls in my PeopleCode event.
    The original POSyncComp call still works, but the call to the 'new replacement' does not.
    Hence the log shows both calls.... with slightly different names.
    The strange thing is that the PeopleSoft LOG shows very similar code in the Request Message, but the response from the new call shows the HTML Form that I get if I run the second BPEL process from the SOA BPEL console.
    So it looks like it is addressing the URL correctly.... but it suggests that stand alone OC4J returns a different response to the SOA suite which I am using for the new version of the BPEL process.... Is this configuration ?
    It hints at the xsd file and the complex message type at entry to the BPEL process.
    I can run the new process from the SOA suite BPEL Console with no problems.
    I hope that clarifies your question about two different service names

  • BPEL process to create a PDF and send it as attachment in SOAP response

    We have a requirement to have a webservice created using BPEL, which can receive input from a client and create a PDF using the input and send the PDF as attachment in the SOAP response.
    We have found the below link in Oracle docs and our basic understanding on the functionality given is that the MIMEService is being used to read a SOAP attachment from some other service and send it as an attachment in the SOAP response to the requester. As explained above, this doesn't completely satisfy our requirement.
    http://docs.oracle.com/cd/E11036_01/integrate.1013/b28981/manipdoc.htm#BABCJIAH
    Please suggest if there is any other approach that suites our requirement.
    Thanks.

    Hi,
    I have a Weblogic webservice which returns me a PDF attachment as resposne ( here I have MIME related stuff).I need to get attachment as bpel response.
    I have created a BPEL process to invoke the weblogic webservice. I have explictly added the MIME part in bpel.wsdl same as weblogic webservice wsdl.
    I tried to assign the response variable( of type base64binary) of bpel.wsdl and my webservice .wsdl . I am getting some error with no attachment.
    Below is my xsd used in BPEL.wsdl*
    <?xml version="1.0" encoding="UTF-8"?>
    <schema attributeFormDefault="unqualified"
         elementFormDefault="qualified"
         targetNamespace="http://xmlns.oracle.com/MIMEApp/test/BPELProcess1"
         xmlns="http://www.w3.org/2001/XMLSchema">
         <complexType name="process">
                   <sequence>
                        <element name="input" type="string"/>
                   </sequence>
         </complexType>
         <complexType name="processResponse">
                   <sequence>
                        <element name="result" type="string"/>
                   </sequence>
         </complexType>
    <complexType name="GetAttachmentPDF">
    <sequence>
    <element minOccurs="0" name="Pdf" nillable="false" type="base64Binary"/>
    </sequence>
    </complexType>
    </schema>
    Below is my BPEL.wsdl*
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions name="BPELProcess1"
    targetNamespace="http://xmlns.oracle.com/MIMEApp/test/BPELProcess1"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:client="http://xmlns.oracle.com/MIMEApp/test/BPELProcess1"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/">
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         TYPE DEFINITION - List of services participating in this BPEL process
         The default output of the BPEL designer uses strings as input and
         output to the BPEL Process. But you can define or import any XML
         Schema type and use them as part of the message types.
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    <wsdl:types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://xmlns.oracle.com/MIMEApp/test/BPELProcess1"
    schemaLocation="xsd/BPELProcess1.xsd"/>
    </schema>
    </wsdl:types>
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         MESSAGE TYPE DEFINITION - Definition of the message types used as
         part of the port type defintions
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    <wsdl:message name="BPELProcess1RequestMessage">
    <wsdl:part name="payload" type="client:process"/>
    </wsdl:message>
    <wsdl:message name="BPELProcess1ResponseMessage">
    <wsdl:part name="payload" type="client:processResponse"/>
    <wsdl:part name="attachment" type="client:GetAttachmentPDF"/>
    </wsdl:message>
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         PORT TYPE DEFINITION - A port type groups a set of operations into
         a logical service unit.
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    <!-- portType implemented by the BPELProcess1 BPEL process -->
    <wsdl:portType name="BPELProcess1">
    <wsdl:operation name="process">
    <wsdl:input message="client:BPELProcess1RequestMessage"/>
    <wsdl:output message="client:BPELProcess1ResponseMessage"/>
    </wsdl:operation>
    </wsdl:portType>
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         PARTNER LINK TYPE DEFINITION
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    <plnk:partnerLinkType name="BPELProcess1">
    <plnk:role name="BPELProcess1Provider">
    <plnk:portType name="client:BPELProcess1"/>
    </plnk:role>
    </plnk:partnerLinkType>
    <wsdl:binding name="BPELProcess1SOAP11Binding" type="client:BPELProcess1">
    <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="process">
    <soap:operation style="rpc"
    soapAction="http://xmlns.oracle.com/MIMEApp/test/BPELProcess1/process"/>
    <wsdl:input>
    <soap:body use="literal"
    namespace="http://xmlns.oracle.com/MIMEApp/test/BPELProcess1"/>
    </wsdl:input>
    <wsdl:output>
    <mime:multipartRelated>
    <mime:part>
    <soap:body use="literal"
    namespace="http://xmlns.oracle.com/MIMEApp/test/BPELProcess1"/>
    </mime:part>
    <mime:part>
    <mime:content part="attachment" type="application/pdf"/>
    </mime:part>
    </mime:multipartRelated>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    </wsdl:definitions>
    Below is my WL WS WSDL*
    <?xml version="1.0" encoding="UTF-8"?>
    <WL5G3N0:definitions
    name="NewWSDLFile"
    targetNamespace="http://www.example.org/NewWSDLFile/"
    xmlns:WL5G3N5="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:WL5G3N4="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:WL5G3N3="http://www.example.org/NewWSDLFile/"
    xmlns:WL5G3N2="java:com.rogers.service"
    xmlns:WL5G3N0="http://schemas.xmlsoap.org/wsdl/"
    xmlns:WL5G3N1="http://www.w3.org/2001/XMLSchema"
    >
    <WL5G3N0:types>
    <xsd:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="java:com.rogers.service"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:s="java:com.rogers.service"
    xmlns:s0="http://schemas.xmlsoap.org/wsdl/" xmlns:s1="http://www.w3.org/2001/XMLSchema"
    xmlns:s2="java:com.rogers.service" xmlns:s3="http://www.example.org/NewWSDLFile/"
    xmlns:s4="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s5="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://www.example.org/NewWSDLFile/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:complexType name="GetAttachmentPDF">
    <xsd:sequence>
    <xsd:element minOccurs="0" name="Pdf" nillable="false" type="xs:base64Binary"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="GetAttachmentResult">
    <xsd:sequence>
    <xsd:element minOccurs="1" name="Message" nillable="true" type="xs:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    </WL5G3N0:types>
    <WL5G3N0:message name="NewOperationRequest">
    <WL5G3N0:part name="GetAttachment" type="WL5G3N1:string"/>
    </WL5G3N0:message>
    <WL5G3N0:message name="NewOperationResponse">
    <WL5G3N0:part name="NewOperationResponse" type="WL5G3N2:GetAttachmentResult"/>
    <WL5G3N0:part name="attachment" type="WL5G3N2:GetAttachmentPDF"/>
    </WL5G3N0:message>
    <WL5G3N0:portType name="NewWSDLFile">
    <WL5G3N0:operation name="NewOperation">
    <WL5G3N0:input message="WL5G3N3:NewOperationRequest"/>
    <WL5G3N0:output message="WL5G3N3:NewOperationResponse"/>
    </WL5G3N0:operation>
    </WL5G3N0:portType>
    <WL5G3N0:binding name="NewWSDLFileSOAP" type="WL5G3N3:NewWSDLFile">
    <WL5G3N4:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
    <WL5G3N0:operation name="NewOperation">
    <WL5G3N4:operation soapAction="http://www.example.org/NewWSDLFile/NewOperation"/>
    <WL5G3N0:input>
    <WL5G3N4:body use="literal" namespace="http://www.example.org/NewWSDLFile/"/>
    </WL5G3N0:input>
    <WL5G3N0:output>
    <WL5G3N5:multipartRelated>
    <WL5G3N5:part>
    <WL5G3N4:body use="literal" namespace="http://www.example.org/NewWSDLFile/"/>
    </WL5G3N5:part>
    <WL5G3N5:part>
    <WL5G3N5:content part="attachment" type="application/pdf"/>
    </WL5G3N5:part>
    </WL5G3N5:multipartRelated>
    </WL5G3N0:output>
    </WL5G3N0:operation>
    </WL5G3N0:binding>
    <WL5G3N0:service name="NewWSDLFile">
    <WL5G3N0:port name="NewWSDLFileSOAP" binding="WL5G3N3:NewWSDLFileSOAP">
    <WL5G3N4:address location="http://localhost:7001/something/NewWSDLFileImpl"/>
    </WL5G3N0:port>
    </WL5G3N0:service>
    </WL5G3N0:definitions>
    I refered the below link:
    http://docs.oracle.com/cd/B14099_19/integrate.1012/b14448/manipdoc.htm.
    4.16.1.1 WSDL File Contents
    They are using ra:writeBinaryToFile() and ora:ReadBinaryFromFile(). I couldnt get a proper sample to understand the use of these functions.
    Please advise.
    Regards
    Ipsita

Maybe you are looking for