Debatching

My input text file is as follows :
13120000117A|20140623|03-01-2014 TO 04-30-2014|1100_20047|ZTAD1|ZNA590|700355|1100_20047||04-12-2014|USD|21.25|CARD
13120000117B|20140623|03-01-2014 TO 04-30-2014|1100_20047|ZTAD1|ZNA590|700355|1100_20047||04-12-2014|USD|21.25|CASH
13120000117A|20140623|03-01-2014 TO 04-30-2014|1100_20047|ZTAD1|ZNA590|700355|1100_20047||04-12-2014|USD|21.25|CASH
I want this output after debatching :
One message for 13120000117A and one messge for 13120000117B.
When I debatch through flat file schema , I am getting three message :
two message for 13120000117A and one message for 13120000117B.
My condition is that if the value of first element is same in the entire flat file then it will create a single message for all ,otherwise it will create different message.
For grouping first element, I applied Muenchian Grouping and it is working fine.The main issue occures in debatching .
I have done the following things in my scenario :
First of all, my text file is converted into a another schema (let B)with the help of mapping where I used Muenchian Grouping in custom xslt then I map Schema B to IDOC. Its all working fine.
How can I solve this issue ?
Thanks in Advance.
Prakash

Oh sorry this is my mistake.Ref docNo 13120000117C is not coming in the output of muchain. 
this is my input file :
13120000117A|6/23/2014|3/1/2014 to 4/30/2014|1100_20047|ZTAD1|ZNA590|700355|1100_20047||4/12/2014|USD|21.25|CARD
13120000117A|6/23/2014|3/1/2014 to 4/30/2014|1100_20047|ZTAD1|ZNA590|700355|1100_20047||4/12/2014|USD|21.25|CASH
13120000117B|6/23/2014|3/1/2014 to 4/30/2014|1100_20047|ZTAD1|ZNA590|700355|1100_20047||4/12/2014|USD|21.25|CASH
and this is the output of my  muchian
method :
  <?xml version="1.0" encoding="utf-8"
?>
<ns0:Send xmlns:ns0="http://Interplx.DestinationSchema">
<IdocData>
<CHEO9>
  <CompCode>1100_20047</CompCode>
  <DocDate>6/23/2014</DocDate>
  <RefDocNo>13120000117A</RefDocNo>
  </CHEO9>
<GL09>
  <GLAccount>700355</GLAccount>
  <TracsactionDate>4/12/2014</TracsactionDate>
  <CostCenter>1100_20047</CostCenter>
  <WBSElement
/>
  <Assisgmnet>CARD</Assisgmnet>
  <ItemNos>2</ItemNos>
  </GL09>
<GL09>
  <GLAccount>700355</GLAccount>
  <TracsactionDate>4/12/2014</TracsactionDate>
  <CostCenter>1100_20047</CostCenter>
  <WBSElement
/>
  <Assisgmnet>CASH</Assisgmnet>
  <ItemNos>3</ItemNos>
  </GL09>
<AP09>
  <EmpID>ZTAD1</EmpID>
  <VendorNo>ZNA590</VendorNo>
  </AP09>
<ACCR09>
  <CurrencyISO>USD</CurrencyISO>
  <Amt_Doccur>21.25</Amt_Doccur>
  </ACCR09>
<ACCR09>
  <CurrencyISO>USD</CurrencyISO>
  <Amt_Doccur>21.25</Amt_Doccur>
  </ACCR09>
  </IdocData>
<IdocData>
<CHEO9>
  <CompCode>1100_20047</CompCode>
  <DocDate>6/23/2014</DocDate>
  <RefDocNo>13120000117B</RefDocNo>
  </CHEO9>
<GL09>
  <GLAccount>700355</GLAccount>
  <TracsactionDate>4/12/2014</TracsactionDate>
  <CostCenter>1100_20047</CostCenter>
  <WBSElement
/>
  <Assisgmnet>CASH</Assisgmnet>
  <ItemNos>2</ItemNos>
  </GL09>
<AP09>
  <EmpID>ZTAD1</EmpID>
  <VendorNo>ZNA590</VendorNo>
  </AP09>
<ACCR09>
  <CurrencyISO>USD</CurrencyISO>
  <Amt_Doccur>21.25</Amt_Doccur>
  </ACCR09>
  </IdocData>
 </ns0:Send>
But after performing flat file debatching , I got three message as follows:
Ist msg:
  <?xml version="1.0" encoding="utf-8"
?>
<ns0:Send xmlns:ns0="http://Interplx.DestinationSchema">
<IdocData>
<CHEO9>
  <CompCode>1100_20047</CompCode>
  <DocDate>6/23/2014</DocDate>
  <RefDocNo>13120000117B</RefDocNo>
  </CHEO9>
<GL09>
  <GLAccount>700355</GLAccount>
  <TracsactionDate>4/12/2014</TracsactionDate>
  <CostCenter>1100_20047</CostCenter>
  <WBSElement
/>
  <Assisgmnet>CASH</Assisgmnet>
  <ItemNos>2</ItemNos>
  </GL09>
<AP09>
  <EmpID>ZTAD1</EmpID>
  <VendorNo>ZNA590</VendorNo>
  </AP09>
<ACCR09>
  <CurrencyISO>USD</CurrencyISO>
  <Amt_Doccur>21.25</Amt_Doccur>
  </ACCR09>
  </IdocData>
 </ns0:Send>
2nd msg:
  <?xml version="1.0" encoding="utf-8"
?>
<ns0:Send xmlns:ns0="http://Interplx.DestinationSchema">
<IdocData>
<CHEO9>
  <CompCode>1100_20047</CompCode>
  <DocDate>6/23/2014</DocDate>
  <RefDocNo>13120000117A</RefDocNo>
  </CHEO9>
<GL09>
  <GLAccount>700355</GLAccount>
  <TracsactionDate>4/12/2014</TracsactionDate>
  <CostCenter>1100_20047</CostCenter>
  <WBSElement
/>
  <Assisgmnet>CASH</Assisgmnet>
  <ItemNos>2</ItemNos>
  </GL09>
<AP09>
  <EmpID>ZTAD1</EmpID>
  <VendorNo>ZNA590</VendorNo>
  </AP09>
<ACCR09>
  <CurrencyISO>USD</CurrencyISO>
  <Amt_Doccur>21.25</Amt_Doccur>
  </ACCR09>
  </IdocData>
 </ns0:Send>
3rd msg:
  <?xml version="1.0" encoding="utf-8"
