Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

<element xsi:type="T3" attribute="USD">1.99</element> mapping error ......

Dear All,

I have following source structure from WSDL file which cannot be change.

I have map it with target structure by one to one mapping. But getting following error.

Please guide me do I need to use some node function/technique to map this element with target?

because direct mapping is giving error.

Structure Occurance Type

-<Node> 1..1 T1

--<element> 1..1 T2

---<attribute> 1..1 T3

<element xsi:type="T3" attribute="USD">1.99</element> it is mapped one to one graphical mapping with <element></element>

But in mapping test I am getting error:

The prefix "xsi" for attribute "xsi:type" associated with an element type "<element>" is not bound.

com.sap.aii.utilxi.misc.api.BaseRuntimeException: The prefix "xsi" for attribute "xsi:type" associated with an element type "<element>" is not bound.

at com.sap.aii.mappingtool.tf7.rt.xparser.MTSaxHandler.run(MTSaxHandler.java:253)

at com.sap.aii.mappingtool.tf7.rt.xparser.XParser.run(XParser.java:79)

Caused by: org.xml.sax.SAXParseException: The prefix "xsi" for attribute "xsi:type" associated with an element type "<element>" is not bound.

Regards

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question