Home » Fusion Middleware & Colab Suite » SOA Suite, BPEL and OWSM » Merging sub elements inside multiple xml files (Jdeveloper Jdev
Merging sub elements inside multiple xml files [message #621667] Fri, 15 August 2014 12:17
Messages: 1
Registered: August 2014
Location: washington dc
Junior Member
Hi All, I'm new to SOA/BPEL(Jdev I need to read N number of input xml files,
merge the sub elements inside the input xml files and write to an output xml file.
My bpel process is something like this:

1.receive activity (numberOfInputFiles = N)
2a.while not done processing N number of input files
2b.receive activity input xml file location
2c. fileAdapterRead input xml file
2d. do something to merge sub elements inside input file
3. fileAdapterWrite final merged output file

I found some suggestions for step 2d:

a. Use AppendXML parameter + File Adapter
b. Create a variable, read content of input xml file into this variable,
perform xslt to merge the input files
c. Merge the xml files with java, via WS, perform the merging

Can anyone give suggestion with more details since I'm new to SOA/BPEL?
My input xml files could be very big in size (gigabytes).
Would this cause any performance/out-of-memory issue for
method a. or b. above?

thanks in advance
Previous Topic: Compilation error: composite.xml: error: java.lang.NoSuchFieldError: TENANAT_JVM_PROPERTY
Next Topic: Web Service Not Working
Goto Forum:

Current Time: Wed Jun 19 10:02:19 CDT 2024