cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping Error

Former Member
0 Kudos

Hi! I get an error message in message mapping "Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd".

Does anyone know what causes this?

thanks!

Edited by: Luis Nazario on Jun 13, 2008 1:33 PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Its indicating that some of your Receiver Fields are missing as they have pased with Null values

Under this error you will get the field Names also.

In Mapping of those fields just add

Source ---> mapWithDefault([]) -


> Target

This will create the empty node for this field on target side.

Thanks

swarup

Former Member
0 Kudos

If the element is mapped in Design but does not exist in the testfile can it then be an error?

GabrielSagaya
Active Contributor
0 Kudos

You are correct.

check with this graphical mapping too.

<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes" />

<xsl:template match="/">

<ns1:ABCD>

<xsl:copy-of select="XYZ" />

</ns1:ABCD>

</xsl:template>

</xsl:stylesheet>

aashish_sinha
Active Contributor
0 Kudos

HI,

Yes this is possible. Supply the desired value to it or send the null value atleast for it so that it understand there is something for it.

Regards

Aashish Sinha

PS ; reward points if helpful

Answers (2)

Answers (2)

GabrielSagaya
Active Contributor
0 Kudos

First try a cache refresh in SXI_CACHE.

Whenever you change the source datatype, even if you activate it, you need to reload the message type in your message mapping

Independently test the mappings and IMs.

Former Member
0 Kudos

hi

*for Xml validation *

/people/shilpa.kchakravarthy/blog/2008/01/17/xml-validation

SOA Middleware: XML validation error handling

/people/sunil.ojha5/blog/2008/03/21/soa-middleware-xml-validation-error-handling

just ensure that all the target side madatory fields are mapped correctly with their occurences..

regards

chandra