cancel
Showing results for 
Search instead for 
Did you mean: 

Data type error

Former Member
0 Kudos

Hello every one

I have a target data type which has data type like shown below actually this bit is a part of whole big data type.

PARTNER(node)

NAME(element)

index (attribute)

ONETIME(element)

PARTNRID (element)

PARTNRTYPE (element)

PARTNER

NAME

index

ONETIME

PARTNRID

PARTNRTYPE

the problem is when i have created Message type only one Partner node is comming up, i mean like shown below

PARTNER

NAME

index

ONETIME

PARTNRID

PARTNRTYPE

Can any one help me with this please

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi chandrika,

I hope you have defined target message type like following

PARTNER(node) 0.....Unbounded 
NAME(element) 0....1 
index (attribute) 0....1 
ONETIME(element)  0....1 
PARTNRID (element) 0....1 
PARTNRTYPE (element) 0....1

Can you tell us what is your source message type?

I think you have to just change the Occurrence part in your Target message type

Regards

Ramesh

Answers (3)

Answers (3)

Former Member
0 Kudos

HI,

Make sure PARTNER(node) will be either 0..unbound and 1..unbound and check your message mapping program.

if you want to debug you mapping just right click on element display queue...

regards,

ganesh.

Former Member
0 Kudos

Thanks for your help,

But it is not working is there any other way

justin_santhanam
Active Contributor
0 Kudos

Chandrika,

Have the Partner Node occurrences as either 0..unbounded or 1..unbounded. This should solve your purpose. If you want to Parent Node to be recursive, then Data type is not the place to create it. You have to achieve that in mapping program provided you have the occurrences as unbounded.

Thanks!

Former Member
0 Kudos

Thanks for your help,

But it is not working is there any other way

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

But it is not working is there any other way

I guess this is a problem with contexts...What is your mapping logic for the parent node?

Regards,

Mark

Former Member
0 Kudos

That might be correct. What is the multiplicity of your Partner node in the message type ?