pub.schema:validate - Integration Server does not support this type of object in validation

Hi PD Team/All,

I have a simple code to validate the IData object against an existing IS Schema but I end up with the below error

[ISS.0062.9024] Integration Server does not support this type of object in validation >>>BasicData:root=>>>BasicData:num1=1,num2=[0]1,[1]1,[2]1,[3]1,[4]1,[5]1,[6]1,[7]1,[8]1,[9]1,[10]1,[11]1<<<<<<

Is this something that IS does not support? Kindly share if you have any workaround for this.

Below is my Schema.

<?xml version="1.0" encoding="UTF-8" ?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <xsd:element name="root">
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element name="num1" nillable="true" type="xsd:string"/>
        <xsd:element name="num2" nillable="true" type="xsd:string" maxOccurs="10"/>
      </xsd:sequence>
    </xsd:complexType>
  </xsd:element>
  <xsd:complexType name="test">
    <xsd:sequence>
      <xsd:element name="root" nillable="true">
        <xsd:complexType>
          <xsd:sequence>
            <xsd:element name="num1" nillable="true" type="xsd:string"/>
            <xsd:element name="num2" nillable="true" type="xsd:string" maxOccurs="10"/>
          </xsd:sequence>
        </xsd:complexType>
      </xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:schema>

Can anyone respond if there is a workaround for this or its a product limitation.

Hi,

Can you show the object you are trying to validate with this schema?

Best regards,

Hello,

The object is an IData document created out of the XSD that is attached. To validate I am passing the schema name only which is imported. However, I have managed to validate the same by converting the doc to XML node and then pass the node object.

Do you have any other workaround without XML node object?