Skip to Content
avatar image
Former Member

REST Webservice delivered invalid xml. Is the wadl wrong?


I created a data store of Type Web Service REST. Everyting is valid and be imported and executed.

At the xml root element should be attributes. See WADL

<?xml version="1.0" encoding="UTF-8"?>">
<doc xml:lang="en" title="http://....."/>
<xs:element name="ProductInformation">
<xs:element name="Lists">
<xs:attribute name="ContextID" type="xs:string"/>
<xs:attribute name="WorkspaceID" type="xs:string"/>

<resources base="http://xxxx">
<resource path="restapi/integrationendpoints/xxx_import_lov/upload" id="Upload">
<doc xml:lang="en" title="Upload"/>
<method name="POST" id="Upload">
<doc xml:lang="en" title="Upload"/>
</request> ....

But the result is a invalid xml with the attributes without the tag.

<?xml version="1.0" encoding="utf-8"?>
<ProductInformation xmlns:xsi=""> WorkspaceID = „Main" ContextID = "GL-gl“



Has anybody a solution?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers