Skip to Content
0
Former Member
May 04, 2012 at 02:52 AM

SUP Rest - Execution failed: The element type must be terminated by the matching end-tag

143 Views

Hi,

I am trying to create a REST web service MBO with PUT HTTP method.

But I keep on getting the error message below (Execution failed: The element type must be terminated by the matching end-tag)

I have checked my Request XSD and I found no error in the XSD

<?xml version="1.0" encoding="utf-8"?><xsd:schema attributeFormDefault="unqualified" elementFormDefault="qualified" version="1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema">  <xsd:element name="Timesheet">    <xsd:complexType>      <xsd:sequence>        <xsd:element maxOccurs="unbounded" name="TimesheetEntry">          <xsd:complexType>            <xsd:sequence>              <xsd:element name="Code" type="xsd:string" />              <xsd:element name="Date" type="xsd:string" />              <xsd:element name="WBSElement" type="xsd:string" />              <xsd:element name="ActivityCode" type="xsd:string" />              <xsd:element name="WorkType" type="xsd:string" />              <xsd:element name="Hours" type="xsd:string" />            </xsd:sequence>          </xsd:complexType>        </xsd:element>      </xsd:sequence>    </xsd:complexType>  </xsd:element></xsd:schema>

This is my request XML.

<?xml version="1.0"?><Timesheet><TimesheetEntry><Code> </Code><Date>20120409</Date><WBSElement>001510</WBSElement><ActivityCode>M1</ActivityCode><WorkType>WORK</WorkType><Hours>8.00</Hours></TimesheetEntry></Timesheet>

This is my structure data type values.

Any Thought ?

Regards,

HK Kang

Attachments