#1 2012-06-13 14:54:57

david_ubi
Member
Registered: 2012-03-30
Posts: 25

TMDMOutput NameSpaceProblem

I have an MDM Entity with sub elements, when i want to add.
In my TMDMOutPut i add namespace xsi to the root  element.
Probleme is when my job add subelement, i see namespace attached to my complex field not to the root, and after if i want read result with TMDMInput i can't get data. If i move namespace to node element all is ok.

Code:

<Societe>
<Id>11332</Id>
<Nom>TEST</Nom>
<Contacts>
    <Contact>
      <SpecialisationContactType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SpecialisationContactTelephone">
        <NatureTelephoneFk>[1]</NatureTelephoneFk>
        <Numero>+33 02 22 52 52 00</Numero>
      </SpecialisationContactType>
    </Contact>
  </Contacts>
</Societe>

It's a bug? Or there is a way to avoid this problem?


Regards

Last edited by david_ubi (2012-06-13 14:55:53)

Offline

 

Board footer

Powered by FluxBB