Skip to Content

REST Webservice delivered invalid xml. Is the wadl wrong?

Jun 30, 2017 at 01:35 PM


avatar image
Former Member


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?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers