Split Message, send to webservice and consolidate the results

Hello,
I am looking for some support / examples for following situation:
A webservice is existing that only allows a single message to be entered. The webservice will return the result on this message. The structure of the message is very simple as it contains only one element. (Same for the response)
What I would like to do is to be able to send a list of several values to be checked by this webservice. The idea is to build a BPM to send a multi-element message (repeating element / different values) , split this multi element message into seperate messages including one element, send all these messages accordingly to the webservice, receive and collect all according responses and consolidate these again in a multiu-element response message.
If someone would have a description or an example with the different needed steps how to build this BPM, this would be nice.
Thanks in advance !
Edited by: Keno Torfs on Mar 4, 2008 11:30 AM

hi,
just open asynch synch bridge
you will be creating multi-line container with interface variable as instance.
assumption is a source system is pumping messages of same data type.
recieve step to get the messages.
you just collect the messages using container
then use reciever determinaton step to get the receivers in receiver variable .
use the transformation step to get the target messgaes
loop through the target message container and execute send step. after send step collect message.
note:in loop step we have decrement message counter  send step which has collection variable for response.
hope you got some  idea.
Regards,
Ram

Similar Messages

  • Execute a Query from a report sending it parameters and capture the result

    Hello everybody,
    Greetings from Peru, I want your help, Do you know how to execute a query from a report sending parameteres and capture the result in a internal table?
    The attached imaged has in red square the parameteres I want to send from a report.
    The idea is to have a JOB that executes everyday and parameters like DATE PERIOD will change automatically.
    Thanks for your time.

    Hi Enrique,
    You can call a query from a report by using submit statement.
    Every query has a corresponding program associated with it.
    Execute the query from SQ01. On te selection screen of query, goto SYSTEM  from menu and then click on STATUS, you will get program name (In this case aqzzzent_struct=zmm_ent_struc1). Use this program to call the query from your custom program.
    Also populate the rspar int table as per the selection criteria you want to pass to query.
       DATA: rspar     TYPE TABLE OF rsparams,
        wa_rspar  LIKE LINE OF rspar.
          wa_rspar-selname = 'SP$00001'.
          wa_rspar-kind = 'S'.
          wa_rspar-sign = 'I'.
          wa_rspar-option = 'BT'.
          wa_rspar-low  = s_cmp_cd-low.
          wa_rspar-high = s_cmp_cd-high.
          APPEND wa_rspar TO rspar.
       SUBMIT aqzzzent_struct=zmm_ent_struc1 WITH SELECTION-TABLE rspar AND RETURN.
    Thanks,
    Sachin

  • I have a neslab chiller and want to read the temperature by sending ASCII characters and graph the results, any advice?

    I am having difficulty having the chiller recognize (RT[CR]) which is the signal recognized by the chiller to read the temperature. The signal that is returned is (xxx.xx[CR]) which is the temperature. I am attempting to be able to read the temperature and graph this vs time and possibly be able to change the setpoint as well from the UIR.

    I agree with Randy that Hyperterminal is a good starting point to test cabling and communication.
    In your program, be careful to serial port initialization (how to set baud rate, parity, data bits and stop bits depends on the language used) and to termination character ([CR] means Carriage return: if you are usng CVI it DOESN'T add CR to the message unless you esplicitly put it in).
    Another interesting point is the time the instrument takes to respond to the message: it can vary from message to message and is usually described in the instrument's documentation. If you test for a shorter time, you catch a false 'no response'. You could make a while loop and test in it the number of bytes received, then decide whether to end the loop for timeout or answer recei
    ved...
    To continue help you, we need some details of your developing environment (CVI or LabVIEW?) and of problems you are having at present.
    Hope to hear you soon
    Roberto
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Everytime i try and send a message to my boyfriend through imessage on my ipad, it says "Message send failure" but all of the messages are coming in through my email, i hate texting my boyfriend through my email. So can someone help me, please.

    Everytime i try and send a message to my boyfriend through imessage on my ipad, it says "Message send failure" but all of the messages are coming in through my email, i hate texting my boyfriend through my email. So can someone help me, please.

    "iMessage allows users to send texts, photos, videos, contact information, and group messages over Wi-Fi or 3G to other iOS 5 users, thus providing an alternative to standard SMS messaging for all users with devices running iOS 5."
    This is what it is and what it does. You both have to have iOS 5 installed on your supported device. If that's not what your setup is, then that's your answer.

  • IDoc to webservice and get the response back into another IDoc.

    Hi guys
    We have a scenario where we need to send an IDoc to webservice and get the response back into another IDoc.
    Questions:
    1. Is this scenario possible without a BPM? or do we need to use BPM (Sync-Async bridge).
    2. Is there a Async to Sync bridge in BPM?
    3. How do I use this bridge in my scenario and customize it?
    4. If not possible, provide me the related docs using BPM for the same scenario.
    Appreciate your quick response
    Regards
    Naidu

    Hi,
    this link may help u............,
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1134. [original link is broken] [original link is broken] [original link is broken]
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403. [original link is broken] [original link is broken] [original link is broken]
    Regards,
    Azeez khan.

  • When I use Adobe Send the screen goes dark when I hit send but never seems to complete the send task! and recover the screen.F

    when I use Adobe Send the screen goes dark when I hit send but never seems to complete the send task! and recover the screen?F

    Hi frank at luray,
    Does this issue occur with any file that you try to send, or do you find that it's specific to one file? If it's a file-specific error, and the file is large, please try sending the file via Adobe SendNow. (You can sign in to Adobe SendNow at Sign in or create an account | Adobe SendNow using the same credentials you use to sign in to Adobe Send.)
    Please let us know how it goes.
    Best,
    Sara

  • Hi Trying to download CS5 Design Premium. We have a copy on the Mac and want to put a second copy on the Macbook pro. Can download the file but when it is clicked the file give an error message "User access denied" and dumps the download. So hence I do no

    Hi Trying to download CS5 Design Premium. We have a copy on the Mac and want to put a second copy on the Macbook pro. Can download the file but when it is clicked the file give an error message "User access denied" and dumps the download. So hence I do not get an installation screen or a chance to enter the Licence no.

    Use another browser.
    Mylenium

  • I have bought film, and now I cannot load it. Loading is completed, then I see a message about checking (?), and then the loading starts again. I need help:(

    I have bought a  film, and now I cannot load it. Loading is completed, then I see a message about processing (?), and then the loading starts again. I need help:(

    Thank you so much, Brennen!!!!!! I have downloaded this film after rebooting iPad and after deleting film and re-loading it!!!!!

  • How do I create a 1d array that takes a single calculation and insert the result into the first row and then the next calculation the next time the loop passes that point and puts the results in thsecond row and so on until the loop is exited.

    The attached file is work inprogress, with some dummy data sp that I can test it out without having to connect to equipment.
    The second tab is the one that I am having the problem with. the output array from the replace element appears to be starting at the index position of 1 rather than 0 but that is ok it is still show that the new data is placed in incrementing element locations. However the main array that I am trying to build that is suppose to take each new calculation and place it in the next index(row) does not ap
    pear to be working or at least I am not getting any indication on the inidcator.
    Basically what I am attempting to do is is gather some pulses from adevice for a minute, place the results for a calculation, so that it displays then do the same again the next minute, but put these result in the next row and so on until the specifiied time has expired and the loop exits. I need to have all results displayed and keep building the array(display until, the end of the test)Eventually I will have to include a min max section that displays the min and max values calculated, but that should be easy with the min max function.Actually I thought this should have been easy but, I gues I can not see the forest through the trees. Can any one help to slear this up for me.
    Attachments:
    regulation_tester_7_loops.vi ‏244 KB

    I didn't really have time to dig in and understand your program in depth,
    but I have a few tips for you that might things a bit easier:
    - You use local variables excessively which really complicates things. Try
    not to use them and it will make your life easier.
    - If you flowchart the design (very similar to a dataflow diagram, keep in
    mind!) you want to gather data, calculate a value from that data, store the
    calculation in an array, and loop while the time is in a certain range. So
    theres really not much need for a sequence as long as you get rid of the
    local variables (sequences also complicate things)
    - You loop again if timepassed+1 is still less than some constant. Rather
    than messing with locals it seems so much easier to use a shiftregister (if
    absolutely necessary) or in this case base it upon the number of iterations
    of the loop. In this case it looks like "time passed" is the same thing as
    the number of loop iterations, but I didn't check closely. There's an i
    terminal in your whileloop to read for the number of iterations.
    - After having simplified your design by eliminating unnecessary sequence
    and local variables, you should be able to draw out the labview diagram.
    Don't try to use the "insert into array" vis since theres no need. Each
    iteration of your loop calculates a number which goes into the next position
    of the array right? Pass your result outside the loop, and enable indexing
    on the terminal so Labview automatically generates the array for you. If
    your calculation is a function of previous data, then use a shift register
    to keep previous values around.
    I wish you luck. Post again if you have any questions. Without a more
    detailed understanding of your task at hand it's kind of hard to post actual
    code suggestions for you.
    -joey
    "nelsons" wrote in message
    news:[email protected]...
    > how do I create a 1d array that takes a single calculation and insert
    > the result into the first row and then the next calculation the next
    > time the loop passes that point and puts the results in thsecond row
    > and so on until the loop is exited.
    >
    > The attached file is work inprogress, with some dummy data sp that I
    > can test it out without having to connect to equipment.
    > The second tab is the one that I am having the problem with. the
    > output array from the replace element appears to be starting at the
    > index position of 1 rather than 0 but that is ok it is still show that
    > the new data is placed in incrementing element locations. However the
    > main array that I am trying to build that is suppose to take each new
    > calculation and place it in the next index(row) does not appear to be
    > working or at least I am not getting any indication on the inidcator.
    >
    > Basically what I am attempting to do is is gather some pulses from
    > adevice for a minute, place the results for a calculation, so that it
    > displays then do the same again the next minute, but put these result
    > in the next row and so on until the specifiied time has expired and
    > the loop exits. I need to have all results displayed and keep building
    > the array(display until, the end of the test)Eventually I will have to
    > include a min max section that displays the min and max values
    > calculated, but that should be easy with the min max function.Actually
    > I thought this should have been easy but, I gues I can not see the
    > forest through the trees. Can any one help to slear this up for me.

  • How to convert Smart Form into PDF format and return the result in BAPI?

    I want to convert a Smart Form into PDF format and return the result in BAPI.
    can anyone tell me how it can be done with related example
    regards
    pranay

    hi,
    smart form to pdf--
    All you have to do is call your SF to get OTF and then concert it to PDF. Works like charm:
    DATA: p_output_options TYPE ssfcompop,
    p_control_parameters TYPE ssfctrlop.
    p_control_parameters-no_dialog = 'X'.
    p_control_parameters-getotf = 'X'.
    CALL FUNCTION v_func_name "call your smartform
    EXPORTING
    output_options = p_output_options
    control_parameters = p_control_parameters
    IMPORTING
    job_output_info = s_job_output_info.
    call function 'CONVERT_OTF_2_PDF'
    tables
    otf = s_job_output_info-otfdata
    lines = t_pdf
    and if u need more u can check below links also
    Check the below links..
    Re: Smartforms to PDF
    Re: smartform (otf) as pdf and sending as email-attachment
    VISIT THIS LINK
    Re: Smartforms to PDF
    PLZ REWARD POINTS IF IT HELPS YOU
    rgds
    anver

  • I would like to build a drag n drop interface and have the results sent to my email in PDF format. Is this possible?

    I would like to build a drag n drop interface and have the results sent to my email in PDF format. Is this possible?

    Captivate is not really designed to do what you want in this instance.  It's more targeted at allowing a user to complete an assessment and then track whether or not they passed.  So it's only really set up to send information in a format that the LMS will understand and interpret as Pass/Faill and what the score was.
    You really need something more flexible than that. So I think you would need to get a programmer involved and have the solution custom made.  In my experience, any time you try to diverge Captivate from what it was designed to do, and you need to get other IT professionals involved, you can kiss thousands of dollars goodbye before you have a workable solution.

  • Indesign server web service - where is the support to upload a file with the script and download the result?

    Hi,
    I am working on a POC that is supposed to convert indd files to pdf (i.e. using of course the indesign server). Basically I want to call the IDS Web Service (located on a different machine perhaps), pass in the input file, the conversion script and retrieve the result as part of the WebService call? 
    Browsing the documentation, examples, etc in the SDK, I couldn't see how the above can be achieved without the client handling the file transfer. Surely I must be missing something ...
    thanks
    Chris

    What do you mean with POC?
    InDesign Server is too precious (i.e. license cost) to waste its time with file transfers.
    For a smaller scale, let a separate process (some http or smb server) on the same server hardware handle the files - so that the InDesign Server can access them on the fastest local volume.
    If you plan for bigger, use a dedicated server for file sharing (your choice of SMB, NFS or whatever), where the input files are prepared by the client process, so that your load balancer can immediately point the next free instance of the InDesign server farm to the file. In that case be prepared for some try and error - high speed file sharing can be tricky with files written from one side not yet visible or incomplete to the other side, locking problems, Unicode file name trouble, unexpected time stamps and so forth.
    Btw, there is also an InDesign Server forum which would be more appropriate for such discussions.
    Dirk

  • Minus and passing the result set

    I have a query in a procedure....let us say "test.prc":
    select A.VALUE from TABLE A
    where A.VALUE_ID = get_rec.VALUE_ID minus
    select B.VALUE from TABLE B
    In the above query, I am passing the "get_rec.VALUE_ID" from a cursor above the query.
    Now is there a way to capture the result set of the above minus operation and pass the result set to the calling sql program (called "call_test.sql")?
    Thanks,
    Chiru
    Message was edited by:
    Megastar_Chiru

    I got what I was trying to do...
    I have 1 more question though....I am printing out my output using dbms package from sql*plus...using the following command
    dbms_output.put_line(nvl('Flex Value set Id : '||get_rec.flex_value_set_id,0)||' values that have no corresponding alias : ' || nvl(v_flex_val,0));
    "get_rec.flex_value_set_id" gets passed in from my cursor above the dbms statement.
    and it looks like below:
    Flex Value set Id : 20118 values that have no corresponding alias : 00
    Flex Value set Id : 20118 values that have no corresponding alias : 10
    Flex Value set Id : 20118 values that have no corresponding alias : 11
    Flex Value set Id : 20118 values that have no corresponding alias : 20
    Flex Value set Id : 20118 values that have no corresponding alias : 30
    Flex Value set Id : 20124 values that have no corresponding alias : Standard
    Is there some way to neatly break when the value set id changes? ...ie., make it print output something like below:
    Flex Value set Id : 20118
    values that have no corresponding alias : 00
    values that have no corresponding alias : 10
    values that have no corresponding alias : 11
    values that have no corresponding alias : 20
    values that have no corresponding alias : 30
    Flex Value set Id : 20124
    values that have no corresponding alias : Standard
    Thanks,
    Chiru

  • Ping a SCCM Collection and mail the results

    I would like a make a runbook that take a collection (No hardware scanned for 15 days), ping all computers in the collection and mail the result to me.
    The runbook steps are as followed:
    1) Get Collection Member
    2) Get Computer/IP Status
    3) Send Email
    My problem is now, that I recieved a mail for every computer that answers in ping. This is, I guess, expected behavior, as "Send Email" is trigged every time the "Get IP Status" is a success.
    But how do I collection all results from "Get IP Status" and gather it in 1 mail?
    The flatten option doesnt seem to help here, and the multiple runbooks seems like a overkill solution for such a relative simple task. Is there something I overlooked?
    Thanks!

    Easiest way (in my opinion) would be to use two policies
    Policy One
    1)  Trigger Policy (Set Flatten with your wanted delimiter) 
    2)  Send Email
    Policy Two
    1) Get Collection Member
    2) Get Computer/IP Status
    3) Return Data (one return parameters, add published data from both 'Get Collection Member' and 'Get Computer / IP Status')

  • Waiting for the results and when the results are available show them...

    I have an input page, where the user gives an input. When the user submits this input page, the input is submitted to the server side component which does its processing (which is a time consuming process)....till the results are available i need to show a message that the query is being processed and once the results are available i have to show the results. How do i implement this? How will the page come to know when the query is processed and the results are available? please help..

    j2eeprofessional wrote:
    I have an input page, where the user gives an input. When the user submits this input page, the input is submitted to the server side component which does its processing (which is a time consuming process)....till the results are available i need to show a message that the query is being processed and once the results are available i have to show the results. How do i implement this? How will the page come to know when the query is processed and the results are available? please help..Following is the URL for ajax support.
    [ http://livedemo.exadel.com/richfaces-demo/richfaces/status.jsf?c=status&tab=usage|http://livedemo.exadel.com/richfaces-demo/richfaces/status.jsf?c=status&tab=usage]

Maybe you are looking for