cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping issue:

Former Member
0 Kudos

Hello All:

In this following message mapping I am getting this error:

<b>"Mapping object message_File_mapping incomplete. Unable to continue execution

leaf node with minOccurs>0 and without mapping"</b>

Source - Traget

Fileinput 1:1 - FileOutput 1:1

Name 1:1 - Name 1:1

Firstname 1:1 - Firstname 1:1

LastName 1:1<----


>LastName 1:1

Regards,

N.S

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Narayanan,

If your min occurence for all the source fieds is 1, you have to map them!!!!

Otherwise, change the source field occurence as 0 to 1, if you do not plan to map them.

You will have to recreate your data type for this .

cheers,

Prashanth

P.S Please mark helpful answers

Former Member
0 Kudos

Prashant:

That worked.. Good job. You really deserve 10 points.

Regards,

N.S

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Narayanan,

Thanks for the points.:).

Whatever I have quoted was said by the others also. Please allot deserving points to them too.

Thanks again.

cheers,

Prashanth

Former Member
0 Kudos

Hi Narayanan,

Please check whether you have mapped all the mandatory fields.

Also check whether the corresponding field( which is mapped) is populated with values when you test your mapping.

cheers,

Prashanth

P.S Please mark helpful answers

former_member206604
Active Contributor
0 Kudos

Hi,

When are u getting this error is it while executing in the test tab are during the runtime.

Thanks

Prakash

Former Member
0 Kudos

Hello Prakash, Are u hinting that different types of errors are raised from within the mapping tool vs. runtime ?...for this type of error.

Narayanan, could u please post the complete input & output xml.

Ciao, Bhishma

Former Member
0 Kudos

I am getting is error in the test tab. I am trying to map only one field.

Regards,

N.S

Former Member
0 Kudos

Input:

Name 1:1

Firstname 1:1

<b>LastName 1:1</b>(I am trying to map only this field)

Output:

Name 1:1

FileOutput 1:1

Firstname 1:1

<b>LastName 1:1</b>

former_member206604
Active Contributor
0 Kudos

Hi Bhishma,

From the mapping he has posted nothing seems to be wrong and i was wondering if there is some problem with the source file during Rutime.

Hi N.S,

Are u sure you have mapped all the node right from the root? Ensure that all the target fields are mapped, as from your mapping posed here it looks fine. Last option check the data type once more and try do the mapping again.

hey you need to map all the fields since the target structure has 1.1 for everything. Either change the occurance in data type or do the mapping to avoid such errors.

Thanks

Prakash

Message was edited by: Prakash Arunachalam