AnsweredAssumed Answered

ObjectDefintion issues + Example XML?

Question asked by cstaikos220972 on Oct 4, 2016
Latest reply on Oct 18, 2016 by jason_r_walsh667087

Hi there,

 

Is there any example XML document which demonstrates how to correctly form an XML Object Definition (which is parsed in Browser.getTypeDefinition() )?  It would be a huge help to see a working example from which to work.

 

Below is the XML I am returning and I am getting an error:

 

Failed processing profile: javax.xml.bind.UnmarshalException - with linked exception: [org.xml.sax.SAXParseException; Premature end of file.]

 

Thank you,

 

<?xml version="1.0" encoding="UTF-8"?>
<ObjectDefinitions>
    <definition elementName="intersection" inputType="json" outputType="json">
        <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" version="1.0"/>
        <intersection>
            <Period>value</Period>
            <Year>value</Year>
            <City>value</City>
            <Department>value</Department>
            <Letter>value</Letter>
            <value/>
        </intersection>
    </definition>
</ObjectDefinitions>

Outcomes