Mapping re-occurring node to single node

Hi,
I would like to map an Element with maxOccurs=unbounded to an Element with maxOccurs=1. So, instead of making a new target node for each occurrence of the source node I want to merge all occuring source node values to only one target node and put semicolons between them. 
Basically I want to create a target node with CSV from a re-occurring source node.
Is this possible in message mapping?
Solutions that work will be highly rewarded!
Thanks,
Mattias

Hi Venkat,
I have problems with your code during activation:
Activation of the change list canceled Check result for Message Mapping WMS_Articles3_MM | urn:eldorado.ru:wms:Articles:  Starting compilation  Source code has syntax error:  D:/usr/sap/EXD/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Mapb14cbc80bd9311dbbb9f0030053fd998/source/com/sap/xi/tf/_WMS_Articles3_MM_.java:84: cannot resolve symbol symbol : variable length location: class java.lang.String for(int j=0; j<a.length; a++){ ^ D:/usr/sap/EXD/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Mapb14cbc80bd9311dbbb9f0030053fd998/source/com/sap/xi/tf/_WMS_Articles3_MM_.java:84: operator ++ cannot be applied to java.lang.String for(int j=0; j<a.length; a++){ ^ D:/usr/sap/EXD/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Mapb14cbc80bd9311dbbb9f0030053fd998/source/com/sap/xi/tf/_WMS_Articles3_MM_.java:85: array required, but java.lang.String found value += a[j]; ^ D:/usr/sap/EXD/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Mapb14cbc80bd9311dbbb9f0030053fd998/source/com/sap/xi/tf/_WMS_Articles3_MM_.java:87: cannot resolve symbol symbol : variable result location: class com.sap.xi.tf._WMS_Articles3_MM_ result.addValue(value); ^ 4 errors
What could be wrong?
Thx,
Mattias

Similar Messages

  • Transforming from multiple node to single node

    Hi,
    I new to BPEL trying to transform data from two different multiple nodes to single node of complex type.
    For Eg where 'req1' and 'req2' are multiple nodes in request:
    Request::
    <req1>
    <a1/>
    </req1>
    <req2>
    <b1/>
    </req2>
    Response::
    <c>
    <ca1>
    <cb2>
    </c>
    Please can anyone help me in getting the solution.
    Hope the pseudo-logic is clear!!!
    Edited by: c devi on Oct 18, 2011 7:12 AM
    Edited by: c devi on Oct 18, 2011 7:12 AM

    Hi',
    You can try this,
    <xsl:template match="/">
    <client:processResponse>
    <xsl:for-each select="$Var2.payload/client:process">
    <client:result>
    <xsl:value-of select="client:input"/>
    </client:result>
    </xsl:for-each>
    <xsl:for-each select="/client:process">
    <client:result>
    <xsl:value-of select="client:input"/>
    </client:result>
    </xsl:for-each>
    </client:processResponse>
    </xsl:template>
    Source:
    <req1>
    <a1/>
    </req1>
    <req2>
    <b1/>
    </req2>
    Target
    <c>
    <c1/>
    </c>
    You can do like this,
    Inside the Transform first put the for-each over the target variable, i.e. just above c1, then right click on the for-each > add XSL node > 'Clone' for-each.
    This will create the source one more time i.e. you will have now 2 targets of the same type,
    Like this.
    Target
    <c>
    <c1/>
    </c>
    <c>
    <c1/>
    </c>
    now join the wires from source to target for both of them, now right click on the transform (in the center) and do Test, this will give you the output.
    -Yatan

  • Maps: How to generate a single node from multiple nodes

    Hi,
    I have a problem while mapping. I have a large complex input schema through which I generate a flat file output. I have used map for creating the output. Below is the
    output and expected output.
    Output:
    E,651,120,3999,2013-12-01,2013-12-25,25,556,0.00,0
    E,652,120,3901,2013-12-01,2013-12-27,27,6176.25,0.00,0
    SR,17,120,2013-12-25,2022,122013,2,6732.25,1,01389399501
    SR,17,120,2013-12-27,2022,122013,2,6732.25,1,01389399501
    Expected Output:
    E,651,120,3999,2013-12-01,2013-12-25,25,556,0.00,0
    E,652,120,3901,2013-12-01,2013-12-27,27,6176.25,0.00,0
    SR,17,120,2013-12-27,2022,122013,2,6732.25,1,01389399501
    There should always be one SR node. The node which should be present should be the one which has maximum DATE. While mapping how can I check before hand that there will be more DATE values coming and then map only latest. It’s a complex mapping so I’m looking
    for a simple solution.
    I want some conditions like while generating output SR Node, if there will be various SCR nodes in output then select the node with maximum date value in insert that in output.
    Thanks.

    Thanks for the detailed response Aswin. It's very helpful. Please help in one more condition, sometimes there could be multiple SR with same Date. In that case SR is still repeating as all are equal so above maximun logic is creating n nodes. Eg:
    Output:
    E,651,120,3999,2013-12-01,2013-12-25,25,556,0.00,0
    E,652,120,3901,2013-12-01,2013-12-27,27,6176.25,0.00,0
    SR,218,504420120,2013-10-04,0451,102013,1,393.85,AD,501
    SR,218,504420120,2013-10-04,0451,102013,1,393.85,AD,501
    Expected Op:
    E,651,120,3999,2013-12-01,2013-12-25,25,556,0.00,0
    E,652,120,3901,2013-12-01,2013-12-27,27,6176.25,0.00,0
    SR,218,504420120,2013-10-04,0451,102013,1,393.85,AD,501
    So, if there are maximum in that cas select max, which is working now and if they are same then any one of those.

  • Biztalk Map: Map repeating structures into a single node

    Simple one for the experts. I have the following two samples. Can somebody please guide me on how to achieve my output? Just a caveat. The Errorlist may or may not have errors in which case just an empty tag should suffice.
    Input
    <Detail Att1="a">
    <Value1>Test</Value1>
    <Value2>Test2</Value2>
    <ErrorList>
    <Error>Error_0</Error>
    <Error>Error_1</Error>
    <Error>Error_2</Error>
    </ErrorList>
    </Detail>
    Output1: Could be one or more xmls depending on the number of errors
    <Detail Att1="a">
    <Value1>Test</Value1>
    <Value2>Test2</Value2>
    <Error>Error_0</Error>
    </Detail>
    <Detail Att1="a">
    <Value1>Test</Value1>
    <Value2>Test2</Value2>
    <Error>Error_1</Error>
    </Detail>
    <Detail Att1="a">
    <Value1>Test</Value1>
    <Value2>Test2</Value2>
    <Error>Error_2</Error>
    </Detail>
    Output 2: Concatenation of errors using a suitable delimiter (I used pipe..pls suggest)
    <Detail Att1="a">
    <Value1>Test</Value1>
    <Value2>Test2</Value2>
    <Error>Error_0 | Error_1 | Error_2</Error>
    </Detail>
    Thanks

    Hello ZIntegrator,
    for your second output case, you can build map like below . since error can occur zero or more times, make sure you set the "Error" element  max occurs property to unbounded and Min occurs to 0 in the input schema.
    so just drop String concatenation and cumulative concatenation functiods like above.
    and for String concatenation, supply second parameter as the character pipe  "|".  that's it, it should work.
    And coming to your first output case, as per your input you have 3 error cases. so do you want to create 3 different xml messages?
    please note that a map can only output one message (of course we can create more than one using transform shape in orchestration, that is different case).
    if you want seperate xml documents to be generated for each error, then normal mapping cannot work. 
    Please mark the post as answer if this answers your question. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • EBS 11.5.10.2 Merge Multi Node to Single node.

    Hello,
    I have a two node EBS Production application tier running on 11.5.10.2.
    I have the concurrent manager running on Node A, and the rest of the services running on Node B. I'd like to retire the Node A server.
    Can someone help me with the steps to move the concurrent manager to Node B and remove Node A from the configuration?
    The steps I have come up with so far are:
    1. Run maintain snapshot information on Node A & B.
    2. Run perl adpreclone.pl appsTier merge on Node B.
    3. Run perl adpreclone.pl appltop merge on Node A.
    4. From Node A copy $COMMON_TOP/clone/appl to Node B.
    5. Shutdown application tier on Node A & B.
    6. Copy log and output files to Node B.
    7. Run perl adcfgclone.pl appsTier on Node B.
    8. On node B run :
    Adadmin -> generate JAR files
    -> generate message files
    -> relink executables
    -> copy files to destination
    Adadmin -> Check for missing files, and manually copy files if needs
    9. On node B run: EXEC FND_CONC_CLONE.SETUP_CLEAN;
    10. Start Application tier and verify changes.
    I'm not sure step 9 is right for this process. I want to keep the printer configuration.

    1. Run maintain snapshot information on Node A & B.
    2. Run perl adpreclone.pl appsTier merge on Node B.
    3. Run perl adpreclone.pl appltop merge on Node A.
    4. From Node A copy $COMMON_TOP/clone/appl to Node B.
    5. Shutdown application tier on Node A & B.
    6. Copy log and output files to Node B.
    7. Run perl adcfgclone.pl appsTier on Node B.
    8. On node B run :
    Adadmin -> generate JAR files
    -> generate message files
    -> relink executables
    -> copy files to destination
    Adadmin -> Check for missing files, and manually copy files if needs
    9. On node B run: EXEC FND_CONC_CLONE.SETUP_CLEAN;
    10. Start Application tier and verify changes.
    I'm not sure step 9 is right for this process. I want to keep the printer configuration.All your steps look OK to me -- -- (Sharing the Application Tier File System in Oracle Applications Release 11i [ID 233428.1] -- Section 4: Merging existing APPL_TOPs into a single APPL_TOP)
    Step 9 is correct and you need to purge FND_NODES table and run AutoConfig on all tier nodes (you will not lose any printer configuration) --
    How to Clean Nonexistent Nodes or IP Addresses From FND_NODES [ID 260887.1]
    Thanks,
    Hussein

  • Replacing multiple nodes with single node in OSB

    Hi,
    I have a case where I will get a xml like below:
    <LINEITEMS>
         <LINE_ITEM>
              <LINE_ITEMNO>1</LINE_ITEMNO>
              <STATUS_CODE>0</STATUS_CODE>
              <MESSAGE>MESSAGE1</MESSAGE>
         </LINE_ITEM>
         <LINE_ITEM>
              <LINE_ITEMNO>3</LINE_ITEMNO>
              <STATUS_CODE>0</STATUS_CODE>
              <MESSAGE>MESSAGE3</MESSAGE>
         </LINE_ITEM>
         <LINE_ITEM>
              <LINE_ITEMNO>1</LINE_ITEMNO>
              <STATUS_CODE>0</STATUS_CODE>
              <MESSAGE>MESSAGE2</MESSAGE>
         </LINE_ITEM>
         <LINE_ITEM>
              <LINE_ITEMNO>3</LINE_ITEMNO>
              <STATUS_CODE>0</STATUS_CODE>
              <MESSAGE>MESSAGE4</MESSAGE>
         </LINE_ITEM>
    <LINE_ITEM>
              <LINE_ITEMNO>2</LINE_ITEMNO>
              <STATUS_CODE>1</STATUS_CODE>
              <MESSAGE>MESSAGE5</MESSAGE>
         </LINE_ITEM>
    </LINEITEMS>
    I need to make this as below:
    <LINEITEMS>
         <LINE_ITEM>
              <LINE_ITEMNO>1</LINE_ITEMNO>
              <STATUS_CODE>0</STATUS_CODE>
              <MESSAGE>MESSAGE1;MESSAGE2</MESSAGE>
         </LINE_ITEM>
         <LINE_ITEM>
              <LINE_ITEMNO>3</LINE_ITEMNO>
              <STATUS_CODE>0</STATUS_CODE>
              <MESSAGE>MESSAGE3;MESSAGE4</MESSAGE>
         </LINE_ITEM>
    <LINE_ITEM>
              <LINE_ITEMNO>2</LINE_ITEMNO>
              <STATUS_CODE>1</STATUS_CODE>
              <MESSAGE>MESSAGE5</MESSAGE>
         </LINE_ITEM>
    </LINEITEMS>
    I need to have only one entry for each line Item.
    Please let me know on the approach on how to do it in OSB.
    Thanks

    You can try this :-
    let $out:= <LINEITEMS>{ for $x in 1 to count($input/LINE_ITEM)
                                  let $LineItme := $input/LINE_ITEM[$x]/LINE_ITEMNO
                             let $match:= for $y in $x to count($input/LINE_ITEM)
                                  where $input/LINE_ITEM[$y]/LINE_ITEMNO= $LineItme
                                  return $input/LINE_ITEM[$y]/MESSAGE
                                  return
                                  <LINE_ITEM>
                                       <LINE_ITEMNO>{$LineItme/text()}</LINE_ITEMNO>
                                       <STATUS_CODE>{data($input/LINE_ITEM[$x]/STATUS_CODE)}</STATUS_CODE>
                                       <MESSAGE>{fn:data($match)}</MESSAGE>
                                  </LINE_ITEM>
    }</LINEITEMS>
    return $out
    You many then have to remove duplicates with line items. use fn:distinct() and then loop through.

  • Clone multi-node RAC and ASM to single node

    Hi everyone.
    I need clone system with 3 application server and 2 oracle database RAC and ASM to single-node. The operating system is RHEL 5.
    I see some metalink notes, but we can't found nothing. I find notes with multi-node to single-node, but nothing with RAC to non-RAC.
    The eBS version is 11.5.10.2 and database version is 10.2.0.3
    Is possible this clone?
    Thanks very much.

    Hi User;
    Please follow below and see its helpful:
    EBS R12 with RAC and non-RAC
    Re: RAC to single instance ebs R12
    Re: Clone Oracle Apps 11.5.10.2 RacDB to Non-RAC DB
    Re: CLONING R12 RAC to NON RAC CLONING giving error RMAN-05517 temporary file
    [b]Migrating the DB-Tier (DB and CM) to Two node non RAC cluster[/b]
    Also check:
    http://www.oracle.com/technology/pub/articles/chan_sing2rac_install.html
    Regard
    Helios

  • Rapid clone 11.5.10  from single node to Veritas cluster environment

    Is anybody there who had done the same and working? Please shed some light.
    version 11.5.10
    Source
    DB tier : DB, CM and Admin ( OS : Solaris 10 ), single node
    App tier : FrmSrv, iAS ( OS : Solaris 10), single node
    Target
    DB tier : DB, CM, and Admin ( OS : Solaris 10), 2-nodes Veritas Cluster
    (active/passive)
    App tier : FrmSrv, iAS (OS : Solaris 10), 2-nodes load balancer
    I've many time single node to single node rapid clone , no problem.
    But with this single node to multi-nodes, no luck.
    your input is much appreciated

    Hi
    You can use the Advanced cloning (section 4) of the cloining document# 230672.1
    to clone signle node to multi node systems.
    for webserver load balancing follow the metalink note#:217368.1
    Regards
    Srinath

  • Clone 11i from multinode to single node to new server.

    Hi,
    As per the following details, I have to clone the 11i environment from multinode (3 nodes) to single node on OLE5.
    ServerA: FORMS, WEB, ADMIN
    ServerB: CP, FORMS, WEB, ADMIN
    serverC: DB
    Hardware Loadbalancer used with SSL encryption.
    Clone requirements:
    ServerX: CP, FORMS, WEB, ADMIN, DB (No hardware Load balancing & No SSL)
    Please guide me with the important steps to clone from multi-node to single node in this situation.
    Thanks,

    959674 wrote:
    Hi,
    As per the following details, I have to clone the 11i environment from multinode (3 nodes) to single node on OLE5.
    ServerA: FORMS, WEB, ADMIN
    ServerB: CP, FORMS, WEB, ADMIN
    serverC: DB
    Hardware Loadbalancer used with SSL encryption.
    Clone requirements:
    ServerX: CP, FORMS, WEB, ADMIN, DB (No hardware Load balancing & No SSL)
    Please guide me with the important steps to clone from multi-node to single node in this situation.
    Thanks,Use Rapid Clone.
    Rapid Clone Documentation Resources For Release 11i and 12 [ID 799735.1]
    Cloning Oracle Applications Release 11i with Rapid Clone [ID 230672.1]
    Cloning Oracle Applications Release 12 with Rapid Clone [ID 406982.1]
    Thanks,
    Hussein

  • Clone from multinode to single node

    Hi,
    db version=10.2.0.3 Oracle Application 12.1.2 o/s Linux 5
    i want to clone from multi node to single node i am just concern about how to define the Hosts for Database and Application in a single machine
    should i define db host on etho and Application host on eth1 network adapters
    Pleas advice ....

    HI,
    Refer Note 230672.1 - Cloning Oracle Applications Release 11i with Rapid Clone
    I hope u have applied necessary patches...(Latest Rapid Clone patch & autoconfig patches)
    Follow these steps....
    Clone PROD to DEV
    1.     Prepare the Source System
    a.     cd <RDBMS ORACLE_HOME>/appsutil/scripts/<CONTEXT_NAME>
    perl adpreclone.pl dbTier
    b.     cd <COMMON_TOP>/admin/scripts/<CONTEXT_NAME>
    perl adpreclone.pl appsTier
    2.     Shutdown the Source system.
    Take the Backup
    tar -czvf prodappl.tar.gz prodappl/
    tar -czvf prodcomn.tar.gz prodcomn/
    tar -czvf prodora.tar.gz prodora/
    3.     Scp /ftp the all files & folders od source to target.
    Scp *.tar.gz hostname@username:/path
    4.     Shutdown Apllication & Database of Target.
    5.     Take backup of target
    mv devappl bdevappl
    mv devcomn bdevcomn
    mv devora bdevora
    6.     Mv proadappl devappl
    Mv prodcomn devcomn
    Mv prodora devora
    Mv proddata devdata
    Mv proddb devdb
    7.     Login as root
    Remove the entries in oratab & oraInventory
    8.     Run post clone scripts
    a.Database Tier
    cd $ORACLE_HOME/appsutil/clone/bin
    perl adcfgclone.pl dbTier
    [oracle@dbs4 bin]$ perl adcfgclone.pl dbTier
    Enter the APPS password [APPS]:
    First Creating a new context file for the cloned system.
    The program is going to ask you for information about the new system:
    Provide the values required for creation of the new Database Context file.
    Do you want to use a virtual hostname for the target node (y/n) [n] ?:
    Target instance is a Real Application Cluster (RAC) instance (y/n) [n]:
    Target System database name [PROD]:DEV
    Target system RDBMS ORACLE_HOME directory [oraDB/proddb/9.2.0]:/devDB/devdb/9.2.0
    Target system utl_file accessible directories list [1]:
    Number of DATA_TOP's on the target system [1]:
    Target system DATA_TOP 1 [oraDB/proddata]:/devDB/devdata/
    Do you want to preserve the Display set to dbs1:0.0 (y/n) [y] ?:
    Do you want to preserve the port values from the source system on the target system (y/n) [y] ?:
    Database port is 1521
    Backing up /devDB/devdb/9.2.0/appsutil/DEV_dbs4.xml to /devDB/devdb/9.2.0/appsutil/DEV_dbs4.xml1.bak
    Creating the new Database Context file from :
    /devDB/devdb/9.2.0/appsutil/template/adxdbctx.tmp
    The new database context file has been created :
    /devDB/devdb/9.2.0/appsutil/DEV_dbs4.xml
    Log file located at /devDB/devdb/9.2.0/appsutil/clone/bin/CloneContext_06210847.log
    Running Rapid Clone with command:
    perl /devDB/devdb/9.2.0/appsutil/clone/bin/adclone.pl java=/devDB/devdb/9.2.0/appsutil/clone/bin/../jre mode=apply stage=/devDB/devdb/9.2.0/appsutil/clone/bin/.. component=dbTier method=CUSTOM dbctxtg=/devDB/devdb/9.2.0/appsutil/DEV_dbs4.xml showProgress contextValidated=true
    Beginning database tier Apply - Mon Jun 21 08:48:20 2010
    Log file located at /devDB/devdb/9.2.0/appsutil/log/DEV_dbs4/ApplyDBTier_06210848.log
    Completed Apply...
    Mon Jun 21 08:50:06 2010
    Beginning APPSDB_DEV registration to central inventory...
    ORACLE_HOME NAME : APPSDB_DEV
    ORACLE_HOME PATH : /devDB/devdb/9.2.0
    Using Inventory location in /etc/oraInst.loc
    Log file located at /etc/oraInventory/logs/OracleHomeCloner_06210850.log
    ORACLE_HOME /devDB/devdb/9.2.0 was registered successfully.
    Starting database listener for DEV:
    Running:
    /devDB/devdb/9.2.0/appsutil/scripts/DEV_dbs4/addlnctl.sh start DEV
    You are running addlnctl.sh version 115.6
    Logfile: /devDB/devdb/9.2.0/appsutil/log/DEV_dbs4/addlnctl.txt
    Starting listener process DEV ...
    Listener DEV has already been started.
    addlnctl.sh: exiting with status 0
    Apps tier
    [applmgr@dbs4 ~]$ cd /devAPP/devcomn/clone/bin/
    [applmgr@dbs4 bin]$ perl adcfgclone.pl appsTier
    Enter the APPS password [APPS]:
    First Creating a new context file for the cloned system.
    The program is going to ask you for information about the new system:
    Provide the values required for creation of the new APPL_TOP Context file.
    Do you want to use a virtual hostname for the target node (y/n) [n] ?:
    Target system database SID [PROD]:DEV
    Target system database server node [dbs1]:dbs4
    Target system database domain name [dbs.com]:
    Does the target system have more than one application tier server node (y/n) [y] ?:n
    Is the target system APPL_TOP divided into multiple mount points (y/n) [n] ?:
    Target system APPL_TOP mount point [oraAPP/prodappl]:/devAPP/devappl
    Target system COMMON_TOP directory [oraAPP/prodcomn]:/devAPP/devcomn
    Target system 8.0.6 ORACLE_HOME directory [oraAPP/prodora/8.0.6]:/devAPP/devora/8.0.6
    Target system iAS ORACLE_HOME directory [oraAPP/prodora/iAS]:/devAPP/devora/iAS
    Do you want to preserve the Display set to dbs2:1.0 (y/n) [y] ?:
    Do you want to preserve the port values from the source system on the target system (y/n) [y] ?:
    Complete port information available at /devAPP/devappl/admin/out/DEV_dbs4/portpool.lst
    UTL_FILE_DIR on database tier consists of the following directories.
    1. /usr/tmp
    2. 1
    3. /devDB/devdb/9.2.0/appsutil/outbound/DEV_dbs4
    4. /usr/tmp
    Choose a value which will be set as APPLPTMP value on the target node [1]:
    Backing up /devAPP/devappl/admin/DEV_dbs4.xml to /devAPP/devappl/admin/DEV_dbs4.xml1.bak
    Creating the new APPL_TOP Context file from :
    /devAPP/devappl/ad/11.5.0/admin/template/adxmlctx.tmp
    The new APPL_TOP context file has been created :
    /devAPP/devappl/admin/DEV_dbs4.xml
    Log file located at /tmp/CloneContext_06210854.log
    Running Rapid Clone with command:
    perl /devAPP/devcomn/clone/bin/adclone.pl java=/devAPP/devcomn/clone/bin/../jre mode=apply stage=/devAPP/devcomn/clone/bin/.. component=appsTier method=CUSTOM appctxtg=/devAPP/devappl/admin/DEV_dbs4.xml showProgress contextValidated=true
    Beginning application tier Apply - Mon Jun 21 08:55:51 2010
    Log file located at /devAPP/devappl/admin/DEV_dbs4/log/ApplyAppsTier_06210855.log
    Completed Apply...
    Mon Jun 21 09:00:47 2010
    Beginning APPSIAS_DEV registration to central inventory...
    ORACLE_HOME NAME : APPSIAS_DEV
    ORACLE_HOME PATH : /devAPP/devora/iAS
    Using Inventory location in /etc/oraInst.loc
    Log file located at /etc/oraInventory/logs/OracleHomeCloner_06210900.log
    ORACLE_HOME /devAPP/devora/iAS was registered successfully.
    Skipping the starting of services
    INFO : Rapid Clone completed successfully
    Thanks
    Adiga

  • BizTalk Mapper - Looping multiple nodes to map to a single node in a single row (flat file)

    Hi everybody,
    I'm still new in developing BizTalk app and require some help in this one problem. Appreciate your time and input to help me on this.
    Basically I have an XML document as input and a flat file as output. Example for input is as per below. The "Contact" node's maxOccurs here is set to unbounded and could be multiple. (phone, fax, website, telex ...)
    <root>
    <CustomerName>Company A</CustomerName>
    <Contact>
    <Type>Phone</Type>
    <Locator>03566789</Locator>
    <Type>Phone</Type>
    <Locator>03566790</Locator>
    <Type>Fax</Type>
    <Locator>03566795</Locator>
    <Type>Telex</Type>
    <Locator>03566798</Locator>
    <Type>Website</Type>
    <Locator>www.companyA.com</Locator>
    </Contact>
    </root>
    The expected output in XML would look like below. The final outcome would be a csv file. Strictly Phone 1, phone 2, fax and telex, the rest would be ignored.
    <root>
    <CustomerName>Company A</CustomerName>
    <Phone1>03566789</Phone1>
    <Phone2>03566790</Phone2>
    <Fax>03566795</Fax>
    <Telex>03566798</Telex>
    </root>
    Example of expected output result (csv file): CompanyName;Phone1;Phone2;Fax;Telex;
    In our case here: Company A;03566789;03566790;03566795;03566798;
    Another example could be: Company B;036778911;;036778912;; if only 1 phone number and 1 fax number provided.
    I've used Table Looping and Table Extractor and nearly got the desired result except that it is represented in multiple rows instead of one: Example:
    Company A;03566789;;;
    Company A;;03566790;;;
    Company A;;;03566795;;
    Company A;;;;03566798;
    Any idea how to do the mapping? I'm kind of stuck here and it sounds like an easy problem but i could not find any example to the solution that I need here. Table looping and table extractor is ok to map from single node flat file to multiple nodes but not
    the reverse like in this example.
    rgds,
    sportivo

    Hi,
    Please refer to below links where similar issue has been answered.
    http://social.msdn.microsoft.com/Forums/en-US/biztalkgeneral/thread/ecdff241-6795-4a95-bad7-48fca4410dfb
    http://www.epinaki.com/2011/05/other-options-to-using-biztalk-table-looping-functoid-par-i/
    I hope this helps you.
    Thanks With Regards,
    Shailesh Kawade
    MCTS BizTalk Server
    Please Mark This As Answer If This Helps You.
    http://shaileshbiztalk.blogspot.com/

  • Multiple ASM Instances on single node

    Hi All,
    After going through some threads it seems to me that multiple ASM instances on a node is not supported and recommended by ORACLE but i coudn't find any ORACLE document or support matrix mentioning this. Can any one give me a pointer to this. Please correct me if i am wrong and Multiple ASM instances are fully supported by ORACLE.
    Thanks,

    Multiple ASM instances on a single node are supported but not recommended due to several issues you could encounter during that kind of configuration.
    Possible interraction between those instances for identification of each disk area usage,each disk area permissions , database instance to asm instance mapping and so on, could result in unwanted behaviour, as ASM is in some way just oracle's representation of LVM.
    Intention is that any kind of distinction/separation of oracle related data under the ASM should be done through the disk groups.
    So it seems it would be better to apply this kind of logic rather than doing suspiciously magical and rare configurations that could bring you similiary strange and unexpected problems.

  • Upgrade FP2.2.1 to FP2.4 single-node on WLS fails (FPCheckSOAServerStatus)

    Hi All,
    Issue: Upgrade from FP2.2.1 to FP2.4
    Issue: java.io.FileNotFoundException: /apps/aiahome2/Infrastructure/install/scripts/FPCheckSOAServerStatus.xml (No such file or directory)
    We're trying to upgrade a single-node Development Environment from FP2.2.1 to FP2.4 on WLS 9.2 MP3 running RedHat 4.
    First time, the upgrade failed it complained that it couldn't write to log-file $AIA_HOME/logs/Install/FP/FPInstall.log since the directory $AIA_HOME/logs/Install/FP didn't exists. We created the directory manually and tried again.
    Second time it failed, the serveroutput shows Build Failed.
    BUILD FAILED
    /apps/aiahome2/Infrastructure/install/scripts/FPInstall.xml:94: exec returned: 1
    Total time: 3 seconds
    09/16/2009 12:10 AM : ERROR: Error executing the command:
    setenv PATH /apps/aiahome2/apache-ant-1.7.0/bin:/apps/product/10.1.3.1/OracleAS_2/jdk/bin:$PATH &&
    setenv ANT_HOME /apps/aiahome2/apache-ant-1.7.0 &&
    setenv JAVA_HOME /apps/product/10.1.3.1/OracleAS_2/jdk && setenv DEPLOY_COMP oracle.aia.common &&
    setenv ORACLE_HOME /apps/product/10.1.3.1/OracleAS_2 &&
    setenv AIA_HOME /apps/aiahome2&&
    setenv BPEL_HOME /apps/product/10.1.3.1/OracleAS_2/bpel &&
    cd /apps/aiahome2/Infrastructure/install/scripts && ant --noconfig -buildfile FPInstall.xmlIf I read the whole log correctly, the installer was successful (dumped all the files in the correct location), but not the configuration.
    ==> The $AIA_HOME/logs/Install/FP/FPInstall09162009-001043.log shows:
    bash-3.00$ more FPInstall09162009-001043.log
    InstallAIAFP:
    BUILD FAILED
    /apps/aiahome2/Infrastructure/install/scripts/FPInstall.xml:115: The following error occurred while executing this line:
    java.io.FileNotFoundException: /apps/aiahome2/Infrastructure/install/scripts/FPCheckSOAServerStatus.xml (No such file or directory)
    Total time: 0 secondsThe directory listed above, does not have that FPCheckSOAServerStatus.xml file. We even did a "find..." on the installation directory but could not find the missing file.
    Have anyone seen anything similar? I've searched Metalink and Internet, but with no result for that missing file etc.
    Just a note: When executing the FP2.4 Installer, we had to set Execute rights on three-four shell scripts in order to start the Installer.
    Any help is highly appreciated.
    Regards,
    Martin

    Hello Martin !
    Upgrade of FP 2.2.1 to 2.4 is not supported on Weblogic. Could you get in touch with me and [email protected] offline.
    Thanks
    -Teja

  • Multiple Weblogic nodes on single Windows server  - Dispatcher question?

    Hi All,
    My experience is with other J2EE web servers (SAP's Netweaver predominantly) and typical installations on this platform include the installation of a dispatcher J2EE node which balances load across potentially multiple J2EE nodes on a single server. Does Weblogic have a similar set-up, as it appears when you create multiple nodes in Weblogic, you need to set-up a load balancer to achieve this same effect (that is installed by default on other platforms).
    Obviously creating a single node is pretty useless for the majority of production installations; hence what is the recommended option (without setting up a dedicated load balancer) to achieve this on a single (albeit large) server?
    Thanks,
    Matt

    Hi,
    I had just remembered another option, we can set up weblogic as webserver which does the load balancing. Below are the two ways you can do that.
    1. While creating the domain using "config.sh" you will get an option to set up "weblogic server as webserver". This option is enabled only on condition "cluster must be created, and few managed servers needs to assigned to cluster". For example if we create 3 managed servers and we assign 2 managed to cluster then "Http Proxt screen" would be enabled where remaining server can be set up as "http proxy webserver".
    2. Below is the lengthy procedure.
    a. Create a standalone weblogic server.
    b. We need to create a dummy war, which just contains below "web.xml" adn "weblogic.xml", let me know if you have trouble creating this war file.
    Contents of "web.xml"
    <?xml version='1.0' encoding='UTF-8'?>
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <servlet>
    <!-- Add HTTPClusterServlet -->
    <servlet-name>HttpClusterServlet</servlet-name>
    <servlet-class>weblogic.servlet.proxy.HttpClusterServlet</servlet-class>
    <init-param>
    <param-name>WebLogicCluster</param-name>
    <param-value>127.0.0.1:7003|127.0.0.1:7005|127.0.0.1:7007</param-value>
    </init-param>
    </servlet>
    <!-- Add HTTPClusterServlet Mapping elements -->
    <servlet-mapping>
    <servlet-name>HttpClusterServlet</servlet-name>
    <url-pattern>/</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>HttpClusterServlet</servlet-name>
    <url-pattern>*.jsp</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>HttpClusterServlet</servlet-name>
    <url-pattern>*.htm</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>HttpClusterServlet</servlet-name>
    <url-pattern>*.html</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>HttpClusterServlet</servlet-name>
    <url-pattern>browsestore</url-pattern>
    </servlet-mapping>
    </web-app>
    Contents of "weblogic.xml" . This deployment descriptor is used to deploy this application as "default application".
    <?xml version='1.0' encoding='UTF-8'?>
    <weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/90" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <!-- Add the context root here -->
    <context-root>/</context-root>
    </weblogic-web-app>
    c. Now deploy this war file to standalone weblogic server.
    d. Lets suppose you had deploy application "vas.war" on managed server "VASMS1", "VASMS2", which are running on host "vasunix1" and "vasunix2" on ports 8002. You can access the application directly "http://vasunix1:8001/vas" or "http://vasunix2:8002/vas".
    Now since you had set up "http proxy webserver" which does the load balancing, you can directly hit "http proxy webserver" url and it redirects traffic to "VASMS1" or "VASMS2". Lets suppose "Http proxy webserver" "VASMS3" is running on "vasunix1" on port "8003". You can access the application "http://vasunix1:8003/vas", this request is directed to MS1 or MS2.
    I hope this is what you are looking for. Have great day.
    Vijay Bheemineni.

  • Test client pinned to single node in production

    WL 6.1 sp2, Solaris 2.8
              Currently we have a bunch of SLSBs deployed in cluster out in production and
              a web tier that usually gets and invokes a single SLSB, and they're running
              happily. But everyone once in a while, we get an asymmetrical exception,
              where one node in the cluster is giving us bad results. What I like to do
              is write some simple test clients that can pin to a particular node and
              diagnose just that node while the regular client (web tier) still
              round-robins in production.
              Our SLSBs do not have <stateless-clustering> elemements at all in
              weblogic-ejb-jar.xml, so <stateless-bean-is-clusterable> defaults to true.
              My understanding is this means WL will round robin at 3 different levels:
              jndi Context, EJBHome and EJBObject, unless server-client is co-located in
              which WL will always pick the local object.
              What I have tried to do is to write the test client with a single url in
              PROVIDER_URL
              and PIN_TO_PRIMARY_SERVER set to true in InitialContext construction. This
              does not seem to work; by the time I get the EJBHome, create the EJBObject
              and invoke a test method, I see round-robin occuring. I can understand a
              reason FOR this behavior, and a counter-argument AGAINST this behavior. The
              reason why WL is still round-robining is because only the Context is pinned
              to the primary server; subsequent EJBHome and EJBObject are cluster-aware,
              and hence will round-robin, which in fact it is doing. But then the reason
              against this observation is that once I retrieve InitialContext, the
              subsequent EJBHome and EJBObject are all available locally. So shouldn't WL
              do co-location optimization and hence never round-robin???
              Here are some alternative framework I've thought up so I can write a test
              client that pins to a specific ejb server:
              1) Create a second set of DD's in weblogic-ejb-jar.xml, this time setting
              stateless-bean-is-clusterable to false, and have the test client us this for
              pinning.
              2) Expose a co-located servlet that will accept ejb invocation (via SOAP or
              customized RPC). Servlet invocation will always be ip-specific, and
              hopefully co-location of web and ejb tier will
              Problem with #1 is 2 sets of DD's, hence 2 sets of EJBHomes/Objects that
              behave slightly differently.
              Problem with #2 is the complexity of a new web tier just for pinning, which
              then also means the test client doesn't exactly replicate my actual web
              client calls.
              Is there a simple solution to isolate and diagnose a single node in a
              production cluster? Am I missing something? Much appreciated!
              Gene
              

    WL 6.1 sp2, Solaris 2.8
              Currently we have a bunch of SLSBs deployed in cluster out in production and
              a web tier that usually gets and invokes a single SLSB, and they're running
              happily. But everyone once in a while, we get an asymmetrical exception,
              where one node in the cluster is giving us bad results. What I like to do
              is write some simple test clients that can pin to a particular node and
              diagnose just that node while the regular client (web tier) still
              round-robins in production.
              Our SLSBs do not have <stateless-clustering> elemements at all in
              weblogic-ejb-jar.xml, so <stateless-bean-is-clusterable> defaults to true.
              My understanding is this means WL will round robin at 3 different levels:
              jndi Context, EJBHome and EJBObject, unless server-client is co-located in
              which WL will always pick the local object.
              What I have tried to do is to write the test client with a single url in
              PROVIDER_URL
              and PIN_TO_PRIMARY_SERVER set to true in InitialContext construction. This
              does not seem to work; by the time I get the EJBHome, create the EJBObject
              and invoke a test method, I see round-robin occuring. I can understand a
              reason FOR this behavior, and a counter-argument AGAINST this behavior. The
              reason why WL is still round-robining is because only the Context is pinned
              to the primary server; subsequent EJBHome and EJBObject are cluster-aware,
              and hence will round-robin, which in fact it is doing. But then the reason
              against this observation is that once I retrieve InitialContext, the
              subsequent EJBHome and EJBObject are all available locally. So shouldn't WL
              do co-location optimization and hence never round-robin???
              Here are some alternative framework I've thought up so I can write a test
              client that pins to a specific ejb server:
              1) Create a second set of DD's in weblogic-ejb-jar.xml, this time setting
              stateless-bean-is-clusterable to false, and have the test client us this for
              pinning.
              2) Expose a co-located servlet that will accept ejb invocation (via SOAP or
              customized RPC). Servlet invocation will always be ip-specific, and
              hopefully co-location of web and ejb tier will
              Problem with #1 is 2 sets of DD's, hence 2 sets of EJBHomes/Objects that
              behave slightly differently.
              Problem with #2 is the complexity of a new web tier just for pinning, which
              then also means the test client doesn't exactly replicate my actual web
              client calls.
              Is there a simple solution to isolate and diagnose a single node in a
              production cluster? Am I missing something? Much appreciated!
              Gene
              

