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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Issue when loading XML as a stream

    Posted 05/11/09 07:51 PM

    Hi,

    I am trying to get an XML file using pub.xml.loadXMLNode service from an URL, in wM6.1. When I am try to load the XML as bytes, I get a valid XML and am able to convert to document. But when I load the the XML as stream, the XML is not loaded properly, and only partial download happens.
    I am trying to use the loadXMLNode with the pub.xml.getXMLNodeIterator service and due to the performance reasons will like to go with XML as stream. I even tried converting the stream to node using the pub.xml.xmlStringToXMLNode service, but that didn’t help either.
    If you have any idea what I might be doing wrong of there is something that I am missing, please let me know.

    Thanks,
    Sid


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


  • 2.  RE: Issue when loading XML as a stream

    Posted 05/12/09 09:51 PM

    Have you reviewed sample.complexMapping.test:runComplexMapping to see if there is a step or two you may be missing? Does stepping through your service show that you’re iterating over all the items you’re trying to retrieve?

    Is the XML that will be processed large enough to warrant the added processing complexity?


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


  • 3.  RE: Issue when loading XML as a stream

    Posted 06/03/09 01:19 AM

    I double checked my code and I don’t think I am missing any step. In fact when I migrated the code to 7.1.2, its working fine.
    The huge size of the XML i am trying to load warrants the use of XMLNodeIterator. It looks like this might be a bug in 6.1.


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


  • 4.  RE: Issue when loading XML as a stream

    Posted 06/03/09 05:12 PM

    Glad you were able to figure out what was happening.


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