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.  Carriage Return increasing document size

    Posted Wed July 23, 2003 06:49 PM

    We have a requirement to modify the xcbl content we receive and then put that content into a C1 Envelope. However, b/c we use bizdocToRecord in order to modify the content of the xCBL, we then have to insert the resultant xcbl that is returned by bizdocToRecord(i.e. includes carriage-returns/tabs to show correct xcbl strucutre) into a C1 evelope. Is there any way to work with the xcbl formatted content returned from bizdocToRecord and convert it back to the non-formatted xcbl (i.e. without carriage-returns and tabs)? We have a 10mb limit for documents and the xcbl formatting nearly doubles the size of documents we receive.

    Thanks,
    Bryan.


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


  • 2.  RE: Carriage Return increasing document size

    Posted Wed July 23, 2003 10:02 PM

    You may find the following sample from the shareware area helpful:

    [url=“wmusers.com”]wmusers.com

    You’ll update the code to not do indenting and not insert newlines.


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


  • 3.  RE: Carriage Return increasing document size

    Posted Thu July 24, 2003 01:29 AM

    Thanks. I’ll look into this. I was hoping wM would have provided a service that did the same (or a parameter that could be passed that would prevent the carriage-return or tabs from being inserted or would strip them out after inserting). If anyone knows of this please let me know.


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