How to merge multiple responses in EBS
Hi Everyone,
I have been currently working on POC where Mediator EBS Service needs invokes multiple Provider ABCS to search for Item in System A and System B.
Result from both the Providers should be combined and should be sent out as one message to the Requester ABCS.
Can this be achieved through Mediator Service ?
Thanks in Adavance
Hi Gerhard,
So in the case of EBF, EBF is not allowed to communicate with either of the ABCS. As per the deisgn flow suggested above, we can orchestrate and invoke both the system EBS and receive the response from Prov A & prov B. Similarly it would merge the results in whatever way and create the final response EBM that is passed back to the ReqABCS.
Here comes my question. Can the EBF send the final response EBM directly to Req ABCS. It should have another mediator to do this rite??
So it should be like as said above,
Req ABCS - EBS(route to EBF) - EBF - EBS1( sys1) - Prov ABCS 1
Req ABCS - EBS(route to EBF) - EBF - EBS2( sys2) - Prov ABCS 2
So Req ABCS-1
Generic EBS - 1 ( to route the EBM to EBF.. This will also get the response EBM back from EBF.)
EBF -1 ( bpel process to orchestrate to multiple EBS)
EBS 1(sys1)
EBS 2(sys2)
Prov ABCS - 2 ( sys1 & sys2)
Do correct me if im wrong.
Regards,
Rahul
Edited by: Rahul Somasundaram on Sep 7, 2010 1:04 AM
Edited by: Rahul Somasundaram on Sep 7, 2010 1:05 AM
Similar Messages
-
HI Forum
I am a newbie to both Acrobat and VB,
Basically a perl Developer,
I have created a application to Merge multiple PDF's into a Single PDF, but the problem I am facing is some pages are missed during Merging
For Example
I have 4 pdf's (1.pdf, 2.pdf, 3.pdf, 4.pdf), each PDF has 2 pages, totally 8 pages,
When i merge using my application, it is getting collapsed and then merged
Here is my Code
<code>
Imports System.IO
Imports Acrobat
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
MergePDF()
End Sub
Sub MergePDF()
Dim gPDDoc1 As AcroPDDoc
Dim gPDDoc2 As AcroPDDoc
Dim gPDDoc3 As AcroPDDoc
Dim gPDDoc4 As AcroPDDoc
gPDDoc1 = CreateObject("AcroExch.PDDoc")
gPDDoc2 = CreateObject("AcroExch.PDDoc")
gPDDoc3 = CreateObject("AcroExch.PDDoc")
gPDDoc4 = CreateObject("AcroExch.PDDoc")
Dim chk1 = gPDDoc1.Open("D:\sathish\1.pdf")
Dim chk2 = gPDDoc2.Open("D:\sathish\2.pdf")
Dim chk3 = gPDDoc3.Open("D:\sathish\3.pdf")
Dim chk4 = gPDDoc4.Open("D:\sathish\4.pdf")
Dim mergefile As Boolean
Dim numpg1, numpg2, numpg3, numpg4
numpg1 = gPDDoc1.GetNumPages()
numpg2 = gPDDoc2.GetNumPages()
numpg3 = gPDDoc3.GetNumPages()
numpg4 = gPDDoc4.GetNumPages()
MsgBox(numpg1 & numpg2 & numpg3 & numpg4)
mergefile = gPDDoc1.InsertPages(numpg1 - 1, gPDDoc2, 0, 1, 0)
mergefile = gPDDoc1.InsertPages(numpg2 - 1, gPDDoc3, 0, 1, 0)
mergefile = gPDDoc1.InsertPages(numpg3 - 1, gPDDoc4, 0, 1, 0)
Dim savemergefile As Boolean
savemergefile = gPDDoc1.Save(1, "D:\sathish\merged.pdf")
End Sub
End Class
</code>
I Dont know how to give the correct page end to merge,
Thanks in Advance for your Kind replies,
Thanks & Regards
Sathish V.Great idea. do you have example code? I found some code but it its contingent upon the pages having a page number on them. the pdfs im dealing with have no page numbers on the pages. also this code deletes pages in a range. I need to delete all other pages except for the page numbers on the range. thanks! Option Explicit Sub Delete_PDF_Pages() ' Adobe code based on http://vbcity.com/forums/t/51200.aspx Dim xMsg As String Dim xInput As String Dim xOutput As String Dim xResponse As Long Dim xLast_Row As Long Dim xErrors As Long Dim xDeleted As Long Dim i As Long Dim j As Long Dim AcroApp As CAcroApp Dim AcroPDDoc As CAcroPDDoc Dim AcroHiliteList As CAcroHiliteList Dim AcroTextSelect As CAcroPDTextSelect Dim xarray() As Variant Dim PageNumber As Variant Dim PageContent As Variant Dim xContent As Variant xInput = "C:\Users\jaime\Desktop\Granado LLC\test\TestPages.pdf" xOutput = "C:\Users\jaime\Desktop\Granado LLC\test\TestPages_Output.pdf" xLast_Row = [A1].SpecialCells(xlLastCell).Row ReDim xarray(xLast_Row) xResponse = MsgBox("About to delete all pages which contain values from the range A1:A" & xLast_Row & Chr(10) _ & Chr(10) & "Input:" & Chr(9) & xInput _ & Chr(10) & "Output:" & Chr(9) & xOutput _ & Chr(10) & Chr(10) & "('OK' to continue, 'Cancel' to quit.)", vbOKCancel, "Delete Pages") If xResponse = 2 Then MsgBox "User chose not to continue. Run terminated." Exit Sub End If ' Files and data OK? If Dir(xInput) = "" Then xMsg = "Input file not found - " & xInput & Chr(10) If Dir(xOutput) <> "" Then xMsg = "Output file exists - " & xOutput & Chr(10) xarray = Application.Transpose(Range("A1:A" & xLast_Row)) For i = 1 To xLast_Row If Not IsNumeric(xarray(i)) Or xarray(i) = "" Then xMsg = "Non-numeric ""Delete"" value of """ & xarray(i) & """ found on row " & i & Chr(10) Exit For End If Next If xMsg <> "" Then MsgBox (xMsg & Chr(10) & "Run cancelled.") Exit Sub End If ' Open the PDF... Set AcroApp = CreateObject("AcroExch.App") Set AcroPDDoc = CreateObject("AcroExch.PDDoc") If AcroPDDoc.Open(xInput) <> True Then MsgBox (xInput & " couldn't be opened - run cancelled.") Exit Sub End If ' Read each page... For i = AcroPDDoc.GetNumPages - 1 To 0 Step -1 Set PageNumber = AcroPDDoc.AcquirePage(i) Set PageContent = CreateObject("AcroExch.HiliteList") 'Get up to 9,999 words from page... If PageContent.Add(0, 9999) <> True Then Debug.Print "Add Error on Page " & i + 1 xErrors = xErrors + 1 Else Set AcroTextSelect = PageNumber.CreatePageHilite(PageContent) If Not AcroTextSelect Is Nothing Then xContent = "" For j = 0 To AcroTextSelect.GetNumText - 1 xContent = xContent & AcroTextSelect.GetText(j) Next j For j = 1 To xLast_Row If InStr(1, xContent, xarray(j)) > 0 Then Debug.Print "Page " & i + 1 & " contains " & xarray(j) & " - " & xContent ' To avoid problems with the delete... Set AcroTextSelect = Nothing Set PageContent = Nothing Set PageNumber = Nothing If AcroPDDoc.DeletePages(i, i) = False Then MsgBox ("Error deleting page " & i + 1 & " - run cancelled.") Exit Sub End If xDeleted = xDeleted + 1 Exit For End If Next End If End If Next i If AcroPDDoc.Save(PDSaveFull, xOutput) = False Then MsgBox "Cannot save the modified document" Exit Sub Else MsgBox (xDeleted & " pages deleted. (" & xErrors & " errors.)") End If AcroPDDoc.Close AcroApp.Exit End Sub
-
How to merge multiple XML or Text documents into 1 Word Document?
Hi all,
We're looking for a way to merge multiple XML or Text documents into 1 Word document.
All the XML or Text documents are oriented as a 'Paragraph', meaning smaller pieces of text.
By selecting some of these XML documents, the system should be able to create a new Word document with all the selected text paragraphs included.
The Word document can then be edited for applying a correct lay-out and the document is ready.
Actually, we are trying to do some kind of 'mail merge' but with multiple XML or Text documents!
Has anybody an idea whether something exist already or give us a direction how to proceed?
Thanks in advance,
Pascal DecockYou use Assembler for this purpose.
1) Assembler can be accessed through LC Java API. See http://help.adobe.com/en_US/enterpriseplatform/10.0/programLC/help/index.html
API Quick Starts (Code Examples) > Assembler Service API Quick Starts
2) Last week I posted on generating and merging PDF's from PostScript. Take a look at the assembly service instance in the .lca. Assembler uses DDX (Document Description XML) to describe document construction. NOTE the .lca was developed with ES 3 (aka ADEP). The .lca It contains the most basic DDX.
<?xml version="1.0" encoding="UTF-8"?>
<DDX xmlns="http://ns.adobe.com/DDX/1.0/">
<PDF result="out.pdf">
<PDF source="inDoc1"/>
<PDF source="inDoc2"/>
</PDF>
</DDX>
http://forums.adobe.com/message/4019760#4019760
DDX Reference at http://help.adobe.com/en_US/livecycle/9.0/ddxRef.pdf
Steve -
How to merge multiple live audio streams into a single stream in FMS?
I need to merge multiple live audio streams into a single stream so that i can pass this stream as input to VOIP through a softphone.
For this i tried the following approach:
Created a new stream (str1) on FMS onAppStart and recorded the live streams (sent throgh microphone) in that new stream.
Below is the code :
application.onAppStart = function()
application.myStream=Stream.get("foo");
application.myStream.record();
application.onPublish = function (client,stream)
var streamName = stream.name;
application.myStream.play(streamName,-2,-1};
The problem is that the Stream.play plays only 1 live stream at a time.As soon as a the 2nd live stream is sent to FMS then Stream.play stops playing the previous live stream.So,only the latest live stream is getting recorded.Whereas i need to record all the live streams in the new stream simultaneously.
Any pointers regarding this are welcome.
Thankswell i tried this once for one of my scripts and the final conclusion is its not possible to combine two streams into 1.....how would you time/encode the two voices......there is no know solution to this in flash. If you continue on despite me and find a solution please post it so we can explain to rest of world.
-
How to merge multiple spools in one PDF
hi all,
i have a requirement to merge multiple spools into one PDF.
I have the code to merge 2 spools into one PDF but acc to my requirement this number can be any( say 100). hence i need help to merge N number of spools in one PDF.
Regards
geeta guptaTake the data of all spools into a internal table then create a new spool with this data then downlad this data into pdf format.
By this method you can download any number of spools into a single pdf file. Please see the below code
Fetch spool number
Select rqident from tsp01 into table g_t_data
where...............
Read sool data and take this data into a internal table
Loop at g_t_data.
Call program to read spool as follows
SUBMIT rspolst2 EXPORTING LIST TO MEMORY AND RETURN
WITH rqident = g_t_data-rqident
WITH first = '1'
Read memory where spool data is stored
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
listobject = mem_tab
Convert spool data to Ascii
IF NOT mem_tab[] IS INITIAL.
CALL FUNCTION 'LIST_TO_ASCI'
EXPORTING
list_index = -1
TABLES
listasci = g_t_text1(table type c length 10000)
listobject = mem_tab(LIKE TABLE OF abaplist)
APPEND LINES OF g_t_text1 TO g_t_text.
ENDIF.
ENDLOOP.
Create new spool with internal table data
NEW-PAGE PRINT ON
KEEP IN SPOOL l_keep(variable type c default u2018Xu2019)
LINE-SIZE 300
LIST NAME l_list (variable(30) TYPE c default 'combined_pdf')
NO DIALOG.
LOOP AT g_t_text.
WRITE: g_t_text-data.
ENDLOOP.
NEW-PAGE PRINT OFF.
COMMIT WORK.
Fetch this spool number from TSP01
SELECT rqident rqcretime FROM tsp01 INTO TABLE l_t_pdf(internal table having two fields rqident LIKE tsp01-rqident and rqcretime LIKE tsp01-rqcretime)
WHERE rqowner = sy-uname AND
rq2name = 'COMBINED_PDF'.
Download spool data into pdf format
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = l_t_pdf-rqident
IMPORTING
pdf_bytecount = l_size(variable type i)
TABLES
pdf = g_pdf(table like table of tline)
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
bin_filesize = l_size "size
filename = l_data
filetype = 'BIN'
TABLES
data_tab = g_pdf.
Hope this will help you. -
I'm searching solutions to merge multiple documents (all stored in one folder) via command line or batch file to a single PDF-File...
Is there a way to do this?
Finaly I want to control this from a application written in MS-Access. So, perhaps there are some features already integrated in Access to do this?
Thanks for answer!If you have some programming experience you could probably do this using VBA from within MS Access to control Acrobat via OLE.
Lots of examples on the Web.
Hope this helps -
How to merge multiple PDFs and display in a new window
Hi,
I'm trying to merge multiple PDFs into one PDF and display the output in a new window using PeopleCode. I have a button on a page, which when clicked should open a new window with the merged PDFs. I am able to succussfully merge the PDFs using the PDFmerger class (mergePDFs) but unable to display the result in a new window.
Please help.Thanks.
I also found this piece of code very helpful.
Local PSXP_RPTDEFNMANAGER:Utility &oUtil;
Local boolean &bRtn;
/* send the output to client */
/* &sFileName = the file path /file_name.extension */
&oUtil = create PSXP_RPTDEFNMANAGER:Utility();
&bRtn = &oUtil.zipAndViewAttachment(&sFileName);
Edited by: user8260115 on Sep 9, 2009 4:57 PM -
How to Merge Multiple Calendars?
Somehow I have managed to end up with 11 different iCloud calendars. I would like to merge them to one or two calendars. I tried deleting the calendar but then I get a message saying if I delete the calendar, all of the events associated with that calendar will be deleted, which I don't want to do. Suggestions?
I think that as a result of the multiple calendars, I have multiple holidays showing up on my calendar. For example, St. Patricks days shows up twice. This clogs up my calendar with unnecessary events. How to I reduce the holidays to one?Thanks for the response, but it now has created a bigger problem. I was able to follow your instructions on two of the calendars and it worked well. However, on the third calendar, in importing the exporting ics file into the calendar I want to keep I get the following error:
"The server responded with an error. The event "xxx event" was rejected by "iCloud" because it already exists".
I then get three options:
1) Ignore
2) Try Again (The same error message occurs)
3) Revert to Server (I have no idea what this means - but when I click it, nothing seems to happen)
There doesn't seem to be a way to get out of this import activity and error messages. I have to Force Quit the program to stop. I have tried restarting the computer and the same thing occurs. Now I can't use iCal (although if I go into my iCloud calendar on Safari - that works).
I suppose I could continue to click on Ignore and eventually it would go through all of the duplicate entries. However, there is probably 10 to 15 years of entries. There could thousands if not tens of thousands of entries.
Any suggestions? Maybe I will sit down for a long movie and click on "Ignore" several thousand times and that will solve the problem! -
How to agregate multiple response messages into one output message
Hello,
My issue is to send a request to a webservice, and as response i got a message with maximum 100 records. Then if there is more records to retrieve i will have to re send a request in order to have the remaining records until there is no records to retrieve.
So how can i send back in the end of the loop only one output messsage with all records retrieved ?
Thank's for all.Hi Aheriz,
If I understand correctly, you can receive a response from webservice with maximum 100 records in it and if there are more records against the request you sent, then you will have to call the webservice again. How do you decide if there are more records?
Do you get it in some field present in response?
So you can decide based on it whether to make another call/multiple call to webservice (the loop condition depends on number of records left/100). And about sending one output, you have to aggregate and for that you can use send pipeline .
Sample is available in the SDK Folder under Pipelines/Aggregator:https://msdn.microsoft.com/en-us/library/aa561747.aspx
Maheshkumar
S Tiwari|User
Page|Blog|Good
to know for every BizTalk Developer -
All,
I have recently started working on XML publisher and have developed 3 reports in last 2 days using XML Publisher and integrating them with Concurrent programs.
This is a great tool.
I have got another requirement, where i need to use xml file generated by multiple run of same report with various parameters and then merge all xml file to a single report. Developing the whole custom process will take very long time and sure will have bugs in it. Instead i was thinking to use xml file generated by Oracle report itself.
Report "US Gross to net summary" generates xml output in standard output directory and then show output in PDF file. I have 7 such file generated for each payroll. I want to merge output of xml into a single xml so that i can create single report having data from all 7 xml files showing me All payroll output in a single report.
Can someone please guide me , how can i read xml file data from the output directory of a seeded concurrent program and how to manipulate data in it.
Thanks
AnkurHi Tim,
Thanks for replying. I have looked for "PDFBookBinder class" in xml publisher user guide for ver 5.6.2. I didn't get any reference of this text. Can you please guide me to a tutorial/link where i can get more information about this class.
Also, i originally thought of similar to your second logic, as my design basis. Oracle process generates the xml file in output directory which i can get. What i didn't get is how do i "pick them up and merge" using publisher. Also, is there way to do this merging process using pl/sql ? Can you please give little more information on your second approach.
My original plan of action is that i will create a report set in which i will call oracle seeded report for all 7 payrolls in a sequential manner. Then using the child requests of the report set i will get to 7 xml files generated by seeded oracle process. Then the piece i am not sure of , i will use those 7 files to generate a single xml file having payroll name as tree top for each output. Once single xml is ready, i can easily design a template and register the process to generate output as Excel.This process will not require me to actually change any data or do any calculation. It will only reformatting the feilds we see and abiity to see all 7 payroll at one time rather then entering these numbers manually into an excel to do analysis.
Please provide your feedback, if you think above plan is not feasible or need corrections.
Best Regards,
Ankur -
How to merge multiple iPhoto libraries on one Mac
When I (option+click) on iPhoto I see 3 libraries to choose from. I don't know how I got them but I want to merge all 3 into a single library. How do I do that? I downloaded iPhoto library manager already but from there I am lost.
You'll need to purchase it.
Then check the instructions here - 6.4...
http://www.fatcatsoftware.com/iplm/Help/table%20of%20contents.html -
How to handle multiple responses in Receiver Mail adapter?
Hello,
I have a scenario where I get n number of responses which has to be sent as an email.
My response looks like this -
<Response>
<Status/>
<Text>TEST 1</Text>
</Response>
<Response>
<Status/>
<Text>TEST 2</Text>
</Response>
Please let me know if there is any way to send this response as email.
ThanksHello,
Check below mapping and change it as per ur source (response) and target (content) fields.
Note - In below mapping i have used return as xml functionality on Record node, u have to use the same on ur source field.
After implementing above mapping, just execute ur E2E scenario and check how content is getting generated in ur mail?
Thanks
Amit Srivastava -
How to merge multiple MobileMe calendars?
(1) I have several calendars on MobileMe that I want to consolidate into one calendar. How do I do that?
(2) Everytime I delete the local "calendar" it reappears when I sync my iPhone with iTunes. This presents a problem when I create a new event because that event defaults to the local calendar instead of my first MobileMe calendar. Then this new event lives on my iMac but never sync's to MobileMe.
(3) I don't want to lose any of the events I have in my different calendars during this process.
To summarize: I want to get rid of the local calendars, consolidate the MobileMe calendars into one & not lose my events. I want to end up with one MobileMe calendar for all my events (which will evenually roll over to the iCloud service). Thanks for any suggestions & help.kporterjr,
(1) I have several calendars on MobileMe that I want to consolidate into one calendar. How do I do that?
Use MobileMe: How to back up calendar data using MobileMe Calendar for help in backing up and restoring MobileMe calendar data.
After the data is backed up, you can then restore each calendar into one new consolidated calendar.
(2) Everytime I delete the local "calendar" it reappears when I sync my iPhone with iTunes. This presents a problem when I create a new event because that event defaults to the local calendar instead of my first MobileMe calendar. Then this new event lives on my iMac but never sync's to MobileMe.
You appear to be using iTunes for syncing. Make sure that your iPhone is set up to use MobileMe sync: Apple - MobileMe - Set Up MobileMe.
I want to get rid of the local calendars, consolidate the MobileMe calendars into one & not lose my events. I want to end up with one MobileMe calendar for all my events (which will evenually roll over to the iCloud service).
Be sure to use iCal>File>Export...>Export for each one of your "On My Mac" calendars. The exported copies will allow you to preserve your data and import that data into a new calendar. After successful import into a new calendar you can delete the "On My Mac" calendars. -
How to merge multiple files into one pdf
I would like help with this task. If I could do this for free I woul actually be more likely to follow advice. Many thanks
Hi Lauravill,
The free Adobe Reader cannot help you with the merging job. If you have Acrobat Reader then you can merge files into one pdf with the following steps-
Within Acrobat XI, select File > Create > Combine Files into a Single PDF.
Click Add Files and select the files you want to add.
Click, drag, and drop to reorder the files and pages. Double-click on a file to expand and rearrange individual pages. Press the Delete key to remove unwanted content.
When finished arranging the files, click Combine Files.
Select File > Save As > PDF.
Name your PDF file and click Save.
Let us know if you face any problemwith this or need extra support.
Thanks
-Satyadev -
How to merge multiple datasets in reporting services
we are having difficulty in developing a report because the dataset we needed for the report is coming from 2 separate stored procedure. these 2 stored procedure are returninga single table each, and we need 5 columns in the first table and 4 columns from
the second table, and present these 9 fields into a table in the report.
To give an illustration, let's say that my first stored procedure returns the following 5 fields from the customer table: first name, last name, address, email, phone. While, the second stored procedure returns the following 4 fields from the orders table:
item name, quantity, unit price, discount. The two tables are related by customer_id field which is present in both tables. Customer table has a one to many relationship with orders table.
This could have been easily implemented by using an inner join and writing a sql query. However, due to business requirements we need to generate the report using the 2 stored procedure mentioned. Please let me know if there is any workaround for this. We
are using SSRS 2012. Many Thanks in advanceI can see 2 ways of achieving this.
1. Using LookupSet function for 1:N relationship.
Refer
http://www.bidn.com/blogs/DustinRyan/bidn-blog/2037/lookup-and-lookupset-functions-new-in-ssrs-2008-r2
Refer http://technet.microsoft.com/en-us/library/ee240819.aspx
2. Working with both stored procedure and creating a new dataset. For example, Create temp tables and then,
INSERT INTO #Table1 EXEC PROC1
INSERT INTO #Table2 EXEC PROC2
SELECT * FROM #Table1 A INNER JOIN #Table2 B ON A.CustomerID = B.CustomerID
Refer
http://stackoverflow.com/questions/12621469/sql-server-insert-stored-procedure-results-into-table-based-on-parameters
Regards, RSingh
Maybe you are looking for
-
Receiver File Adapter Content Conversion Problem.
Hi All, I am getting in receiver file adapter due to content conversion setting. Problem is that all the fields coming in file adapter are optional. In content conversion , i have specified fieldfixedlengths. So whenever any optional field is not pre
-
Flat File IDOC - ECC, segment defn x in IDoc type y CIM type do not exist
Hi, I'm working on idoc flat file > sap scenario. Everything seems to be working up until the point where I get an error message: EDISDEF: Port EDIPORT segment defn E2FINBU000 in IDoc type FIDCCP01 CIM type do not exist I've loaded the meta data, a
-
Hello, I am trying to accomplish something like shown in the picture. I know that I cannot group indicators and controls into single cluster. But can someone give me a workaround so that I can accomplish this. Even in my UI they need
-
URGENT: JEditorPane (a Java Browser) displaying HTML form
Hi, I am using JEditorPane to display the wb pages but geeting problem as I don't get any kind of event when I click on the HTML form SUBMIT button though it does work but didn't allow me to get the URL of the new page that I got after hitting this S
-
Post Author: jasonp1980 CA Forum: Data Connectivity and SQL I am currently using a ODBC driver provided by Esker to link into an IBM Informix Database 4.2When compiling a link in Crystal the SQL for this comes out as shown bellow with a syntax error.