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

Passing by Reference with COM

  • 1.  Passing by Reference with COM

    Posted Tue November 02, 2004 09:11 PM

    Hi,

    I am trying to use the WmWin32/win32.COM.dispatch:invoke service
    in wM 6.1. The COM function that I am trying to invoke has arguments
    that are passed by reference.

    It seems that I am able to successfully invoke my COM function from wM, however upon return the original parameters that I have passed have not been modified. I can return values from the COM function with no problems; it just appears to fail when I pass by reference (By fail I mean my results are not as expected, the invoke call itself still runs successfully).

    I have read in the Developers Guide, which states: the Integration Server copies strings by value. Since I am passing a String List to the COM function from webMethods is this the cause of my values not being modified upon return from the COM call? Does anyone know a workaround for this?

    Help would be greatly appreciated.


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