cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to upload xml Schema in Data Services

Former Member
0 Kudos

Hello,

We are trying to import a XML Schema in Data Services.

Under XML Schemas -> new, We select the XSD File, namespace and root element but an error message appears:

"Error: Cannot import metadata.

Element <TransactionLineExtension> is defined to be abstract type. A non-abstract type derived from http://www.naxml.org/POSBO/Vocabulary/2003-10-16, AbstractExtensionType> must be present in the Schema being imported. (BODI-1112338)"

Thanks and regards,

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Marta,

ca you pl tell what is  the source of the xml file which you must have used to create the xsd.


Try creating a xsd file using a tool trang.jar


Run trang.jar to generate the XSD from the XML page


The syntax would be like this


java -jar trang.jar D:\temp\XMLfile.xml D:\temp\XMLSchema.xsd.


keep the namespace null and root element as generated in the xsd file.

then try to import the schema

aasavaribhave
Advisor
Advisor
0 Kudos

check note 1558402 on limitations or issues and validating the wsdl with data services.

You can use soap UI to check that as well.