Concatenating fieldvalues and fieldnames in mapping

Hi everyone, I need some help from the experts in this forum about mapping in Integration Designer.
I have several parameters in a file (.TXT) that I need to extract then send to a web service. This web service needs to receive these parameters in a format mimicking XML. For example:
(TXT File) 002, Test, A704
these need to transform into
<Fieldname1>002</Fieldname1><Fieldname2>Test</Fieldname2><Fieldname3>A704</Fieldname3>
I can't use WSDL because the web service only receives a single string, not XML formatted. It needs to be a single string formatted by me.
I can concatenate the field values in mapping to create the string:
002TestA704
but I'm having difficulties putting the fieldnames in there. Is there a way to put them there in mapping?
Thanks in advance for your help.

Hi Sergio,
Check this michals weblog and a thread...
/people/michal.krawczyk2/blog/2005/11/01/xi-xml-node-into-a-string-with-graphical-mapping
Re: Changing XML message into a string
check if it suits your requirement...
Regards
Anand

Similar Messages

  • Remote System and Remote Key Mapping at a glance

    Hi,
    I want to discuss the concept of Remote System and Remote Key Mapping.
    Remote System is a logical system which is defined in MDM Console for a MDM Repository.
    We can define key mapping enabled at each table level.
    The key mapping is used to distinguish records at Data Manager after running the Data Import.
    Now 1 record can have 1 remote system with two different keys but two different records cannot have same remote system with same remote key. So, Remote key is an unique identifier for record for any remote system for each individual records.
    Now whenever we import data from a Remote System, the remote system and remote key are mapped for each individual records. Usually all records have different remote keys.
    Now, when syndicating back the record with default remote key is updated in the remote system that is sent by xml file format.
    If same record is updated two times from a same remote system, the remote key will be different and the record which is latest contains highest remote key.
    Now, I have to look at Data Syndication and Remote key.
    I have not done Data Syndication but my concept tell if there is duplicate record with same remote system but different remote keys both will be syndicated back. But if same record have two remote keys for same remote system then only the default remote key is syndicated back.
    Regards
    Kaushik Banerjee

    You are right Kaushik,
    I have not done Data Syndication but my concept tell if there is duplicate record with same remote system but different remote keys both will be syndicated back.
    Yes, but if they are duplicate, they needs to be merged.
    But if same record have two remote keys for same remote system then only the default remote key is syndicated back.
    This is after merging. So whichever remote key has tick mark in key mapping option(default) , it will be syndicated back.
    Pls refer to these links for better understanding.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/80eb6ea5-2a2f-2b10-f68e-bf735a45705f
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/7051c376-f939-2b10-7da1-c4f8f9eecc8c%0c
    Hope this helps,
    + An

  • INSTALLED ITUNES AND THE ERROR-MAPI WAS UNABLE TO LOAD THE INFORMATION SERVICE APLZOD-OCCURS. WHAT DO I DO.

    INSTALLED ITUNES AND THE ERROR-MAPI WAS UNABLE TO LOAD THE INFORMATION SERVICE APLZOD-OCCURS. WHAT DO I DO.

    Is this on a Windows XP, Vista or 7 system?

  • Windows Server 2003 and Microsoft Assessment and Planning tool (MAP)

    Preparing for the end of support for Windows Server 2003 (4/2015) and the need to migrate from Windows Server 2003, I have been directed on several sites run the Microsoft Assessment
    and Planning tool (MAP) to aid in identifying any software and hardware issues.   Apparently this tool has been recently updated (7/2014) and cannot be installed on a Windows Server 2003 system.  As it requires .NET Framework 4.5 to run.  Unfortunately,
    .NET Framework 4.5 cannot be installed on a Windows Server 2003 as it only supports .NET 4.0.x versions.  All older version links to the MAP tool have been updated to link directly to version 9.1.  Where can I get a MAP tool version that will run
    on Windows Server 2003?  

    Hi,
    Yes, i would agree with arnavsharma
    After the environment scan has been completed in Windows Server 2008r2 or another supported OS, MAP looks at computers running earlier versions of Windows.
    http://technet.microsoft.com/en-us/magazine/ee677580.aspx
    Meanwhile, for the MAP related issue, you'd better ask in MAP forums:
    https://social.technet.microsoft.com/Forums/en-US/home?forum=map
    Regards.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Is it possible to modify the tag structure tree and the role map via scripting?

    We use unstructured FrameMaker to produce training materials which we distribute as tagged PDF to meet accessibility requirements.
    When FrameMaker creates a tagged PDF, it does a fairly good job of populating the structure based on the PDF setup information for the paragraph formats in the FrameMaker documents. However, there are some limitations in the support that FrameMaker provides. For example, almost all paragraphs are assigned to the P role even if they are headings and should be mapped to H1-H6.
    We want to be able to easily post-process a PDF that has been generated from FrameMaker to fix some of the tag structure issues (including tag names and the role map) so that the PDF will provide the optimum experience for a user of the JAWS screen reader.
    I spent some time reading the SDK documentation but didn't find much information about manipulating a tagged PDF via the API, especially via scripting.
    Does anyone have any examples or references which explain how to do it?

    AFAIK, it's not possible with a script. You might want to ask in the SDK forum, as it could be possible with a plugin.

  • Crawled Property OFFICE:7 (document template) is not crawled and thus not mapped to managed property

    Hi,
    our customer (SharePoint Enterprise 2013) wants to crawl the information which Office template was used for creation of a Word/Excel/PowerPoint file for refining in his searchcenter.
    We did some research on that topic and found out, that this information should be crawled in the buildin crawled category OFFICE in the crawled porperty 7. But so far any attempts to get any mapping working on this crawled property have been insufficient/frustrating...
    What we did:
    Map the crawled property to the RefinableString00 Refiner, add this refiner to the refiner web Panel and then do a full crawl. So far the refiner does not show up, and when using the "Query tool" we see that the managed property is empty and not
    filled. For Debugging I tried to map nother crawled property to this refiner OFFICE:2 => Title of OFFICE:4 => Author which worked out just fine. So the refiner configuration seems to work but the crawler somehow does not seem to get the template Information
    out of my documents. I even opened the uploaded word documents in Word to control if the template Information is correctly readable and you can see in the properties of the file, that normal.dot is filled out.
    We even controlled the properties of the crawled property, it´s "isMappedToContents" is set to true.
    with Kind regards, I really Do hope someone has a clue
    David

    All the content which is crawled will be part of search results by default including all the data in the list and documents. Mapping crawl property with Managed property helps if you want to execute a keyword query : Title(column)=SharePoint or
    Title;SharePoint
    You will typically need to do this kindda mapping if you want to
    1. filter data based on column in Advanced Search Web Part
    2. Add your custom column as part of search results on result page.
    3. Add column based FILTER on Search result page.
    ********* Please mark as ANSWERED if you find this useful.************  

  • Table and Fieldname needed

    hi experts,
    Can any one tell me what is the table and field name for the following structure and fieldname.
    Structure :RF42B
    Fieldname : UMNNH
    Thanks in advance

    hi
    try these tables SKA1,SKAS,SKAT and SKB1
    hope this helps
    regards
    Aakash Banga

  • XI settings, change of Data Types and XI still maps old structures

    Hi,
    I have defined XI scenario, where synchronous WebService is being called, and XI calls RFC function module, which returns data. It was working perfectly, until
    I have changed the order of few fields in Data Type and added a few new (exactly as the changes in RFC function module).
    And now the WebService returns exception, on the first field added to the interface:
    <Trace level="1" type="T">com.sap.aii.utilxi.misc.api.BaseRuntimeException: RuntimeException in Message-Mapping transformation: Cannot produce target element /ns1:MT_BMS_Response/CUSTOMERS_PERSON/TITLE. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd at
    TITLE is added field.
    I have reactivated everything one by one again, clear cache from Integration Builder and Integration Directory, but it does not help and still old structures are being used in XI.
    I have tested the Interface Mapping and all fields are transformed correctly.
    Please help as it comes a little urgent and I have run out of ideas what to do to refresh the customizing of data types?
    Thank you in advance!

    Hi Peter,
    Yes, I am calling RFC function module from XI.
    After I changed the interface of RFC in SAP, I have imported this RFC once more to XI in Integration Builder and new structures appeared.
    And exception returned is that first new field added to the RFC and Data Type and so on, returns an exception.
    And returned XML structures (in message monitoring) appears to be still old structures.

  • [SOLVED] TeXLive: Installing font package and updating font map fails

    I am trying to install the newtx package, which is available here at CTAN [1].
    Since I don't want to mess with my TeXLive installation, I am trying to do that as a local user only.
    So I placed the package into ~/texmf/tex/latex/. , ran texhash on texmf/ to update my local ls-R, and so far everything works nicely; for example, the .sty files in that package can be seen:
    $ texhash texmf
    texhash: Updating /home/$USER/texmf/ls-R...
    texhash: Done.
    $ kpsewhich newtxmath.sty
    /home/$USER/texmf/tex/latex/newtx/newtxmath.sty
    Now, following the packages README [2], I need to update the my TeX font maps. Seems like 'updmap' is the right tool to do that for my user only:
    $ updmap --enable Map=ntx.map
    copy /etc/texmf/web2c/updmap.cfg => /home/$USER/.texlive/texmf-config/web2c/updmap.cfg
    Config file: "/home/$USER/.texlive/texmf-config/web2c/updmap.cfg"
    dvips output dir: "/home/$USER/.texlive/texmf-var/fonts/map/dvips/updmap"
    pdftex output dir: "/home/$USER/.texlive/texmf-var/fonts/map/pdftex/updmap"
    dvipdfm output dir: "/home/$USER/.texlive/texmf-var/fonts/map/dvipdfm/updmap"
    pxdvi output dir: "/home/$USER/.texlive/texmf-var/fonts/map/pxdvi/updmap"
    /usr/bin/updmap is creating new map files
    using the following configuration:
    LW35 font names : URWkb
    prefer outlines : true
    texhash enabled : true
    download standard fonts (dvips) : true
    download standard fonts (pdftex) : true
    create a mapfile for pxdvi : false
    Scanning for LW35 support files [ 3 files]
    Scanning for MixedMap entries [ 36 files]
    Scanning for KanjiMap entries [ 0 files]
    Scanning for Map entries [129 files]
    ERROR: The following map file(s) couldn't be found:
    ntx.map
    Did you run mktexlsr?
    You can delete non-existent map entries using the option
    --syncwithtrees.
    That's my problem: it can't find ntx.map, although I ran mktexlsr (which is texhash). So what to do?
    1: http://www.ctan.org/pkg/newtx
    2: http://ftp.uni-erlangen.de/mirrors/CTAN … wtx/README
    SOLUTION: The trick consists in placing all files into the necessary folders: *.map goes to fonts/map/newtx/, *.vf to fonts/vf/newtx/, and *.tfm to fonts/tfm/newtx/. Also, *.pfb needs to be placed in fonts/pfb/newtx/. *.enc files go to fonts/enc/newt/, and everything else remains in tex/latex/newtx/.
    Last edited by Stalafin (2012-06-20 12:32:16)

    ConnorBehan wrote:Oh it's part of the mlocate package. It will search your entire filesystem for a filename but there are other programs that do the same. I just meant, can you find ntx.map yourself? If so, you could put it in a new directory or let tex know with the TEXINPUTS environment variable.
    I really don't think that this makes a lot of sense as regards TeXlive; I have checked (with kpsewhich --var-value) if indeed all variables TEXMFHOME, TEXMFVAR, and TEXMFCONFIG are pointing to reasonable places, and indeed they do.
    I have found this guide:
    http://people.debian.org/~preining/TeX/ … n/ch4.html
    Although it is Debian, I figure one can easily adapt it. So I tried that, and placed ntx.map in TEXMFHOME/fonts/map/$SYNTAX/newtx/ntx.map . I wasn't sure about $SYNTAX, so I just tried it with dvips. This time, $ updmap --enable Map=ntx.map did actually work, and there were not errors:
    $ updmap --enable Map=ntx.map
    copy /etc/texmf/web2c/updmap.cfg => /home/janis/.texlive/texmf-config/web2c/updmap.cfg
    Config file: "/home/$USER/.texlive/texmf-config/web2c/updmap.cfg"
    dvips output dir: "/home/$USER/.texlive/texmf-var/fonts/map/dvips/updmap"
    pdftex output dir: "/home/$USER/.texlive/texmf-var/fonts/map/pdftex/updmap"
    dvipdfm output dir: "/home/$USER/.texlive/texmf-var/fonts/map/dvipdfm/updmap"
    pxdvi output dir: "/home/$USER/.texlive/texmf-var/fonts/map/pxdvi/updmap"
    /usr/bin/updmap is creating new map files
    using the following configuration:
    LW35 font names : URWkb
    prefer outlines : true
    texhash enabled : true
    download standard fonts (dvips) : true
    download standard fonts (pdftex) : true
    create a mapfile for pxdvi : false
    Scanning for LW35 support files [ 3 files]
    Scanning for MixedMap entries [ 36 files]
    Scanning for KanjiMap entries [ 0 files]
    Scanning for Map entries [130 files]
    Generating output for dvipdfm...
    Generating output for ps2pk...
    Generating output for dvips...
    Generating output for pdftex...
    Files generated:
    /home/$USER/.texlive/texmf-var/fonts/map/dvips/updmap:
    11493 2012-06-19 21:57:22 builtin35.map
    15956 2012-06-19 21:57:22 download35.map
    523074 2012-06-19 21:57:22 psfonts_pk.map
    747564 2012-06-19 21:57:22 psfonts_t1.map
    747559 2012-06-19 21:57:22 ps2pk.map
    14 2012-06-19 21:57:24 psfonts.map -> psfonts_t1.map
    /home/$USER/.texlive/texmf-var/fonts/map/pdftex/updmap:
    747566 2012-06-19 21:57:23 pdftex_dl14.map
    745992 2012-06-19 21:57:23 pdftex_ndl14.map
    15 2012-06-19 21:57:24 pdftex.map -> pdftex_dl14.map
    /home/$USER/.texlive/texmf-var/fonts/map/dvipdfm/updmap:
    339 2012-06-19 21:57:22 kanjix.map
    Transcript written on "/home/$USER/.texlive/texmf-var/web2c/updmap.log".
    /usr/bin/updmap: Updating ls-R files.
    There indeed now is a 'Map ntx.map' at ~/.texlive/texmf-config/web2c/updmap.cfg . However, compilation of a document containg `\usepackage{newtx}` still fails (see the bttom of this wall of text):
    pdflatex test.tex
    This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2012/dev/Arch Linux)
    restricted \write18 enabled.
    entering extended mode
    (./test.tex
    LaTeX2e <2011/06/27>
    Babel <v3.8m> and hyphenation patterns for english, dumylang, nohyphenation, ge
    rman-x-2011-07-01, ngerman-x-2011-07-01, afrikaans, ancientgreek, ibycus, arabi
    c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danis
    h, dutch, ukenglish, usenglishmax, esperanto, estonian, ethiopic, farsi, finnis
    h, french, galician, german, ngerman, swissgerman, monogreek, greek, hungarian,
    icelandic, assamese, bengali, gujarati, hindi, kannada, malayalam, marathi, or
    iya, panjabi, tamil, telugu, indonesian, interlingua, irish, italian, kurmanji,
    lao, latin, latvian, lithuanian, mongolian, mongolianlmc, bokmal, nynorsk, pol
    ish, portuguese, romanian, russian, sanskrit, serbian, serbianc, slovak, sloven
    ian, spanish, swedish, turkish, turkmen, ukrainian, uppersorbian, welsh, loaded
    (/usr/share/texmf-dist/tex/latex/base/minimal.cls
    Document Class: minimal 2001/05/25 Standard LaTeX minimal class
    ) (/usr/share/texmf-dist/tex/latex/libertine/libertine.sty
    (/usr/share/texmf-dist/tex/latex/graphics/keyval.sty)
    (/usr/share/texmf-dist/tex/generic/ifxetex/ifxetex.sty)
    (/usr/share/texmf-dist/tex/generic/oberdiek/ifluatex.sty)
    (/usr/share/texmf-dist/tex/latex/lettrine/lettrine.sty
    Loading lettrine.cfg
    (/usr/share/texmf-dist/tex/latex/lettrine/lettrine.cfg))
    (/usr/share/texmf-dist/tex/latex/tools/calc.sty)
    (/usr/share/texmf-dist/tex/latex/libertine/fxl.inc)
    (/usr/share/texmf-dist/tex/latex/libertine/fxb.inc)
    (/usr/share/texmf-dist/tex/latex/libertine/fxk.inc)
    (/usr/share/texmf-dist/tex/latex/libertine/fxi.inc))
    (/usr/share/texmf-dist/tex/latex/base/fontenc.sty
    (/usr/share/texmf-dist/tex/latex/base/t1enc.def))
    (/usr/share/texmf-dist/tex/latex/mh/mathtools.sty
    (/usr/share/texmf-dist/tex/latex/mh/mhsetup.sty)
    (/usr/share/texmf-dist/tex/latex/amsmath/amsmath.sty
    For additional information on amsmath, use the `?' option.
    (/usr/share/texmf-dist/tex/latex/amsmath/amstext.sty
    (/usr/share/texmf-dist/tex/latex/amsmath/amsgen.sty))
    (/usr/share/texmf-dist/tex/latex/amsmath/amsbsy.sty)
    (/usr/share/texmf-dist/tex/latex/amsmath/amsopn.sty)))
    (/home/janis/texmf/tex/latex/newtx/newtxmath.sty
    `newtxmath' v0.96, 2012/06/05 Math macros based on txfonts (msharpe)
    (/usr/share/texmf-dist/tex/generic/kastrup/binhex.tex)
    (/usr/share/texmf-dist/tex/latex/xkeyval/xkeyval.sty
    (/usr/share/texmf-dist/tex/generic/xkeyval/xkeyval.tex))) (./test.aux)
    (/home/janis/texmf/tex/latex/newtx/omlntxmi.fd)
    (/home/janis/texmf/tex/latex/newtx/omsntxsy.fd)
    (/home/janis/texmf/tex/latex/newtx/omxntxex.fd)
    (/home/janis/texmf/tex/latex/newtx/untxexa.fd)
    (/usr/share/texmf-dist/tex/latex/libertine/t1fxl.fd)
    (/usr/share/texmf-dist/tex/latex/graphics/graphicx.sty
    (/usr/share/texmf-dist/tex/latex/graphics/graphics.sty
    (/usr/share/texmf-dist/tex/latex/graphics/trig.sty)
    (/usr/share/texmf-dist/tex/latex/latexconfig/graphics.cfg)
    (/usr/share/texmf-dist/tex/latex/pdftex-def/pdftex.def
    (/usr/share/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
    (/usr/share/texmf-dist/tex/generic/oberdiek/ltxcmds.sty)
    (/usr/share/texmf-dist/tex/context/base/supp-pdf.mkii
    [Loading MPS to PDF converter (version 2006.09.02).]
    ))) (/usr/share/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
    (/usr/share/texmf-dist/tex/generic/oberdiek/ifpdf.sty))
    (/usr/share/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
    (/usr/share/texmf-dist/tex/latex/oberdiek/grfext.sty
    (/usr/share/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty))
    (/usr/share/texmf-dist/tex/latex/oberdiek/kvoptions.sty
    (/usr/share/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
    (/usr/share/texmf-dist/tex/generic/oberdiek/etexcmds.sty)))
    (/usr/share/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg)))
    kpathsea: Running mktextfm ntxmi
    /usr/share/texmf/web2c/mktexnam: Could not map typeface abbreviation tx for ntxmi.
    /usr/share/texmf/web2c/mktexnam: Need to update /usr/share/texmf-dist/fonts/map/fontname/special.map?
    mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ntxmi
    This is METAFONT, Version 2.718281 (TeX Live 2012/dev/Arch Linux)
    kpathsea: Running mktexmf ntxmi
    ! I can't find file `ntxmi'.
    <*> ...e:=ljfour; mag:=1; nonstopmode; input ntxmi
    Please type another input file name
    ! Emergency stop.
    <*> ...e:=ljfour; mag:=1; nonstopmode; input ntxmi
    Transcript written on mfput.log.
    grep: ntxmi.log: No such file or directory
    mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ntxmi' failed to make ntxmi.tfm.
    kpathsea: Appending font creation commands to missfont.log.
    ! Font OML/ntxmi/m/it/10=ntxmi at 10.0pt not loadable: Metric (TFM) file not fo
    und.
    <to be read again>
    relax
    l.13 \begin{equation*}
    EDIT: Of course, everything else from the newtx pacakge was still in TEXMFHOME/tex/latex/newtx/ .
    Last edited by Stalafin (2012-06-19 20:08:30)

  • How can I get rid of ios6 ? I have had this iPad for less than 2 weeks and,ade the mistle of "upgrading" to ios6 and now my map is completely useless.  Feel like I have been robbed

    how can I get rid of ios6 ? I have had this iPad for less than 2 weeks and made the mistake of "upgrading" to ios6 and now my map is completely useless.  Feel like I have been robbed

    There are alternatives. But none of them have Google street view, able to work on iOS 6. Apple should have offered this as a beta version, for a few more months instead of inflicting us with an inferior product. This iPad will probably be my last Apple product. A shame, because until last a few days ago, I thought the iPad and iPhone were fantastic.
    Apple should quit their petty squabbling with, Google and Samsung and concentrate on supplying the best product.
    Google and Samsung must be enjoying this particular fiasco.

  • Global templates and GASAP road map

    Hello sap gurus,
    1)Could you please send the sample global templete attach format.
    2)How do we create the global templete how to use it for rollout phase and
    3)Also send me detailed  documentation for the GASAP Road map  .

    Hello Divya,
    please try to avoid double/tripple posts. Let us refer to your post:
    sample global templete  and GASAP road map
    Regards
    Gregor

  • Value Mapping and Dynamic Value Mapping

    Hi Experts,
    Could you please give a example for Value Mapping and Dynamic Value Mapping?
    Regards
    Sara

    Sara,
    I am assuming that you are going to use the Receiver JDBC adapter to select the data from the database.
    In this case, take a look at this blog of mine to understand how te dataypes should be created for the request and response JDBC Select Query.
    /people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step
    The only difference would be that in the mapping when you create the Request Message for the JDBC adapter, the columns you create would be determined from the Source,
    i.e, if value = 1 , only the required Columns should be mapped as Blank constants,
    likewise for the other requirement.
    the columns you do not want to select you should not create them in theoutput of your request mapping.
    Regards
    Bhavesh

  • Table that stores the business role and user id mapping

    Hi,
    i want to know the table that stores the Business role and the business role and user id mapping in CRM system.
    Thanks in Advance.
    Regards,
    Pricy

    Hi Mary,
    There is no direct table but there is a way to find it.
    HRP1263 is the table where business roles are stored when maintained at org level. These are stored against the Position.
    For getting user ID and position linkage refer table HRP1001.
    In HRP1001 table use below criteria to get the User and Position.
    OTYPE = CP
    SCLAS = US
    SOBID = User ID
    ENDDA = 31.12.9999
    Get the OBJID
    Query the HRP1001 table again with following
    OTYPE = CP
    OBJID = OBJID from above Query
    ENDDA = 31.12.9999
    SCLAS = S
    SOBID = Thats Position.
    Pass the position to HRP1263 as below.
    OTYPE = S
    OBJID = POSITION
    PROFILE - Thats business role assigned for the given position and user.
    Hope this is helpful.
    Regards,
    Naresh

  • Datastore id and flat class mapping

    Hi,
    I have
    - an abstract persistent class A with 2 concrete persistent subclasses A1
    and A2. I'm using datastore identity and flat class mapping.
    - a class B that has a field fb with a one-many mapping to A1 objects
    (Hashset).
    - a class C that has a field fc with a one-many mapping to A objects
    (Hashset).
    - an instance a1 of A1 (id = 5)
    - an instance b of B in which fb contains a1
    - an instance c of C in which fc contains a1
    When loading b and then c, i happen to have 2 instances representing a1 in
    the same persistent manager. the one loaded in b has A1-5 as ObjectId and
    the one loaded in c has A-5 as ObjectId. Thus those two objects have a
    different object id while they represents the same data.
    I would expect to find only one.
    Do you have any idea ?
    Thanks,
    Laurent Czinczenheim

    I found the problem! There is no more jdo-1.0.1.jar in the kodo rar :-)
    Czinczenheim wrote:
    I have only kodo in the rar. If i put the kodo rar 3.1.3, i can deploy it.
    if i put the kodo rar 3.2.0, i cannot and get the previous exception. Is
    there any difference in the packages used by kodo 3.2.0 (other than kodo
    packages) that could interfer with the one i could have in my jboss lib
    directories ?
    thanks
    laurent
    Stephen Kim wrote:
    Kodo should either not be in the classpath and only in the rar or
    viceversa. It still seems like a classpath issue. Can you inspect your
    kodo-jdo-runtime.jars for the existence of kodo/util/FatalUserException?
    Czinczenheim wrote:
    I have only one version of Kodo in my classpath. Therefore, when i
    replace
    the rar by the one from version 3.1.3 (or any older version), i don'thave
    any problem to deploy the kodo resource adapter.
    Stephen Kim wrote:
    It appears that you may be having classpath problems. Do you have
    multiple versions of Kodo in the classpath or ear/rar?
    Czinczenheim wrote:
    Marc,
    i wanted to try it with the new 3.2 beta version but i can't even deploy
    kodo 3.2.b1 in JBoss 3.2.3. Here is the stacktrace i get when deploying
    the rar (My kodo-ds.xml is the same as the one i used with kodo 3.1.3):
    11:47:52,975 INFO [RARDeployment] Starting
    11:47:53,036 WARN [ServiceController] Problem starting service
    jboss.jca:service=ManagedConnectionFactory,name=jdo/pmf/prisma01
    java.lang.NoClassDefFoundError: kodo/util/FatalUserException
         at java.lang.Class.getDeclaredConstructors0(Native Method)
         at java.lang.Class.privateGetDeclaredConstructors(Class.java:1610)
         at java.lang.Class.getConstructor0(Class.java:1922)
         at java.lang.Class.newInstance0(Class.java:278)
         at java.lang.Class.newInstance(Class.java:261)
         at
    org.jboss.resource.connectionmanager.RARDeployment.startService(RARDeployment.java:533)
    >>>
         at
    org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    >>>
         at java.lang.reflect.Method.invoke(Method.java:324)
         at
    org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    >>>
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
         at
    org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
    >>>
         at $Proxy12.start(Unknown Source)
         at org.jboss.system.ServiceController.start(ServiceController.java:394)
         at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
         at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    >>>
         at java.lang.reflect.Method.invoke(Method.java:324)
         at
    org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    >>>
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
         at $Proxy4.start(Unknown Source)
         at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    >>>
         at java.lang.reflect.Method.invoke(Method.java:324)
         at
    org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    >>>
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
         at
    org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:177)
         at $Proxy18.start(Unknown Source)
         at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:231)
         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:824)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:632)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    >>>
         at java.lang.reflect.Method.invoke(Method.java:324)
         at
    org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    >>>
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
         at $Proxy6.deploy(Unknown Source)
         at
    org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
    >>>
         at
    org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
    >>>
         at
    org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
    >>>
         at
    org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)
    >>>
         at
    org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
         at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
         at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    >>>
         at java.lang.reflect.Method.invoke(Method.java:324)
         at
    org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    >>>
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
         at
    org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
    >>>
         at $Proxy0.start(Unknown Source)
         at org.jboss.system.ServiceController.start(ServiceController.java:394)
         at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
         at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    >>>
         at java.lang.reflect.Method.invoke(Method.java:324)
         at
    org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    >>>
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
         at $Proxy4.start(Unknown Source)
         at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:824)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:632)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    >>>
         at java.lang.reflect.Method.invoke(Method.java:324)
         at
    org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    >>>
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
         at $Proxy5.deploy(Unknown Source)
         at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)
         at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
         at org.jboss.Main.boot(Main.java:150)
         at org.jboss.Main$1.run(Main.java:388)
         at java.lang.Thread.run(Thread.java:534)
    Thanks for your help since the initial bug i described is critical forus.
    Laurent
    Marc Prud'hommeaux wrote:
    Laurent-
    I believe I have seen that problem, but I can't recall the exact
    symptoms (or the exact bug number). However, I do think that it was
    fixed for Kodo 3.2. Can you download the 3.2 beta and see if the
    problem
    still occurs?
    If it does still happen, can you provide us with your .jdo, .mapping,
    and .java files for the classes so we can take a look?
    In article <[email protected]>, Czinczenheim wrote:
    Hi,
    I have
    - an abstract persistent class A with 2 concrete persistent subclasses
    A1
    and A2. I'm using datastore identity and flat class mapping.
    - a class B that has a field fb with a one-many mapping to A1 objects
    (Hashset).
    - a class C that has a field fc with a one-many mapping to A objects
    (Hashset).
    - an instance a1 of A1 (id = 5)
    - an instance b of B in which fb contains a1
    - an instance c of C in which fc contains a1
    When loading b and then c, i happen to have 2 instances representing
    a1
    in
    the same persistent manager. the one loaded in b has A1-5 as ObjectIdand
    the one loaded in c has A-5 as ObjectId. Thus those two objects have a
    different object id while they represents the same data.
    I would expect to find only one.
    Do you have any idea ?
    Thanks,
    Laurent Czinczenheim
    Marc Prud'hommeaux
    SolarMetric Inc.
    Steve Kim
    [email protected]
    SolarMetric Inc.
    http://www.solarmetric.com
    Steve Kim
    [email protected]
    SolarMetric Inc.
    http://www.solarmetric.com

  • My requirement is to update 3 valuesets daily based on data coming to my staging table. What is the API used for this and how to map any API to our staging table? I am totally new to oracle and apps. Please help. Thanks!

    My requirement is to update 3 valuesets daily based on data coming to my staging table. What is the API used for this and how to map any API to our staging table? I am totally new to oracle and apps. Please help. Thanks!

    Hi,
    You could use FND_FLEX_LOADER_APIS.UP_VALUE_SET_VALUE to upload them from staging table (I suppose you mean value set values...).
    You can find a sample scripts if you google around.
    What do you mean "how to map any API to our staging table" ?
    You should do at least the following mapping (which column(s) in the staging table will provide these information):
    - the 3 value sets name which you're going to update/upload (I suppose these are existing value sets or which have been already created)
    - the value set values and  description
    Try to start with something and if there is any issues the community could then help... but for the time being with the description of the problem you have provided, that's the best I can do...

Maybe you are looking for