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.


#TechXchangePresenter
 View Only
  • 1.  email listening service

    Posted Thu January 29, 2009 08:57 PM

    I have the IS picking up mail out of lotus notes inbox and sending it to an IS service but the IS service is erroring out… see below:
    2009-01-29 11:45:30 PST [ISP.0068.0026D] Content type: multipart/alternative;
    boundary=“=alternative 006c83578825754d=” Subject: bpm.mailToIS:completeTask
    2009-01-29 11:45:32 PST [ISP.0068.0025D] No content handler for content type text/html. Service bpm.mailToIS:completeTask called without content handler.
    2009-01-29 11:45:32 PST [ISS.0014.0016T] Invoking service bpm.mailToIS:completeTask
    2009-01-29 11:45:32 PST [ISS.0014.0016T] Invoking service pub.flow:tracePipeline
    2009-01-29 11:45:32 PST [ISP.0090.0001C] — START tracePipeline [1/29/09 11:45 AM] —
    2009-01-29 11:45:32 PST [ISP.0090.0008C] 0 contentStream {java.io.ByteArrayInputStream} = ‘java.io.ByteArrayInputStream@60f572’
    2009-01-29 11:45:32 PST [ISP.0090.0008C] 0 testbody = null
    2009-01-29 11:45:32 PST [ISP.0090.0002C] — END tracePipeline —
    2009-01-29 11:45:32 PST [ISS.0014.0016T] Invoking service pub.mime:createMimeData
    2009-01-29 11:45:32 PST [ISS.0014.0016T] Invoking service pub.flow:debugLog
    2009-01-29 11:45:32 PST [ISP.0090.0003C] null
    2009-01-29 11:45:32 PST [ISS.0014.0016T] Invoking service pub.mime:getNumParts
    2009-01-29 11:45:32 PST [ISS.0014.0016T] Invoking service pub.mime:getBodyPartContent
    2009-01-29 11:45:32 PST [ISS.0014.0016T] Invoking service PSUtilities.stream:streamToString
    2009-01-29 11:45:32 PST [ISS.0014.0016T] Invoking service pub.flow:debugLog
    2009-01-29 11:45:32 PST [ISP.0090.0003C]
    testbody

    It says body is null and no subject line - and “No Content Handler for conet type text/html”

    Any suggestions would be appreciated… Thanks


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


  • 2.  RE: email listening service

    Posted Mon February 02, 2009 08:12 PM

    how did you configured your email port, check this part:
    Invoke service for each part of multipart message No
    Include email headers when passing message to content handler Yes


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


  • 3.  RE: email listening service

    Posted Wed February 04, 2009 01:49 AM

    when i uncheck invoke service for each part of multipart message - it then no longer processes so looks like i have to keep that checked


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


  • 4.  RE: email listening service

    Posted Thu February 05, 2009 01:35 PM

    It seems like you’re receiving HTML formatted email with only one content part? Try calling PSUtilities:streamToString with the input contentStream to make sure.


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


  • 5.  RE: email listening service

    Posted Thu February 05, 2009 05:09 PM

    Yes - it looks like when I had “Email body contains URL encoded input parameters” set to “No” it would send two messages - one html encoded and another text endcoded so setting the value to “Yes” gives me one message which looks like html endcoded - this is the result w/o an attachment:
    2009-02-05 08:35:04 PST [ISP.0068.0026D] Content type: multipart/alternative;
    boundary=“=alternative 005b161388257554=” Subject: bpm.mailToIS:testEmail
    2009-02-05 08:35:07 PST [ISP.0068.0025D] No content handler for content type text/html. Service bpm.mailToIS:testEmail called without content handler.
    2009-02-05 08:35:07 PST [ISS.0014.0016T] Invoking service bpm.mailToIS:testEmail
    2009-02-05 08:35:07 PST [ISC.0049.0005D] Invoke : index=1 depth=1
    2009-02-05 08:35:07 PST [ISS.0014.0016T] Invoking service PSUtilities.stream:streamToString
    2009-02-05 08:35:07 PST [ISC.0049.0005D] Invoke : index=1 depth=1
    2009-02-05 08:35:07 PST [ISS.0014.0016T] Invoking service pub.flow:debugLog
    2009-02-05 08:35:07 PST [ISP.0090.0003C]

    testbody

    2009-02-05 08:35:07 PST [ISS.0013.0002D] Registering multipart coder multipart/mixed;
    boundary=“----=_Part_12_21912271.1233851707388” for service {1}.
    2009-02-05 08:35:07 PST [ISP.0068.0004T] Processed 1 new message(s)

    but with an attachment - it seem to fail to launch and this is all i get:
    2009-02-05 08:37:49 PST [ISP.0068.0026D] Content type: multipart/mixed; boundary=“=mixed 005b583888257554=” Subject: bpm.mailToIS:testEmail


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


  • 6.  RE: email listening service

    Posted Sat February 14, 2009 12:42 AM

    turns out that it is most likely because there are issues with webMethods client listening to imap server on lotus notes and attachments

    switched the box to a pop3 instead of imap and things seemed to start functioning


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