BPEL problem

Hai

IAM gave an assignment where I should get the entrance to the customer for id and quantity of all elements (complex element with id and quantity)
With the help of bpel process I should get the price of the respective articles.
The problem is can pass the payload to the entry of client side but I am not able to pass the payload to the Invoke activity to collect the prize if I select more than 1 point.

Thanks in advance

Concerning
Beckyard

Published by: 10408052 on July 30, 2012 01:11

Published by: Beckyard on September 26, 2012 21:49

Hello

You create a loop in your BPEL to iterate over the elements... Place your invoke activity inside the loop...

Here are some examples on how to do...
http://clemensblog.blogspot.com.au/2006/03/BPEL-looping-over-arrays-Collections.html
http://www.vxcompany.info/2011/10/18/use-Oracle-BPEL-to-loop-over-XML/

See you soon,.
Vlad

Tags: Fusion Middleware

Similar Questions

  • BPEL - problem xml

    I have a web service hosted on the remote server. His method takes xml as input.
    This xml file must be valid according to our schema xsd itself referring other schemas. According to the scheme of this file xml can be any type of valid
    XML. this XML we will assign the values from database. Then this valid (according to xsd) xml database value, will be forwarded to our
    Web service method.
    I am new to BPEL, so I do not know how to perform the same task.
    Please help/guide me.

    You can solve your problem by following the path:

    1. create a schema that your should confirm.

    2. create a variable using this schema.

    3 assign the values from the database using an entitlement or transform the business.

    4. use ora: getContentAsString() to generate the XML that you can pass to your web service using an assign activity. Fuction is available in BPEL expansion feature in an assign activity.

    I hope you find this answer useful.

    Thank you
    Sliman

  • BPEL:problem copy of response webservice for a release of var variable data

    I am not ale to copy data from Web service resppne to process its selection giving failure bpel variables, but I can see the answer in the audit level what mite be the question

    Check the namespaces in the xml response file

  • problem with the help of stolen and the Bpel flow

    Hi all

    I am facing a strange problem while doing my first Bpel project.

    I have a requirement-

    (1) a list with N details used.

    (2) to 5 parallel web service calls

    where

    call 1 - employee uses 1 Details

    Call 2 - employee uses 2 details...

    ...

    Call 5 - Details employee 5 uses.

    (3) in the next series starts from employee 6.

    what I've done

    (1) created a loopCounter

    (2) introduced a While loop with condition loopCounter endpoint > County employee in my list

    (3) added to a flight in the loop with N = 5.

    (4) loopCounter assigned to a local variable.

    (5) assign activity inside used Xpath where I used [position() = $< local range variable >]

    (6) loopCounter incremented

    Saw a problem:

    A list of 5 employees, I fed the process.

    In the first time through the loop, he made 5 calls but all with employee 5.

    Any idea what goes wrong?

    Please share.

    Rgds,

    DM

    We have solved this issue.

    You had to use a range variable.

  • Problem definition fault policy at the level of the BPEL components

    Hello

    I have a composite with 2 BPELs. (BPEL1 and BPEL2). In my composite BPEL1 called BPEL2.
    My requirement is that when an error occurs in BPEL2, I want to throw 1 BPEL and BPEL1, I want to handle using fault strategies defined on MDS.

    < name = "oracle.composite.faultPolicyFile property" > oramds:/apps/faultpolicy/fault-policies.xml < / property >
    < name = "oracle.composite.faultBindingFile property" > oramds:/apps/faultpolicy/fault-bindings.xml < / property >

    The problem here is that when I use the lines above at the composite level, BPEL2 is contagious the fault using the policy of the fault. (I am pasting the above two properties just after the service tag).
    But if I want to use this manipulation in BPEL 1, I'm pastin lines above within the tag < element > 1 BPEL. In this case, BPEL2 is to launch the flaw, but BPEL1 is not able to do as the policy of the fault is not entered into force.

    Can someone paste a contents of composite.xml example to set the faultpolicy specific to a BPEL component, rather than the whole composite.xml?

    Any help on this is much appreciated.

    Thank you
    Prates T.

    Error binding allows to set policy for the required component fault.
    for example: -.



    xmlns = "http://schemas.oracle.com/bpel/faultpolicy."
    xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" >


    BPEL1
    Medias2



    HelloWorld
    ShippingComponent
    AnotherComponent ".

    See section links fault in http://docs.oracle.com/cd/E12839_01/integration.1111/e10224/bp_faults.htm

  • problem creating bpel process

    Hi all

    http://docs.Oracle.com/CD/E27559_01/dev.1112/e27150/request.htm#CIHFBEFB

    I followed the above document to create a customized bpel process. In the 21.3.5.5 selection of Workflow Configuration section, it is given as
    5 specify the input as the output as workflowstage and catalogData.

    I was unable to find any workflowstage in the search for the exit.

    can someone help me on this?






    Kind regards
    Intern

    I hope that you have had no problem in the map as the data of the catalogue entry. It comes under CatalogData.xsd in the Type Explorer.

    Now to set the results like workflowstage click on the + sign next to BusinessRule.xsd and select ' StageOutput: stage '.

  • Serious problems with another BPEL the DB adapter

    Hello

    I have a simple BPEL adapter DB two adaptors to insert records into tables and set XA on it to restore, in case where if insert any insert fails. Default property < name "jca.retry.interval property" = > 60 < / property > is set to try again.

    I test negative and waiting to process BPEL try again. For the first time after the failure is not retried, but the next morning at 12:00 he begins to try again and it still 5 minutes until 04:00. Don't know what property I need to change to fix this problem.

    Any pointer would be useful.

    Thank you
    Sham.

    As arik said, which is cause of ASR, default sound active and set to 00:00

    The default value is midnight (00:00).

    Thank you
    Vijay

  • Tag SOAP cause problem integrate BPEL and OSB

    Hello

    I developed a project in which JMS BPEL adapter places the message in the JMS queue and proxy OSB service removes the message from this queue and treated more far.

    Now, the problem is that BPEL JMS adapter does not add the SOAP envelope/body/header for the message tags but the proxy OSB service requires these tags to be there with the message. Proxy OSB service gives the following error:

    «com.bea.wli.sb.context.BindingLayerException: the message must be an instance of: {http://schemas.xmlsoap.org/soap/envelope/} envelope.»


    Is it possible that the OSB proxy service can process the message not having not SOAP envelope attached tags.

    Thank you

    Yes. Use the service proxy AnyXML withdrawal message from JMS Q. This type of proxy is not the mandate that the JMS message is in the SOAP format.

    Maury

  • BPEL variable return error Http 503 (construction of problem diagram)

    First of all if I posted this in the wrong forum, I apologize in advance.

    I recently installed the following Oracle SOA and I downloaded JDeveloper 10.1.3.3, I use the Oracle® BPEL Process Manager tutorial (http://download.oracle.com/otndocs/products/bpel/orderbooking.pdf) and trying to create a rule to copy, I noticed that some of my variables returning the following error:

    Exception - construction of the problem diagram

    extended error:

    Exception: Server returned HTTP response code: 503 for URL: http://MYID.MYDOMAIN.com:80 / orabpel, default, CreditRatingService, CreditRatingService? WSDL

    I can directly access the WSDL and is visible in my console window Bpel too, yet JDeveloper appears to be wrong with it. I have setup a connection server integration to the BPEL server and there, when I try to validate WSDL I don't get any problems.

    I was wondering if someone could help because it got me stuck and I can not continue further.

    Published by: SY on June 8, 2009 15:33

    Disable the proxy settings in JDeveloper.

    Marc

  • Problem call for different versions of BPEL process leave an ESB

    We are currenlty have a problem calling a service of BSE BPEL process.

    We initially developed the solution and the two releases correctly, however, it was necessary to make some changes to the BPEL process and we have redeployed later the BPEL process incrementing the version number.

    However, the BSE service when insider trading was still called the initial version of the ESB service.

    Is it possible to do BSE call the default version of BPEL process as configured in the BPEL console.

    You can accomplish this task by calling the SOAP Service in BSE that points to the current WSDL of BPEL process, for example:
    http://localhost: 8888/orabpel/default/SOAOrderBooking/SOAOrderBooking? WSDL
    Instead of
    http://localhost:8888/ORABPEL/default/SOAOrderBooking/1.0/SOAOrderBooking?WSDL

    This information is available in Metalink Note: 430206.1

  • problem of link B2B-BPEL partner name

    Hello

    I configured the BPEL B2B interoperability. I am able to see the services B2B adapter jdeveloper wsdl. I configured the custom xml part by using the ebMS in B2B Protocol. While creating the partner for this link. It is show the way of wsdl:
    http://127.0.0.1:8888/orainfra/WSIL/adapters/B2B/custom/ebMS+document+Protocol+Revision1-1.0/ebMS+doc+type1/ebMS+doc+dEF1?WSDL.

    In BPEL, symbols "+?" were not supported if I get the error as "the name is not a valid NCNAME.

    Please some help me solve this problem.

    Also, make sure that the downloaded schema is the name of the file as well as the root name.

  • What is the problem with this single line of Java code in the software special approval BPEL code?

    Hello

    My java code does not build in jdev if I leave this line in java tissue BPEL code

    Criteria of SearchCriteria = new SearchCriteria (AttributeName.USER_LOGIN.getId (), une_chaine, SearchCriteria.Operator.EQUAL);

    With the help of Jdev 11.1.1.7.0

    oimclient is inside of the SCA-INF/lib, manifest says it is version 11.1.2.2.0

    Error message does not say much

    at com.collaxa.cube.lang.compiler.template.CubeProcessGenerator.compile(CubeProcessGenerator.java:313)

    at com.collaxa.cube.lang.compiler.template.CubeProcessGenerator.generate(CubeProcessGenerator.java:169)

    at com.collaxa.cube.lang.compiler.BPEL1Processor.transform(BPEL1Processor.java:257)

    at com.collaxa.cube.lang.compiler.BPEL1Processor.process(BPEL1Processor.java:161)

    at com.collaxa.cube.lang.compiler.CubeParserHelper.compile(CubeParserHelper.java:47)

    at oracle.fabric.bpel.bpelc.BPELComponentValidator.validate(BPELComponentValidator.java:40)

    at oracle.soa.scac.ValidateComposite.validateComponentTypeServicesReferences(ValidateComposite.java:1066)

    at oracle.soa.scac.ValidateComposite.doValidation0(ValidateComposite.java:514)

    at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:493)

    at oracle.soa.scac.ValidateComposite.run0(ValidateComposite.java:214)

    at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:195)

    at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:187)

    Do I need exactly the same version of jdev to oimclient?

    TIA

    Leo

    Well it seems to work when I remove all imports, even classes in java.util. as map, list, etc.

  • Problem in the dynamic callback in BPEL application

    Hello

    I try to use the dynamic callback of a BPEL process...
    Creates a variable of type EndpointReference important ws - addressing.xsd. in the partnerlink wsdl file...

    I posted the URL address field of the variable...

    < copy >
    < from expression = "" http://172.31.171.123:8888 / PubSubWLPOC-CallbackSvc2-context-root/EIPWFServiceCallbackPort "" / >
    < variable = request "ep_var" = "/ ns3:EndpointReference / ns3:Address" / >
    < / copy >

    Until this assignment, it works fine...

    But when I try to assign the same variable to the partnerlink, I get this error...

    < assign the name = "Assign_7" >
    < copy >
    < variable from = "ep_var" / >
    < to partnerLink = "MyWebService1" / >
    < / copy >
    < / assign >


    The error is like this (from the SOA_HOME\bpel\domains\default\logs of $);

    java.lang.NullPointerException
    at com.collaxa.cube.engine.types.bpel.CXPartnerLink.copy(CXPartnerLink.java:246)
    at com.collaxa.cube.engine.ext.wmp.BPELAssignWMP.performCopyTo(BPELAssignWMP.java:1151)
    at com.collaxa.cube.engine.ext.wmp.BPELAssignWMP.__executeStatements(BPELAssignWMP.java:215)
    at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:199)
    at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3698)
    at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1655)
    at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:217)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:314)
    at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5765)
    at com.collaxa.cube.engine.CubeEngine.callbackPerformer(CubeEngine.java:1885)
    at com.collaxa.cube.engine.delivery.DeliveryHelper.callbackPerformer(DeliveryHelper.java:845)
    at com.collaxa.cube.engine.delivery.DeliveryService.handleCallback(DeliveryService.java:794)
    at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleCallback(CubeDeliveryBean.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)
    ................

    The confusing part is when I use the xml instead of the ep_var variable fragment, it works fine...
    But I can't use the same that the reminder can be done to any url (which is decided at runtime)

    Can someone help me pls with this?

    Mashal

    Hello
    I did remind the dynamics that follows, and it works...



    <_EndpointReference xmlns="http://schemas.xmlsoap.org/ws/2003/03/addressing">







    In the assignment above part is a fragment of xml that is assigned to the endpoint Url








  • Problem in the application of several reminders in BPEL

    Hello

    I have 2 BPEL process-

    The BPEL process 1 has three operations - has > start b > c onMultiCallBack(1st callback) > onresult (2nd callback)

    2nd process (which acts as a client) invokes the initiate of the 1st operation.
    It has two receive activities to get the result in a different phase on the first process (two reminders).

    When I run 1 console BPEL process it works fine (I see the stream is completed).
    But when it is triggered by the 2nd process (client), the 1st process Invoke activity fails.

    The error that says this:

    < message >
    -< input >
    -< Invoke_2_onMultiCallBack_InputVariable >
    -< part xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" name = "payload" >
    -< TestHumanWFProcessResponse xmlns = "http://xmlns.oracle.com/TestHumanWF" >
    Mrs f < result > < / result >
    < / TestHumanWFProcessResponse >
    < / part >
    < / Invoke_2_onMultiCallBack_InputVariable >
    < / Entry >
    -< fault >
    -< bindingFault xmlns = "http://schemas.oracle.com/bpel/extension" >
    -part name = "code" >
    < code > < code > GenericError
    < / part >
    -part name = "summary" >
    < Summary >no operation of this type. Cannot find 'onMultiCallBack' operation of portType '{http://xmlns.oracle.com/TestHumanWF} TestHumanWFCallback' in WSDL to 'file:/C:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_TestMultiCallback_1.0_96ad243afd4c31df537794cbe1b01662.tmp/_TestMultiCallback.wsdl '. The WSDL to 'file:/C:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_TestMultiCallback_1.0_96ad243afd4c31df537794cbe1b01662.tmp/_TestMultiCallback.wsdl' might have been changed and you may need to recompile and deploy the calling process. < / Summary >
    < / part >
    < / bindingFault >
    < / failures >
    < / messages >

    Can someone help me with this...

    Mashal

    Hello

    IF you have changed your WSDL file is not reflected in the server even after the deployment of... * try to clear the cache WSDL *.

  • Problem in the endpoints BPEL in 11g?

    I have a bpel treat him in 11g deonsole pikployes when I try to test the bpel console, he picks up a few other Ip rather than pick up the adresss listening I need to analyze the wsdl to re enter correctly.please let me know...

    Rebounce server please

