KB Article #176777

Map cannot be deployed to B2Bi, because a Bdoc is not validated

Problem

Failure to deploy a mapping flow to B2Bi from MappingServices with the following error:

Invalid content was found starting with element 'ParentElement'. One of '{LeafElement, Facet}' is expected.

However, the BDoc has that element and everything seems correct in its definition.

Resolution

The XML Bdoc created from the input XSD when the new WSDL map wizard is used, is different from the one which is generated when running the "DTD/XML/Schema Description" import wizard (on the same XSD).

In the temporarily generated schema, the difference is on a type definition with mixed="true".

The workaround is to change ' mixed="true" ' to ' mixed="false" ' for the following complex types in xmldsig-core-schema.xsd.

An official fix will be provided in SP3.