webMethods

webMethods

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.  Validate Input/output

    Posted Fri July 21, 2017 09:21 AM

    How does Validate Input/ Validate output works in invoke service?

    I tried calling getFile service in try block and made the Validate input property of the getFile invoke step as true. the input of the service is filename. In the catch block I placed getLastError

    When I run the service without passing the filename input, it is not returning any error.

    Why is this happening?

    Did I implement it wrong way? what is the correct implementation of validate input/output at invoke step level?


    #webMethods
    #Integration-Server-and-ESB
    #webMethods-General


  • 2.  RE: Validate Input/output

    Posted Fri July 21, 2017 12:22 PM

    Are there any messages in the server log or error.log?

    Did you try to debug the service and see whats happening?

    Regards,
    Holger


    #webMethods-General
    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: Validate Input/output

    Posted Mon July 24, 2017 04:19 PM

    Looks to me like a bug. Can you raise it to SAG support to confirm? I did try with latest IS fix levels of 9.12, I am able to reproduce it.


    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods


  • 4.  RE: Validate Input/output

    Posted Tue July 25, 2017 10:48 AM

    I tried implementing this in 10.0

    There are no server or error logs, the service is exiting without any error.


    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods