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

Issue with getXMLNodeIterator- Node is not XML

  • 1.  Issue with getXMLNodeIterator- Node is not XML

    Posted Fri January 20, 2012 01:44 AM

    Hi All,

    I’m developing a process where we use getXMLNodeIterator. here are the first basic 3 steps in my process…

    1.   We getFile (as stream)
      
    2.   Coverting xmlString to XMLNode
      
    3.   getXMLNodeIterator (with settings   [B]criteria: Row ; movingWindow: true[/b])
      

    I’m trying to Iterate over Rows tags in below mentioned xml formats, XML1 works. But XML2 fails on above step3 saying [ISC.0042.9007] Node is not XML
    In my process, I’m getting xml from different source as defined in XML2 structure. How do I iterate over Rows if i get xml as defined in XML2 structure. i have to make XML2 structure work to iterate.

    Is getXMLNodeIterator works for only structures as defined as XML1

    Please help me.

    Thanks in Advance

    XML1:

    <?xml version="1.0" encoding="windows-1252" standalone="yes"?> dfsaf sdfsd dsfsd 123 232 23

    XML2:

    <xs:schema id="Dataset" _ _ _ _ _ _ _ _ _ _ _xsd defined here_ _ _ _ _ _ _ _ _ _ _ __ _ _ _ _ _ _ _ __ _ _ dfsaf sdfsd dsfsd 123 232 23

    Thanks
    Sandeep


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


  • 2.  RE: Issue with getXMLNodeIterator- Node is not XML

    Posted Fri January 20, 2012 04:24 AM