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.  recordToDocument and String Table

    Posted Thu January 31, 2002 03:02 PM

    I’m working on a project that uses Enterprise and B2B. I’m trying to handle a situation where an Enterprise event has a multi-dimension sequence. For example, int unitCosts.

    Using the B2B Admin tool to generate a record and a service, the resulting record definition uses a a String Table for unitCosts. So far, so good.

    Using recordToDocument results in something like the following(using [ and ] to avoid any potential interpretation errors on the angle brackets)

    [?xml version=“1.0”]
    [myEvent]
    [aString]some string[/aString]
    [unitCosts][[Ljava.lang.String;@8ed48b3[/unitCosts]
    [/myEvent]

    This is clearly a Bad Thing (and a result of a simple object.toString() call). Anyone have a work-around? Is this just a bug in recordToDocument? Does this work in versions later than 4.0.1 which I’m using?

    Also, it seems that multi-dimension sequences with more than 2 dimensions are not supported by B2B constructs at all. Any ideas?

    Rob


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


  • 2.  RE: recordToDocument and String Table

    Posted Thu January 31, 2002 03:24 PM

    Just as a note, using < and > inside of the forums is completely safe. We designed the forums to handle html and xml examples since we figured this kind of thing would crop up on occasion.

    So please feel free to embed and tags to your hearts content.

    Joe H.


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


  • 3.  RE: recordToDocument and String Table

    Posted Tue July 16, 2002 04:32 PM

    Hi,

    I’m working on a project and we need to convert a record list into a XML document. I’m using the recordToDocument service and it happens that I cannot convert the record into this xml. I only see the header (as needed by our customer, but I can see neither the tag names nor their values. Can you tell me how to do it, please?

    Thanks

    Ana


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