Maybe you are looking for

  • Another device is using my IP address

    Today morning when I switched on my macbook, I received a message pop - up-"another device on the network use the IP address of your computer. This means that my computer is hacked? Or has nothing to do with the common wi - fi network, I use?

  • Need a router that allows Wifi to be decommissioned

    Hello I need a router that has a Wifi that will allow me to use it plugged in on/off switch. Don't the N300, or one of the others, have a Wifi on/off switch? Thank you Louise.

  • account has been hacked and then locked

    Help, please... My hotmail account has been hacked and then I locked.  I was obliged to submit questions to verify my identity and was sent an email with a link to a forum for the status if I had not received an email within 24 hours.  I need a PIN t

  • HP dv6 6c98sa - switchable graphics - AMD Radeon 7470 m does not work after installing Windows 8

    As per the title, I upgraded my Windows 7 Home Premium 64 - bit of Windows 8 Pro 64 bit, of course according to a lot of discussions here (which I've read through) the AMD Radeon stops working. I had it running using some Toshiba drivers which I can'

  • Multi Boot

    I use Windows XP and Vista on a hard drive.I was given a digital hard drive that is now installed and formatted.(1) I want to get an upgrade to Windows 7 and drop it on the new drive. Should I install XP on the new drive in order to get a $40 at Micr