webMethods

webMethods

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

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

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

    Posted Tue May 15, 2018 03:19 AM

    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>

    #Integration-Server-and-ESB
    #webMethods


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

    Posted Sat May 19, 2018 10:56 PM

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


    #Integration-Server-and-ESB
    #webMethods


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

    Posted Tue May 22, 2018 04:54 AM

    Hi,

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

    Best regards,


    #webMethods
    #Integration-Server-and-ESB


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

    Posted Wed May 23, 2018 09:35 AM

    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?


    #webMethods
    #Integration-Server-and-ESB