cancel
Showing results for 
Search instead for 
Did you mean: 

Simple question on Message mapping

Former Member
0 Kudos

Hi all

I would just like to know if there is an element will be produced while testing the mapping if that element in the source structure has no node mapped on the target side or in other words if a source node doesnt contain a mapping, will that node be produced on the target mapping structure

regards

krishna

Accepted Solutions (1)

Accepted Solutions (1)

Shabarish_Nair
Active Contributor
0 Kudos

1. that node will not be produced if its occurance is 0-unbounded

2. if the occurance is 1-N then the mapping will throw and error.

3. to handle such a situation, right click the target node and disable it.

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>>>2. if the occurance is 1-N then the mapping will throw and error.

3. to handle such a situation, right click the target node and disable it

but there is no target so it cannot be 1-n

at least as far as I understand

so will just just not be produced

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Former Member
0 Kudos

Hi michal

Even if the target node doesnt exist , i find it being produced in the target and thats exactly why i raised the issue

regards

krishna

former_member184619
Active Contributor
0 Kudos

Hi krishna,

If I am not wrong.. you haven't mentioned it like that...

U asked about while <b>testing the mapping</b> which depends upon occurance of target node.. the same thing <b>Shabhari</b>sh replied.

However, U got the answer... also something to learn for me as well

Sachin

Former Member
0 Kudos

Hi sachin

good to know that my question has helped u to learn something new

Cheers

krishna

Answers (3)

Answers (3)

Former Member
0 Kudos

Thank you all for your responses.

Sachin, Sorry you probably where in a haste to answer the question while failing to understand it ( i clearly mentioned that there is no no present in the target that maps to the source node)

Michal. Thanks for your correct answers

Shabharish: Thanks for your correct answers and for answering what i did not ask , which i should have asked. Yes, i wanted to block one of the nodes from appearing in the target and your suggestion for "disabling the field" did the trick. You get the full points:)

regards

krishna

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>>> in other words if a source node doesnt contain a mapping, will that node be produced on the target mapping

it will not be produced in target

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

former_member184619
Active Contributor
0 Kudos

Hi,

If the target node is having occurance 1...1 or 1...unbound .. it' will be created on target side.. whether source exist or not..OR mapping exist or not.

however it will through runtime error.

Sachin