Skip to Content
avatar image
Former Member

message mapping

i have three elements at source side having cardinality as 0..1 each and I have to map them with the same target having cardinality as 0..1.

How to do that.Do i need to use duplicate subtree option?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

7 Answers

  • Sep 19, 2007 at 04:32 AM

    Are elements in both the structure at the same level?

    If yes, then do direct mapping 1:1. Does ur scenario has some other business requirement?

    Regards,

    Prateek

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 19, 2007 at 04:32 AM

    Rohit,

    If its same then map directly!!! If this is not ur reqmt, give the source and target with sample example.

    raj.

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 19, 2007 at 04:32 AM

    Hi

    U have cardinality of 0 ..1 so the elements can occur once so it should be one to one mapping . NO need for duplicating subtree

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 19, 2007 at 05:09 AM

    hi u ar asking about mapping.

    mapping we can do 2 way.

    1)structre mapping: if soucre and target has same structre drag total str into target

    2)field mapping: In this corresponding fields only will do.

    Award points if helpful.

    Brahma.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 19, 2007 at 05:10 AM

    Hi Rohit,

    You can do the direct mapping...like 1---->1

    and meanwhile if you could provide your source and target...sothat we can try to give you the solution.

    Regards,

    Ramana.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      go for 1:1

      try useOneAsMany if a field that only occurs once needs to be replicated as often as another field occurs in the outbound message so that the fields can be written to the target structure in pairs as a record.

      Message was edited by:

      Sunil Ojha

  • avatar image
    Former Member
    Sep 19, 2007 at 07:11 AM

    Hi Rohit,

    is your target strucutre would be populate with the values of three of source into single record or as three records.Give an example of how your source & target structres are present.

    Cheers

    Veera

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 19, 2007 at 02:06 PM

    Hi,

    It seems that you have one field on target side having cardinality as 0--1 and it has to be mapped to three different fields from source structure. Is that correct?

    In such a case, I think you will have to try the option of duplicate subtree on the target side.

    Bhavish

    Add comment
    10|10000 characters needed characters exceeded