Maybe you are looking for

  • Ipod Shuffle 2nd generation OneClick Problems

    Hi I have an ipod shuffle (2nd generation) and have downloaded the OneClickDigital media manager from the App store. This has allowed me to check out audiobooks from my library... and they download to this program and I can play them there....that mu

  • Down Payment in electronic account statement

    Hello experts, I have to involve down payment in electronic account statement. We use the electronic account statement to book and balance automaticaly incoming payment from debitors. But down payment requests from debitors (booked as noted items, sp

  • Reimporting WebService from Service Registry into WD Model (DC type = WD)

    Hello We're facing a strange behaviour when trying to reimport a webservice from our service registry. We renamed some attributes in our application service / business object (within CAF), generated, built and redeployed everything and then did the r

  • MX Audio issues

    Please help. I like Flash but am no genius in its ways... I have some 30" and 60" mpeg files I would like to put up on the net. When I try importing into Flash the Sorensen says that the audio will not import. When I try to change the mpegs into .mov

  • Macbookpro & Microsoft Office 2004-Entourage shutting down

    I have a 4 year old Macbook Pro running Microsoft Office 2004. Entourage started shutting down about 3 weeks ago when I would click on certain emails in both inbox and junk folder (spam emails mostly). I have latest patches, have you heard of this be