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.  SMTP Service error

    Posted Fri March 07, 2008 08:05 AM

    Hi,
    I am invoking the pub.client.SMTP service inside another parent service.
    While doing exception reporting the service throws the following error
    “Invalid BODY field: null”

    We have two environments Dev and QA.In dev the same service is working fine while in QA it is throwing this error.


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


  • 2.  RE: SMTP Service error

    Posted Mon March 10, 2008 05:15 AM

    It seems that data mapped to the “body” element of the smtp service input is null. Could you please verify doing trace.


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


  • 3.  RE: SMTP Service error

    Posted Mon March 10, 2008 12:14 PM

    Currently we are not mapping anything to the data element.
    The surprising thing is the same code works well in the Development environment but fails in QA environment


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


  • 4.  RE: SMTP Service error

    Posted Mon March 10, 2008 03:43 PM

    Randy,

    It seems weird since “body” input is a required field in SMTP service. Could you trace the code in dev and make sure that nothing is passed in Dev environment?


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


  • 5.  RE: SMTP Service error

    Posted Wed March 12, 2008 01:17 PM

    The same code is in Dev environment and nothing is maaped to the Body field


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


  • 6.  RE: SMTP Service error

    Posted Thu July 31, 2008 04:12 PM

    Check whether IS_6-5_SP3_SrvPrtcl_Fix4 is applied in QA environment - which might not be there in your Dev environment. As per this fix, the smtp service checks for required input parameters and issues a proper error message if one is missing. :frowning:

    Before this patch, one had to keep body field as null, to send any ‘HTML’ content as body.

    If you set body field to empty instead of null, the service will run fine and send the mail as it should be.

    Hope this helps.


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