cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Message Mapping

Former Member
0 Kudos

Hi,

When I execute the message mapping I get the following error:

Cannot produce target element /ns0:GovTalkMessage/ns0:Body/ns1:IRenvelope/ns1:EndOfYearReturn/ns1:P14/ns1:Name/ns1:Fore. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd

How can this be solved?

Regards,

Aditi Naik

Accepted Solutions (0)

Answers (8)

Answers (8)

Former Member
0 Kudos

Hi,

You mapped some field to this target element /ns0:GovTalkMessage/ns0:Body/ns1:IRenvelope/ns1.

but that source field not populated the target, means source field doesn't having the data, thats why you got this type of message, so check in the sender data.

former_member193376
Active Contributor
0 Kudos

Hi

Your Target field must be a madatory field, so due to some contrainst or conditions, the value is not getting populated, when you execute the mapping.

Please Check it.

Thanks

Saiyog

GabrielSagaya
Active Contributor
0 Kudos

Can you put removecontext node function in mapping and see if it work???

Former Member
0 Kudos

Hi,

We will get this error when the source xml structure does not match with the source structure.

Check it.

Regards

Bhanu

Intelligroup.

Former Member
0 Kudos

Check your Source XML.......

Former Member
0 Kudos

hi,

make sure that you mapped source element to the corerct target element.....

regards

chandra

Former Member
0 Kudos

hi,

check ur source xml..

Its Not valied

"/ns0:GovTalkMessage/ns0:Body/ns1:IRenvelope/ns1:EndOfYearReturn/ns1:P14/ns1:Name/ns1:Fore"

The correct Value is

"/ns0:GovTalkMessage/ns0:Body/ns1:IRenvelope/EndOfYearReturn/P14/Name/Fore"

Regards,

Prakasu

former_member556603
Active Contributor
0 Kudos

Hi,

Once you go through this blog:

/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii

Satya