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
Expand all | Collapse all

SAP BC MQSeries Adapter Get Message Handler

  • 1.  SAP BC MQSeries Adapter Get Message Handler

    Posted Tue December 03, 2002 08:03 PM

    Hi,

    I was able to PUT a message on a MQ queque, however, I am not able to GET from a queque. When I execute my service from the developer, the message disappears on the MQ queque, and I receive various error messages on from the developer (depending on the related services). Furthermore, I always receive an error message stating that “This service has no input fields”. I assume that no values are being passed. Am I not understanding this right? - Isn’t the message from the MQ queue an input field?

    Sorry about the girth of the message. Any comments would be greatly, greatly appreciated. Thank you.


    #Adapters-and-E-Standards
    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: SAP BC MQSeries Adapter Get Message Handler

    Posted Tue December 03, 2002 08:34 PM

    I’m not familiar with SAP, but I am with the webMethods MQSeries adapter for integration server. The message “Service has no input fields” always shows in developer for services which have no inputs defined on the input/output tab. This is not really a problem. The MQseries msgHandlers inputs are defined in administrator when you set up your queues/servers etc…On a GET, the “message” record is output. The message itself can be found in the object “messagebody” (inside the record “message”). I have a service which executes a GET message handler and passes the “messagebody” to VAN_VANConnectivity_writeToFile which takes an object as input. You must map the messagebody to a service which uses the same object type as input. Then you can convert the object to whatever you need using flow services (like bytestostring to convert th emessage to string)


    #Integration-Server-and-ESB
    #Adapters-and-E-Standards
    #webMethods


  • 3.  RE: SAP BC MQSeries Adapter Get Message Handler

    Posted Thu December 05, 2002 06:59 PM

    Is the object (message) from MQSeries always in a byte format?


    #Integration-Server-and-ESB
    #webMethods
    #Adapters-and-E-Standards