?>
<ns0:Send xmlns:ns0="http://Interplx.DestinationSchema">
<IdocData>
<CHEO9>
  <CompCode>1100_20047</CompCode>
  <DocDate>6/23/2014</DocDate>
  <RefDocNo>13120000117A</RefDocNo>
  </CHEO9>
<GL09>
  <GLAccount>700355</GLAccount>
  <TracsactionDate>4/12/2014</TracsactionDate>
  <CostCenter>1100_20047</CostCenter>
  <WBSElement
/>
  <Assisgmnet>CARD</Assisgmnet>
  <ItemNos>2</ItemNos>
  </GL09>
<AP09>
  <EmpID>ZTAD1</EmpID>
  <VendorNo>ZNA590</VendorNo>
  </AP09>
<ACCR09>
  <CurrencyISO>USD</CurrencyISO>
  <Amt_Doccur>21.25</Amt_Doccur>
  </ACCR09>
  </IdocData>
 </ns0:Send>
Please give me how can I get two message ? One
for 13120000117A(Ref
Doc No) and other for 13120000117B(Ref
Doc No).
Prakash

Similar Messages

  • File Adapter with Debatching

    Hi All
    We are using File Adapter in debatching mode for processing of large files.
    Once all records are processed we need to move the processed file from one location to another on same machine.
    But in case of debatching multiple BPEL theads are processing same file. so how do we know we have reached the end of the file and all processing is done so that we can move that file.
    Thanks
    /Mishit

    This should work : http://kr.forums.oracle.com/forums/thread.jspa?threadID=1024912
    /Mishit

  • File Adapter Service debatching issue

    I am experimenting with the ESB to enable an inbound file adapter to read multiple records "debatching" from a file with XML content. I am using a router to pass to another FileAdapter for writing each of the child records to a separate XML file. So basically I am just trying to test reading multiple records from a single XML file and then putting each record in its own separate outbound file. Seems like this should be a pretty simple initial experiment with using the ESB. But when I drop this inbound xml file, it is getting picked up properly, but the entire inbound xml file is not getting split up or debatched into separate XML messages from the file input adapter. My confusion is over how the fileadapter works with files with XML content, I have checked the "Files contain multiple messages" checkbox and indicated batches of "1". So shouldn't this tell the file adapter to process one record from the inbound file at a time, passing it thru the router and ultimately to the outbound file adapter? If so, how does the file adapter know what deliminates each record in the XML file? Here is the inbound xml that I am trying to read/break apart and put each child XML element "service request event" in it's own outbound file. Please advice what I am missing here. I am not so sure that debatching in the File Adapter will work with files including XML content? Or perhaps that is a work around or example that someone has to explain how to do this.
    <?xml version="1.0" encoding="UTF-8"?>
    <ns4:Events xmlns:ns4="http://xmlns.arl.psu.edu/OffboardServicesEvent" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.arl.psu.edu/OffboardServicesEvent Events.xsd">
    <ns4:ServiceRequestEvent>
    <ns4:summary>Planetary over temp test1</ns4:summary>
    <ns4:severity_id>9</ns4:severity_id>
    <ns4:urgency_id>64</ns4:urgency_id>
    <ns4:status>103</ns4:status>
    <ns4:type_id>11124</ns4:type_id>
    <ns4:owner_id>100003631</ns4:owner_id>
    <ns4:current_serial_number>1748AC16206</ns4:current_serial_number>
    <ns4:inventory_item_id>2320011231602</ns4:inventory_item_id>
    <ns4:problem_code>1001R3</ns4:problem_code>
    </ns4:ServiceRequestEvent>
    <ns4:ServiceRequestEvent>
    <ns4:summary>Planetary over temp test2</ns4:summary>
    <ns4:severity_id>9</ns4:severity_id>
    <ns4:urgency_id>64</ns4:urgency_id>
    <ns4:status>103</ns4:status>
    <ns4:type_id>11124</ns4:type_id>
    <ns4:owner_id>100003631</ns4:owner_id>
    <ns4:current_serial_number>1748AC16206</ns4:current_serial_number>
    <ns4:inventory_item_id>2320011231602</ns4:inventory_item_id>
    <ns4:problem_code>1001R3</ns4:problem_code>
    </ns4:ServiceRequestEvent>
    </ns4:Events>
    here is the schema....
    <?xml version="1.0" encoding="UTF-8" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="http://xmlns.arl.psu.edu/OffboardServicesEvent"
    targetNamespace="http://xmlns.arl.psu.edu/OffboardServicesEvent"
    xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
    elementFormDefault="qualified">
    <xsd:element name="ServiceRequestEvent" type="ServiceRequestEventType"/>
    <xsd:element name="Events">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="ServiceRequestEvent" maxOccurs="unbounded"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:complexType name="ServiceRequestEventType">
    <xsd:sequence>
    <xsd:element name="summary" type="xsd:string"/>
    <xsd:element name="severity_id" type="xsd:double"/>
    <xsd:element name="urgency_id" type="xsd:double"/>
    <xsd:element name="status" type="xsd:double"/>
    <xsd:element name="type_id" type="xsd:double"/>
    <xsd:element name="owner_id" type="xsd:double"/>
    <xsd:element name="current_serial_number" type="xsd:string"/>
    <xsd:element name="inventory_item_id" type="xsd:string"/>
    <xsd:element name="problem_code" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    I have been scanning thru the Oracle tutorials and googling, but have not found any examples where a single XML document is debatched via the File adapter in this way.
    Thanks for any help,
    Todd

    I figured it out. I was using 10.1.3.1, which does not support XML debatching -- just flat file debatching. I upgraded to 10.1.3.3 and it works now. Before I did that, however, I followed the instructions here: http://www.oracle.com/technology/products/ias/bpel/pdf/10133technotes.pdf (section: Transferring Large Payloads in Oracle BPEL Process Manager) and downloaded those jarfiles. Perhaps they come with 10.1.3.3, but I did not remove them before I upgraded so I'm not sure if those steps were necessary.

  • File based rejection handling using Debatching

    Hi All,
    I am facing very serious issue while using debatching option in file adapter.
    I am reading file in de-batch mode. When any record is corrupted inside file then entire file is moving to default rejmsgs folder in SOA domain/soa_server1 folder.
    Let say i have total 10 record in files. If record 2,5,and 7 have invalid record then entire message is moving to rejmsgs/process name folder. Because of this case size of the rejmsgs is increased to 20G.
    I request some one to provide me the solution that how can avoid this case and movie only particular invalid record to rejection handler.
    Appreciate for response.
    Regards,
    Tarak.

    Hi Ankit kalanoria,
    Thank you for your response
    As you said i am using debatching mode and in my .Jca file i can see publishsize property value as 1.
    <adapter-config name="ReadRMSinput_file" adapter="File Adapter" wsdlLocation="ReadRMSinput_file.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
      <connection-factory location="eis/FileAdapter" UIincludeWildcard="storetsf*.tsfxml"/>
      <endpoint-activation portType="Read_ptt" operation="Read">
        <activation-spec className="oracle.tip.adapter.file.inbound.FileActivationSpec">
          <property name="DeleteFile" value="false"/>
          <property name="MinimumAge" value="0"/>
          <property name="PhysicalDirectory" value="/u01/textdata/SOADEV/SABAT/TSF2SIM/out"/>
          <property name="Recursive" value="false"/>
          <property name="PublishSize" value="1"/>
          <property name="PollingFrequency" value="10"/>
          <property name="IncludeFiles" value="storetsf.*\.tsfxml"/>
          <property name="UseHeaders" value="false"/>
        </activation-spec>
      </endpoint-activation>
    </adapter-config>XSD which i am using for debatching in fileadapter.
    <xs:schema elementFormDefault="qualified"
               targetNamespace="http://www.oracle.com/RMS/RMStoSIMTransfers/RMStoSIMTransfers.xsd"
               version="1.0"
               xmlns="http://www.oracle.com/RMS/RMStoSIMTransfers/RMStoSIMTransfers.xsd"
               xmlns:retailDoc="http://www.w3.org/2001/XMLSchema"
               xmlns:xs="http://www.w3.org/2001/XMLSchema">
             <xs:element name="Shipments">
              <xs:complexType>
                <xs:sequence>
                 <xs:element minOccurs="1" maxOccurs="unbounded" ref="Shipment" nxsd:uniqueMessageSeparator="${eol}"/>
                  </xs:sequence>
                  </xs:complexType>
                  </xs:element>
                  <xs:element name="Shipment">
                    <xs:complexType>
                      <xs:sequence>
                        <xs:element name="ActualShipDateTime" type="xs:dateTime"/>
                        <xs:element name="BolNumAlpha" type="xs:string"/>
                        <xs:element ref="Carrier" minOccurs="0"/>
                         <xs:element ref="Comments" minOccurs="0"/>
                        <xs:element ref="Customer" minOccurs="0"/>
                        <xs:element name="InternalShipmentNum" type="xs:int"/>
                        <xs:element name="OrderType" type="xs:string"/>
                        <xs:element name="TotalContainers" type="xs:int"/>
                        <xs:element name="TotalLines" type="xs:int"/>
                        <xs:element name="TotalQuantity" type="xs:int"/>
                        <xs:element name="TotalVolume" type="xs:int"/>
                        <xs:element name="TotalWeight" type="xs:int"/>
                        <xs:element name="WeightUm" type="xs:string"/>
                         <xs:element ref="Details" minOccurs="0"/>
                              <xs:element ref="ItemDetails" minOccurs="0"/>
                         <xs:element ref="Containers" minOccurs="0"/>
                         </xs:sequence>
                        </xs:complexType>
                        </xs:element>
                        <xs:element name="Carrier">
                           <xs:complexType>
                            <xs:sequence>
                              <xs:element name="Carrier" type="xs:string"/>
                            </xs:sequence>
                          </xs:complexType>
                        </xs:element>
                        <xs:element name="Comments">
                          <xs:complexType>
                            <xs:sequence>
                              <xs:element name="Comment" minOccurs="0"
                                          maxOccurs="unbounded">
                                <xs:complexType>
                                  <xs:sequence>
                                    <xs:element name="Text" type="xs:string"/>
                                  </xs:sequence>
                                </xs:complexType>
                              </xs:element>
                            </xs:sequence>
                          </xs:complexType>
                        </xs:element>
                        <xs:element name="Customer">
                          <xs:complexType>
                            <xs:sequence>
                              <xs:element name="Customer" type="xs:string"/>
                            </xs:sequence>
                          </xs:complexType>
                        </xs:element>
                        <xs:element name="Details">
                          <xs:complexType>
                            <xs:sequence>
                              <xs:element ref="ShipmentDetail" minOccurs="0"
                                          maxOccurs="unbounded"/>
                               </xs:sequence>
                                </xs:complexType>
                                </xs:element>
                                <xs:element name="ShipmentDetail">
                                 <xs:complexType>
                                  <xs:sequence>
                                    <xs:element name="UserDef1" type="xs:string"/>
                                    <xs:element name="UserDef2" type="xs:string"/>
                                    <xs:element name="UserDef6" type="xs:string"/>
                                    <xs:element name="UserDef5" type="xs:string"/>
                                    <xs:element name="ErpOrder" type="xs:string"/>
                                  </xs:sequence>
                                </xs:complexType>
                              </xs:element>
                             <xs:element name="ItemDetails">
                          <xs:complexType>
                            <xs:sequence>
                              <xs:element ref="ItemDetail" minOccurs="0"
                                          maxOccurs="unbounded"/>
                               </xs:sequence>
                                </xs:complexType>
                                </xs:element>
                                <xs:element name="ItemDetail">
                                 <xs:complexType>
                                  <xs:sequence>
                                    <xs:element name="Item" type="xs:int"/>
                                    <xs:element name="Quantity" type="xs:decimal"/>
                                    </xs:sequence>
                                </xs:complexType>
                              </xs:element>
                        <xs:element name="Containers">
                          <xs:complexType>
                            <xs:sequence>
                              <xs:element ref="ShippingContainer" minOccurs="0"
                                          maxOccurs="unbounded"/>
                                </xs:sequence>
                                </xs:complexType>
                                </xs:element>
                                <xs:element name="ShippingContainer">
                                <xs:complexType>
                                <xs:sequence>
                                    <xs:element name="ContainerId" type="xs:string"/>
                                    <xs:element ref="ContainerDetails" minOccurs="0"/>
                                    <xs:element ref="ContainerType" minOccurs="0"/>                           
                                    <xs:element name="ManifestCarrServiceSymbol"
                                                type="xs:string"/>
                                    <xs:element name="ManifestId" type="xs:string"/>
                                    <xs:element name="TotalFreightCharge"
                                                type="xs:decimal"/>
                                    <xs:element name="TotalFreightDiscount"
                                                type="xs:decimal"/>
                                    <xs:element name="TotalQuantity"
                                                type="xs:decimal"/>
                                    <xs:element name="TotalWeight"
                                                type="xs:decimal"/>
                                    <xs:element name="TrackingNumber"
                                                type="xs:string"/>
                                    <xs:element name="WeightUm" type="xs:string"/>
                                    </xs:sequence>
                                    </xs:complexType>
                                    </xs:element>
                                    <xs:element name="ContainerDetails">
                                    <xs:complexType>
                                    <xs:sequence>
                                    <xs:element ref="ContainerDetail" minOccurs="0" maxOccurs="unbounded"/>
                                    </xs:sequence>
                                    </xs:complexType>
                                    </xs:element>
                                    <xs:element name="ContainerDetail">
                                    <xs:complexType>
                                     <xs:sequence>
                                    <xs:element name="Item" type="xs:int"/>
                                    <xs:element name="Quantity"   type="xs:decimal"/>
                                    </xs:sequence>
                                    </xs:complexType>
                                    </xs:element>
                                    <xs:element name="ContainerType">
                                      <xs:complexType>
                                        <xs:sequence>
                                          <xs:element name="DimensionUm"
                                                      type="xs:string"/>
                                          <xs:element name="Height"
                                                      type="xs:decimal"/>
                                          <xs:element name="Length"
                                                      type="xs:decimal"/>
                                          <xs:element name="MaxWeight"
                                                      type="xs:decimal"/>
                                          <xs:element name="Volume"
                                                      type="xs:decimal"/>
                                          <xs:element name="Weight"
                                                      type="xs:decimal"/>
                                          <xs:element name="Width"
                                                      type="xs:decimal"/>
                                        </xs:sequence>
                                      </xs:complexType>
                                    </xs:element>
                                </xs:schema>After adding the attribute uniqueMessageSeparator, if any record in the xml is invalid then my De-batching process is getting stopped. Could you pls let me know if any thing more i have to define in my xsd in order to avoid stopping debatching mode..

  • File Adapter - Debatching & ChunkedRead

    Hi ,
    Can anybody please tell me what is the difference between File Debatching & ChunkedRead
    in File Adapter . How the error handling mechanism differs in these two .
    Thanks in Advance ..
    Regards,
    Surfraz

    HI,
    please have a look at the documentation
    http://docs.oracle.com/cd/E21764_01/integration.1111/e10231/adptr_file.htm#CACJBIGD --- File Debatching
    http://docs.oracle.com/cd/E21764_01/integration.1111/e10231/adptr_file.htm#BABCFGAB --- File Chunked Read
    Abhinav

  • Debatch Flat File in to XML

    Hi,
    First I Created a Flat file in below format having 3 records. When I Validate Flat File Schema , I can see the XML single xml file generating with 3 records.
    Shakeer,Newyork,US
    Hussain,Chicago,US
    Shahid,Newyork,US
    Later my goal is to split each record and generate each record as a single XML file. I did modifications in my Flat File Schema. After validating Schema it generates a
    single record XML file. Up to now its cool.
    Now I want to apply my modified schema in Existing Application
    in BizTalk console. How to do it?
    When I drop my Flat file in Receive location the I can see my XML file in send location not as a single record XML file but as
    all records in one single file.
    Please help how to resolve it?
    PS.Shakeer Hussain

    Hi Syed,
    Do the following simple steps for your requirement:
    Set “Allow Message Breakup At Infix Root” to “Yes” by selecting “Schema”
    Set “Max Occurs” to 1 by selecting the Record where you want to split.
    Create a Receive pipeline with "Flat File Disassembler" in the Disassemble stage.
    Deploy the above artifacts; Flat File Schema, Receive pipeline with Flat File Disassembler component.
    Configure the Receive port with Receive pipeline and send port with filter for Receive port (BTS.ReceviePortName) or after debatching do whatever you want to do..
    Obviously you have other ways like calling the Receivepipeline in orchestration if you have many message/records to be debatched and reduce the number of footprints in message-box db. But start
    with the above steps and move on to other advanced solution based on your need.
    You can follow the reference here..
    How to Debatch (Split) a Flat File using Flat File Schema ? 
    Another reference from our friend Mahesh-
    Debatching(Splitting) XML Message - BizTalk 2010
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • XML debatching

    can XML be debatched without using file or FTP adapter in ESB or BPEL ?
    kindly reply if u ve any other technique for debatching an XML
    Thanks in advance
    -venkat

    Well..you can, but you need to orchestrate the whole debatched process yourself in bpel.
    Lets say we have as input of the bpel our whole payload.
    <total>
    <element/>
    <element/>
    <element/>
    </total>
    If you want to debatch this for example by every occurrence of element you can use a while-activity in bpel, and loop over all the 'element'-elements. And in the activity you can do whatever you want.
    For example call some service on every occurrence and after that call some other bpel process.

  • Promoting a property after XML debatching - Is this possible?

    Hi,
    I have a schema (please see below) which I'm currently debatching - this works perfectly! I would like to add a promoted property to the debatched message so that I can then use this for port level routing. This is where I'm currently having some difficulties.
    Thus far, I've only been able to get it working against the last debatched message rather than each one. Is this possible within BizTalk?
    What I would like to achieve:
    Map inbound message to canonical schema on inbound port
    De-batch messages on repeating nodes (SpaceUsage)
    Use promoted property (SpaceUsageMasterData) within send port to provide message routing.
    Schema:
      <ns0:SpaceCanonical xmlns:ns0="http://uol.external.schemas">
      <ns0:SpaceSysID>SpaceSysID_0</ns0:SpaceSysID>
      <ns0:SpaceSysCode>SpaceSysCode_0</ns0:SpaceSysCode>
      <ns0:SpaceName>SpaceName_0</ns0:SpaceName>
      <ns0:SpaceDescription>SpaceDescription_0</ns0:SpaceDescription>
      <ns0:SpaceNetArea>SpaceNetArea_0</ns0:SpaceNetArea>
      <ns0:PropertyCode>PropertyCode_0</ns0:PropertyCode>
      <ns0:FloorCode>FloorCode_0</ns0:FloorCode>
      <ns0:ShowInCMIS>ShowInCMIS_0</ns0:ShowInCMIS>
      <ns0:SpaceModDateTime>1999-05-31T13:20:00.000-05:00</ns0:SpaceModDateTime>
      <ns0:SpaceMasterData>False</ns0:SpaceMasterData>
      <ns0:TodaysDate>1999-05-31T13:20:00.000-05:00</ns0:TodaysDate>
      <ns0:SpaceUsages>
        <ns0:SpaceUsage>
          <ns0:SpaceUsageCode>SpaceUsageCode_0</ns0:SpaceUsageCode>
          <ns0:SpaceParentSysID>SpaceParentSysID_0</ns0:SpaceParentSysID>
          <ns0:SpaceTypeCode>SpaceTypeCode_0</ns0:SpaceTypeCode>
          <ns0:SpaceTypeDescription>SpaceTypeDescription_0</ns0:SpaceTypeDescription>
          <ns0:EMSCode>EMSCode_0</ns0:EMSCode>
          <ns0:EMSDescription>EMSDescription_0</ns0:EMSDescription>
          <ns0:TRACCode>TRACCode_0</ns0:TRACCode>
          <ns0:TRACDescription>TRACDescription_0</ns0:TRACDescription>
          <ns0:DepartmentCode>DepartmentCode_0</ns0:DepartmentCode>
          <ns0:SpaceUsageNetArea>SpaceUsageNetArea_0</ns0:SpaceUsageNetArea>
          <ns0:StartDate>1999-05-31</ns0:StartDate>
          <ns0:EndDate>1999-05-31</ns0:EndDate>
          <ns0:Capacity>Capacity_0</ns0:Capacity>
          <ns0:CostBandCode>CostBandCode_0</ns0:CostBandCode>
          <ns0:CostBandDescription>CostBandDescription_0</ns0:CostBandDescription>
          <ns0:CostRate>CostRate_0</ns0:CostRate>
          <ns0:FunctionalSuitability>FunctionalSuitability_0</ns0:FunctionalSuitability>
          <ns0:SpaceUsageModDateTime>1999-05-31T13:20:00.000-05:00</ns0:SpaceUsageModDateTime>
          <ns0:SpaceUsageMasterData>False</ns0:SpaceUsageMasterData>
        </ns0:SpaceUsage>
     <ns0:SpaceUsage>
          <ns0:SpaceUsageCode>SpaceUsageCode_1</ns0:SpaceUsageCode>
          <ns0:SpaceParentSysID>SpaceParentSysID_0</ns0:SpaceParentSysID>
          <ns0:SpaceTypeCode>SpaceTypeCode_0</ns0:SpaceTypeCode>
          <ns0:SpaceTypeDescription>SpaceTypeDescription_0</ns0:SpaceTypeDescription>
          <ns0:EMSCode>EMSCode_0</ns0:EMSCode>
          <ns0:EMSDescription>EMSDescription_0</ns0:EMSDescription>
          <ns0:TRACCode>TRACCode_0</ns0:TRACCode>
          <ns0:TRACDescription>TRACDescription_0</ns0:TRACDescription>
          <ns0:DepartmentCode>DepartmentCode_0</ns0:DepartmentCode>
          <ns0:SpaceUsageNetArea>SpaceUsageNetArea_0</ns0:SpaceUsageNetArea>
          <ns0:StartDate>1999-05-31</ns0:StartDate>
          <ns0:EndDate>1999-05-31</ns0:EndDate>
          <ns0:Capacity>Capacity_0</ns0:Capacity>
          <ns0:CostBandCode>CostBandCode_0</ns0:CostBandCode>
          <ns0:CostBandDescription>CostBandDescription_0</ns0:CostBandDescription>
          <ns0:CostRate>CostRate_0</ns0:CostRate>
          <ns0:FunctionalSuitability>FunctionalSuitability_0</ns0:FunctionalSuitability>
          <ns0:SpaceUsageModDateTime>1999-05-31T13:20:00.000-05:00</ns0:SpaceUsageModDateTime>
          <ns0:SpaceUsageMasterData>False</ns0:SpaceUsageMasterData>
        </ns0:SpaceUsage>
      </ns0:SpaceUsages>
    </ns0:SpaceCanonical>
    Thanks,
    Steven.

    Hi all,
    Thanks for the advise regarding my challenges with BizTalk de-batching! I don't think that I was particularly clear in my first post that both the "Space" node and "Space Usage" node have a one to many relationship:
    IE. a space can have multiple usages below it in the schema. It should also be noted that the original XML fie received will have a large number of spaces within it and isn't limited to just one.
    XML file format:
    Header - static
    Space - multiple spaces in the file (essentially the rooms within a building)
    SpaceUsage - multiple space usages within the file (layout of rooms according to date/usage)
    I now believe that what I really needed to do was to de-batch the "space node" and also the "space usage" node which I don't believe is possible as I can find no information on de-batching one file into multiple message
    types where there are repeating nodes throughout. Please correct me if I'm wrong. The only part of the message which is static throughout it the header. Moving forward I'll be clearer with our suppliers that we need specific files for each message type rather
    than generating large XML files with all the message types in one place.
    Kind regards,
    Steven.
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Xpath Debatching in Orchestration -The part 'part' of message 'Message_In_Copy' contained a null value at the end of the construct block

    Hi ,
    Facing strange issue in Xpath debatching in Orchestration.
    Getting following error in construct shape:
    The part 'part' of message 'Message_In_Copy' contained a null value at the end of the construct block
    Code inside the construct block:
    sXpath = System.String.Format("/*[local-name()='Customers' and namespace-uri()='http://Debatch.Customer']/*[local-name()='Customer' and namespace-uri()='http://Debatch.Customer' and position()={0}]", nLoopCount);
    System.Diagnostics.Debug.WriteLine(sXpath);
    Message_In_Copy= xpath(Message_In, sXpath);
    Schema used:
    <?xml version="1.0" encoding="utf-16"?>
    <xs:schema xmlns="http://Debatch.Customer" xmlns:b="http://schemas.microsoft.com/BizTalk/2003" targetNamespace="http://Debatch.Customer" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="Customers">
    <xs:complexType>
    <xs:sequence>
    <xs:element minOccurs="0" maxOccurs="unbounded" name="Customer">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="name" type="xs:string" />
    <xs:element name="id" type="xs:string" />
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:schema>
    Can anyone help me out ? to identify the root cause for above issue.
    Thanks,
    Kind Regards,
    girsh
    girishkumar.a

    I agree with Shankycheil here, querying XPath will return XMLNode and thus can't be assigned to XMLNode.
    But for debatching in Orchestration using Xpath is not a very good idea. 
    Because using XPATH loads the complete message in memory(XML Structure) and then performs processing.
    This approach is always prone to throwing Out of Memory exception and low in performance also.
    Therefore I would suggest you to perform debatching by calling XML Disassembler(XMLReceive) pipeline.
    As pipeline works with Stream it will have better performance and you will also get complete control over the messages.
    Refer the below samples for debatching using XML Receive pipeline within Orchestration.
    Comparrison between XPATH and ReceivePipeline for Debatching:-
    De-batching within an orchestration using XPath or calling a pipeline
    Debatching within Orchestration using Pipeline-
    http://tech-findings.blogspot.in/2013/07/debatchingsplitting-xml-message-in.html 
    https://jeremyronk.wordpress.com/2011/10/03/how-to-debatch-into-an-orchestration-with-a-pipeline/
    Thanks,
    Prashant
    Please mark this post accordingly if it answers your query or is helpful.

  • How to know when File Adapter is complete when debatching?

    I have a BPEL process that reads in a file and debatches it into records of 1 and inserts them into a table.
    How do I know when the entire process is complete and all records in the file have been handled?

    Thats the problem with the file adapter. If you use it in debatch mode, you cannot really control the different BPEL processes that get spawned off one file.
    The other approach for scenarios where the file is huge, could be to use the adapter in notification mode. So the file adapter will notify the BPEL process, that the file is available, and then BPEL process can read the file using xpath functions or java code etc.
    Hope this helps.
    -@

  • Debatch response of a SQL query

    I'm stumbling over (what I hope) is an easy one.  The Consume Adapter Service wizard returns one file with 2 schema:  the invocation and the response.  I'd like to debatch the response into individual records, but I can't mark the schema
    as an envelope - that screws up the invocation.  Thanks for helping out somebody with mush for brains.

    I saw an error on the send side of the solicit - response send port, and the last thing (I thought) I had done was setup the envelope.  This morning I carefully reassembled everything, making sure to setup the envelope correctly.  And when I
    don't make mistakes, I get the expected outcome.  Thanks for your note back.  Sometimes it just helps to get reassurance that I'm just not off the rails.

  • [SOLVED] Re: File Adapter + Debatching + uniquemessageseparator

    Hi all
    I am facing a strange problem using File Adapter + Debatching + uniquemessageseparator.
    There are two BPEL servers, both with the same version (10.1.3.3) and running the same BPEL process. The process reads an EDI flat file using uniquemessageseparator property and debatching set to 1 message per instance.
    One of them reads the EDI flat file correclty, the other one sometimes throws an error and doesn´t read the file. Sometimes it reads the file, but this has been an exeption.
    Looking the log file, I guess the problem is related to the way BPEL deal with debatching. I believe it creates temporary directories and temporary files to handle the debatching feature and I guess there is a bug in this technique.
    Log lines for the server that can´t read the file:
    <2007-10-26 16:53:40,404> <INFO> <pi_lms-c001e.collaxa.cube.ws> <File Adapter::Outbound> Translator has failed to translate any message from batch number: 309
    <2007-10-26 16:53:40,404> <INFO> <pi_lms-c001e.collaxa.cube.ws> <File Adapter::Outbound> Message not published as translation failed: {
    File=/tmp/Integracao/testeIntegrado/atualizacao/pi_lms_c001e/3 - CENARIO ALTERNATIVO 1.txt, batchIndex=309, PublishSize=5
    <2007-10-26 16:53:40,405> <INFO> <pi_lms-c001e.collaxa.cube.ws> <File Adapter::Outbound> Translator has failed to translate any message from batch number: 310
    <2007-10-26 16:53:40,405> <INFO> <pi_lms-c001e.collaxa.cube.ws> <File Adapter::Outbound> Message not published as translation failed: {
    File=/tmp/Integracao/testeIntegrado/atualizacao/pi_lms_c001e/3 - CENARIO ALTERNATIVO 1.txt, batchIndex=310, PublishSize=5
    <2007-10-26 16:53:40,405> <INFO> <pi_lms-c001e.collaxa.cube.ws> <File Adapter::Outbound> Translator has failed to translate any message from batch number: 311
    <2007-10-26 16:53:40,405> <INFO> <pi_lms-c001e.collaxa.cube.ws> <File Adapter::Outbound> Message not published as translation failed: {
    File=/tmp/Integracao/testeIntegrado/atualizacao/pi_lms_c001e/3 - CENARIO ALTERNATIVO 1.txt, batchIndex=311, PublishSize=5
    <2007-10-26 16:53:40,406> <INFO> <pi_lms-c001e.collaxa.cube.ws> <File Adapter::Outbound> Translator has failed to translate any message from batch number: 312
    <2007-10-26 16:53:40,406> <INFO> <pi_lms-c001e.collaxa.cube.ws> <File Adapter::Outbound> Message not published as translation failed: {
    File=/tmp/Integracao/testeIntegrado/atualizacao/pi_lms_c001e/3 - CENARIO ALTERNATIVO 1.txt, batchIndex=312, PublishSize=5
    <2007-10-26 17:04:01,720> <INFO> <pi_lms-c001e.collaxa.cube.services> <PurgeTask::purgeTask> Start of purging task for domain = pi_lms-c001e
    <2007-10-26 17:04:01,722> <INFO> <pi_lms-c001e.collaxa.cube.services> <PurgeTask::purgeTask> End of purging task for domain = pi_lms-c001e
    <2007-10-26 17:04:01,726> <INFO> <pi_lms-c001e.collaxa.cube.services> <PurgeTask::purgeTask> Start of purging task for domain = pi_lms-c001e
    <2007-10-26 17:04:01,727> <INFO> <pi_lms-c001e.collaxa.cube.services> <PurgeTask::purgeTask> End of purging task for domain = pi_lms-c001e
    <2007-10-26 17:04:15,258> <INFO> <pi_lms-c001e.collaxa.cube.ws> <File Adapter::Outbound> Debatching error recovery started : Read offset : 5,13,null from debatching control file : /u01/app/oracle/product/10.1.3.1/j2ee/home/fileftp/controlFiles/BpelPiAtualizacaoC001E~1.0/gg05kSGbd1hww+mYZuMepg==/inbound/debatch_err_recovery_2 - CENARIO PRINCIPAL - B.txt
    <2007-10-26 17:04:15,260> <INFO> <pi_lms-c001e.collaxa.cube.ws> <File Adapter::Outbound> Translator has failed to translate any message from batch number: 1
    <2007-10-26 17:04:15,260> <INFO> <pi_lms-c001e.collaxa.cube.ws> <File Adapter::Outbound> Message not published as translation failed: {
    File=/tmp/Integracao/testeIntegrado/atualizacao/pi_lms_c001e/2 - CENARIO PRINCIPAL - B.txt, batchIndex=1, PublishSize=5
    <2007-10-26 17:14:40,424> <INFO> <pi_lms-c001e.collaxa.cube.ws> <File Adapter::Outbound> Debatching error recovery started : Read offset : 5,13,null from debatching control file : /u01/app/oracle/product/10.1.3.1/j2ee/home/fileftp/controlFiles/BpelPiAtualizacaoC001E~1.0/gg05kSGbd1hww+mYZuMepg==/inbound/debatch_err_recovery_2 - CENARIO PRINCIPAL - B.txt
    <2007-10-26 17:14:40,426> <INFO> <pi_lms-c001e.collaxa.cube.ws> <File Adapter::Outbound> Translator has failed to translate any message from batch number: 1
    <2007-10-26 17:14:40,426> <INFO> <pi_lms-c001e.collaxa.cube.ws> <File Adapter::Outbound> Message not published as translation failed: {
    File=/tmp/Integracao/testeIntegrado/atualizacao/pi_lms_c001e/2 - CENARIO PRINCIPAL - B.txt, batchIndex=1, PublishSize=5
    Log lines for the server that reads the file:
    <2007-10-26 17:51:58,386> <DEBUG> <pi_lms-c001e.collaxa.cube.ws> <File Adapter::Outbound> Poller enqueuing file for processing :/tmp/Integracao/testeIntegrado/atualizacao/pi_lms_c001e/2 - CENARIO PRINCIPAL - B.txt
    <2007-10-26 17:51:58,386> <DEBUG> <pi_lms-c001e.collaxa.cube.ws> <File Adapter::Outbound> File : /tmp/Integracao/testeIntegrado/atualizacao/pi_lms_c001e/2 - CENARIO PRINCIPAL - B.txt is ready to be processed.
    <2007-10-26 17:51:58,386> <DEBUG> <pi_lms-c001e.collaxa.cube.ws> <File Adapter::Outbound> Creating stopwatch for : 2 - CENARIO PRINCIPAL - B.txt
    <2007-10-26 17:51:58,386> <DEBUG> <pi_lms-c001e.collaxa.cube.ws> <File Adapter::Outbound> Processing file : /tmp/Integracao/testeIntegrado/atualizacao/pi_lms_c001e/2 - CENARIO PRINCIPAL - B.txt], ProcessHeadersOnly=[false]
    <2007-10-26 17:51:58,387> <DEBUG> <pi_lms-c001e.collaxa.cube.activation> <AdapterFramework::Inbound> onBatchBegin: Batch 'bpel://localhost/pi_lms-c001e/BpelPiAtualizacaoC001E~1.0//2 - CENARIO PRINCIPAL - B.txt_1193425973000' (/tmp/Integracao/testeIntegrado/atualizacao/pi_lms_c001e/2 - CENARIO PRINCIPAL - B.txt) starting...
    <2007-10-26 17:51:58,387> <DEBUG> <pi_lms-c001e.collaxa.cube.translation> <TranslatorFactory::log> Inside TranslatorFactory
    <2007-10-26 17:51:58,387> <DEBUG> <pi_lms-c001e.collaxa.cube.translation> <TranslatorFactory::log> using version attribute = NXSD
    <2007-10-26 17:51:58,388> <DEBUG> <pi_lms-c001e.collaxa.cube.translation> <TranslatorFactory::log> loading xlator class...oracle.tip.pc.services.translation.xlators.nxsd.NXSDTranslatorImpl
    <2007-10-26 17:51:58,392> <DEBUG> <pi_lms-c001e.collaxa.cube.translation> <TranslatorFactory::log> class loaded
    <2007-10-26 17:51:58,392> <DEBUG> <pi_lms-c001e.collaxa.cube.ws> <File Adapter::Outbound> Created translator : oracle.tip.pc.services.translation.xlators.nxsd.NXSDTranslatorImpl@1673c89
    <2007-10-26 17:51:58,392> <DEBUG> <pi_lms-c001e.collaxa.cube.ws> <File Adapter::Outbound> Setting up Control dir for debatching error recovery
    <2007-10-26 17:51:58,392> <DEBUG> <pi_lms-c001e.collaxa.cube.ws> <File Adapter::Outbound> Inside getUniqueDirectory::ActivationSpec getProcessName for [bpel://localhost/pi_lms-c001e/BpelPiAtualizacaoC001E~1.0/] returned [BpelPiAtualizacaoC001E~1.0]
    <2007-10-26 17:51:58,392> <DEBUG> <pi_lms-c001e.collaxa.cube.ws> <File Adapter::Outbound> GenUtil::getUniqueDirectory::ActivationSpec [localhost_pi_lms-c001e_BpelPiAtualizacaoC001E~1.0_/LeArquivo//tmp/Integracao/testeIntegrado/atualizacao/pi_lms_c001e] ==> [BpelPiAtualizacaoC001E~1.0/gg05kSGbd1hww+mYZuMepg==]
    <2007-10-26 17:51:58,392> <DEBUG> <pi_lms-c001e.collaxa.cube.ws> <File Adapter::Outbound> MD5 BaseDir is [u01/app/oracle/product/10.1.3.1/j2ee/home/fileftp/controlFiles/BpelPiAtualizacaoC001E~1.0/gg05kSGbd1hww+mYZuMepg==]
    <2007-10-26 17:51:58,392> <DEBUG> <pi_lms-c001e.collaxa.cube.ws> <File Adapter::Outbound> Control dir for debatching error recovery : /u01/app/oracle/product/10.1.3.1/j2ee/home/fileftp/controlFiles/BpelPiAtualizacaoC001E~1.0/gg05kSGbd1hww+mYZuMepg==/inbound
    <2007-10-26 17:51:58,393> <DEBUG> <pi_lms-c001e.collaxa.cube.ws> <File Adapter::Outbound> Invoking inbound translation for : 2 - CENARIO PRINCIPAL - B.txt
    <2007-10-26 17:51:58,393> <DEBUG> <pi_lms-c001e.collaxa.cube.translation> <NXSDTranslatorImpl::log> Starting translateFromNative using InputStream
    <2007-10-26 17:51:58,405> <DEBUG> <pi_lms-c001e.collaxa.cube.translation> <NXSDTranslatorImpl::log> Done with translateFromNative
    <2007-10-26 17:51:58,405> <DEBUG> <pi_lms-c001e.collaxa.cube.ws> <File Adapter::Outbound> Completed inbound translation for : 2 - CENARIO PRINCIPAL - B.txt
    <2007-10-26 17:51:58,405> <DEBUG> <pi_lms-c001e.collaxa.cube.ws> <File Adapter::Outbound> isTextFile : true,isXmlFile : false
    <2007-10-26 17:51:58,405> <DEBUG> <pi_lms-c001e.collaxa.cube.ws> <File Adapter::Outbound> Translated inbound batch index "1" of file {2 - CENARIO PRINCIPAL - B.txt} sucessfully.
    <2007-10-26 17:51:58,406> <DEBUG> <pi_lms-c001e.collaxa.cube.ws> <File Adapter::Outbound> Sending batch to Adapter Framework for posting to BPEL engine: {
    batchId=bpel://localhost/pi_lms-c001e/BpelPiAtualizacaoC001E~1.0//2 - CENARIO PRINCIPAL - B.txt_1193425973000, batchIndex=1, publishSize=1
    <2007-10-26 17:51:58,406> <DEBUG> <pi_lms-c001e.collaxa.cube.ws> <File Adapter::Outbound> File Adapter is configured with Inbound Retry Count = [10] and Inbound Retry Interval =[1] secs for Inbound Retriable Exceptions
    <2007-10-26 17:51:58,406> <DEBUG> <pi_lms-c001e.collaxa.cube.activation> <AdapterFramework::Inbound> [Read_ptt::Read(registroGeral)]Setting inbound JCA message headers to
    <InboundFileHeaderType xmlns="http://xmlns.oracle.com/pcbpel/adapter/file/">
    <fileName>2 - CENARIO PRINCIPAL - B.txt</fileName>
    <directory>/tmp/Integracao/testeIntegrado/atualizacao/pi_lms_c001e</directory>
    <size>659</size>
    <batch>bpel://localhost/pi_lms-c001e/BpelPiAtualizacaoC001E~1.0//2 - CENARIO PRINCIPAL - B.txt_1193425973000</batch>
    <batchIndex>1</batchIndex>
    </InboundFileHeaderType>
    <2007-10-26 17:51:58,407> <DEBUG> <pi_lms-c001e.collaxa.cube.activation> <AdapterFramework::Inbound> [Read_ptt::Read(registroGeral)]Posting inbound JCA message to BPEL Process 'BpelPiAtualizacaoC001E' receive activity:
    Can anyone give me a help?
    Thanks

    Hi all, it is "solved": I found an workaround, but not a real solution. Let me explain:
    When file/ftp adapter starts to read a file using the debatching technique, bpel creates a control file:
    <ORACLE_HOME>/j2ee/home/fileftp/controlFiles/BpelPiAtualizacaoC001E~1.0/gg05kSGbd1hww+mYZuMepg==/inbound/debatch_err_recovery_2 - CENARIO PRINCIPAL - B.txt
    (where "2 - CENARIO PRINCIPAL - B.txt" is the file name)
    This control-file is used by BPEL to control what is the last portion of the EDI flat file that has been read. If the server fails, it continues to read from that point. After the processing, it deletes the control-file.
    However, in some cases BPEL server doesn´t delete the control-file after processing it.
    Therefore, when a new file cames but with THE SAME NAME ("2 - CENARIO PRINCIPAL - B.txt" for instance), BPEL uses the old control-file to process the new file,
    resulting in not processing the file.
    So, the issue is: BPEL is not deleting the control-file in some cases, but I don´t know exactly when this occurs. In my environment, it occurred four times only, and I don´t know exactly how to reproduce it.
    So, when you face an issue like this, try to check that temporary directory.
    Regards
    Marcelo

  • Merging XML Files After Debatching - 10.1.3.4

    I have a large fixed-width file which I am debatching and transforming to XML files:
    bigfile.txt (~52MB) -> file_%SEQ%.xml (~4MB each)
    resulting in:
    file_2001.xml (~4MB)
    file_2002.xml (~4MB)
    file_2003.xml (~4MB)
    file_2004.xml (~4MB)
    I would like to merge these resulting XML files back into one XML file:
    bigfile.xml (~52MB)
    I know the [Append="true"] attribute in the file adapter used to write the file won't "work" with XML files. I've tested this anyway and received "out of memory" errors while appending. This removes post-processing options.
    I'm new to BPEL and feel that I must be missing something simple. Any advice would be appreciated.
    Thanks in advance,
    Rob

    Hi Rob,
    You can create a temp variable of xsd type of bigfile.xml, read all below files one by one and within assign activity use append operation to append all xml files, when all read is complete, dispatch this message to file adapter to write file.
    file_2001.xml (~4MB)
    file_2002.xml (~4MB)
    file_2003.xml (~4MB)
    file_2004.xml (~4MB)
    Here, there is a possibility of out of memory error.
    Please try it,
    Regards

  • Is Message debatching in OSB using JMS transport possible

    hi
    I have message on JMS queue with multiple message(s) in it.
    Now my requirement is to read this JMS message as multiple internal message(s) from queue using OSB JMS transport.
    Is this possible from OSB JMS transport?
    Thanks in advance.
    -Ramakrishna Gilla

    No.. JMS transport wont automatically do it for you .. You will have to write a jms proxy service and have your logic to do the debatching.. alternatively you can use jms proxy as a pass thru service writing to the file system and then have the JCA file adapter to do the debatching..

  • Porblem with Debatching

    Debatching works fine and instance got created for first batch but no instance got created for remaining batchs, what could be the reason for this?

    Hi Raja,
    You must use the java add-in on an abap stack, the Jco connection between the stacks is created automatically. Once you have the stacks installed and ready to configure the MI all you really need to do is setup the properties file that describes the host and system. This will be setup manually in the file system for any installation < sp13 but if its sp13 and higher you would have to do it in the database using the J2EE engine visual admin. Please follow the appropriate installation guide, its the easiest way.  I also recommend you have your basis person perform the installation he should  have no problem reading the installation guide.
    -wael

Maybe you are looking for

  • Smartdisk Firelight 80g external hard drive won't mount

    I have an old Smartdisk Firelight 80g external hard drive.  I haven't used it in a couple years.  When I plug it in I get the error "The disk you inserted was not readable by this computer" It is connected to my MacBook Pro running 10.7.5 through a f

  • Apps not working on HP photosmart 7520

    Hello.. New here so apologies if iv posted this in the wrong place! Iv just purchased a photosmart 7520 all in one printer and everything on it works perfectly apart from the apps on the touch screen. Everytime i touch an app or touch the icon to get

  • Fonts not appearing correctly on other clients

    I know this has been an ongoing issue for everyone using Apple's mail client but I'm going to ask it here again. There has been many posts but many unanswered posts. How can I get mail.app to send e-mail out using say..."Arial" and have it show up as

  • How to get the key panel repaired

    key has come out from keypad i need to get it fixed   how can i get it done    if laptop is under warranty period

  • Weblogic Admin Server Clustering

    I am pretty new to WLS and was going through the doc on Clustering. It talks abt clustering managed servers. Is there a way to cluster WL Admin Server,for eg : I fee I will not be able to access admin console if admin server is down. so do we need to