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.  Testing a Custom Handler

    Posted Tue May 16, 2006 01:30 PM

    I have implemented a Custom Handler for the content-type “application/x-rosettanet”. This content-type is meant for the RosettaNet documents. I also have registered this custom Handler in the IS. Now I am not sure how to test this custom handler. I mean how can we post a RosettaNet document to IS , so that this custom handler is called ? Any help in this regard will be of great help ! Do I have to create a Http Listener in IS?


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


  • 2.  RE: Testing a Custom Handler

    Posted Tue May 16, 2006 03:58 PM

    Not quite sure why you developed a custom content handler for Rosettanet since this is an xml file.

    You can test a content handler by posting a file to your IS with the content type of the file set to the specified mime type.

    If your files have a unique extension that is associated with a content type in the \IntegrationServer\lib\mime.types file you can also test your handler using FTP to send the file with the specified extension.

    Note that the output of your content handler will be placed into the pipeline of the service that gets invoked by your post or FTP send.

    Mark


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