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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Throwing error from XSL map

    Posted 04/26/16 06:12 PM

    Hi,
    I am using XSLT map. I have following piece of code in the XSLT map.

    <xsl:if test=“not(PONumber/test)”>
    <xsl:message terminate=“yes”>Missing expression</xsl:message>
    </xsl:if>
    <xsl:value-of select=“PONumber/test” />

    I see the service-pub.xslt.Transformations:transformSerialXML terminates with the error-Stylesheet directed termination.

    But it does not return my custom error message-“Missing expression”.

    Thanks
    Rajeev


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


  • 2.  RE: Throwing error from XSL map

    Posted 04/26/16 07:20 PM

    Is it supposed to? An XSL processor should output the message in some kind of output/console/stderr, but I’m not sure the service should return the message as the error text in the exception thrown (though it would be very intuitive, I agree).


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