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.  Invoking COM Objects

    Posted Tue November 05, 2002 11:08 PM

    I am trying to invoke the sample wmVBDemo COM object using early binding.

    I have done the following:

    • modified the Demo to have the required function signature
      Public Sub helloWorld(inputs As webMethods.Values)
    • Copied the compiled DLL to the webMethods server and registered it successfully
    • From Developer, created a service and added the invoke flow with the following parameter values
      $progid = "wmVBDemo.Services
      $methodname = “helloWorld”
      $context = “inproc”
    • I have also created the input and output parameters.

    When I ran the service, I got the following error message:

    Could not run the service ‘invokeCOM’.
    win32.COM.WmUnknownException: CoInitialize has not been called.
    . Error Code = 800401f0

    Any ideas on how to overcome this problem.

    Thanks in advance.


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