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.


#TechXchangePresenter
 View Only
  • 1.  xml file restriction

    Posted Sun May 11, 2003 10:19 PM

    may i know does xml file has size restriction ?i am using sapbc4.0 while my TPL(third Party logisctic ) using Biztalk server .When they send me a xml file which is 700KB and i got a error message "“XMLCoder decode invalid data type :com.wm.lang.xml.Document” ,and the xml data file miss up the last part
    eg: in the last line is
    <STOCK_IN_TRANSFER>0</STOCK_IN
    it miss up the end flag ,it should be :
    <STOCK_IN_TRANSFER>0</STOCK_IN_TRANSFER>

    any idea ?
    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: xml file restriction

    Posted Mon May 12, 2003 09:02 AM

    Usually if the file is too large the IS will give an OutOfMemory error when trying to do a documentToRecord or bytesToString (typically doc to rec). I would recommend saving the data to a file before you perform any operations. It could be because the data is incomplete…


    #webMethods
    #Integration-Server-and-ESB
    #webMethods-General


  • 3.  RE: xml file restriction

    Posted Tue May 13, 2003 01:36 AM

    may i know how to save to a file and how to get from file when perform operation.
    thanks


    #webMethods-General
    #Integration-Server-and-ESB
    #webMethods


  • 4.  RE: xml file restriction

    Posted Tue May 13, 2003 10:05 AM

    See the WmPublic NodeIterator service. This provides streaming parsing of XML files, so there is no limit to the file size assuming you can process the document in chunks.

    See the WmSamples large document complexMapping example for usage of the services.


    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods