IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

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
  • 1.  XML validations error

    Posted Mon July 17, 2006 03:24 PM

    I have to validate an xml which is being sent by a client, so i used
    XML:xmlStringToxmlNode and then Schema:validate.
    Can anyone please help me in solving the error below.

    [ISC.0082.9001] Error while parsing “[ISC.0042.9329] No namespace declaration defined for attribute xsi:noNamespaceSchemaLocation in element :form1”

    Thank you for the help


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 2.  RE: XML validations error

    Posted Mon July 17, 2006 04:06 PM

    The namespace prefix “xsi” is not associated with a namespace definition. Depending on the schema, you may be able to remove the attribute from the form1 element. If not, you will have to add a definition for the xsi prefix in the form

     xmlns:xsi="http://some namespace"

    Mark


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 3.  RE: XML validations error

    Posted Mon July 17, 2006 04:27 PM

    Thank you for the help.

    I have added nsDecls as you said(xsi:[URL=“http://www.xxsi.org/test”]http://www.xxsi.org/test[/URL]). the error i got back is : [ISC.0082.9010] Incomplete content - one or more child elements are expected

    I am unable to figure how i can solve it as i am new to webMethods


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 4.  RE: XML validations error

    Posted Mon July 17, 2006 04:36 PM

    My post said nothing about using nsdecls. You need to add the namespace declaration to your source document before attempting to validate it.

    Mark


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB