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
Expand all | Collapse all

Invoke flow service with some inputs from DSP Page

  • 1.  Invoke flow service with some inputs from DSP Page

    Posted Tue February 05, 2008 02:18 PM

    Hi Everyone,

    In one scenario, i need to invoke flow service with some inputs from inside templates (pub.report:runStringTemplate)

    For Example,
    [FONT=Tahoma][COLOR=blue]%invoke PSUtilities.date/calculateDateDifference%

    %value dateDifferenceMin% %endinvoke%[/color][/font]

    For the above flow service i have to pass the following inputs,
    startDateTime
    endDateTime
    startDateFormat
    endDateFormat

    I am not sure, what is syntax for invoking flow service with some inputs from templates…

    Once i gave the above 4 inputs to the flow service, i need to print output for variable dateDifferenceMin…

    Could you please guide me? Thanks!


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


  • 2.  RE: Invoke flow service with some inputs from DSP Page

    Posted Tue February 05, 2008 05:30 PM

    As long as your variables are in the pipeline and they carry the same name as the input, the service will pick them up. So if you post to your target dsp, you can include them in your source form for example. Or invoke another service which will yield the vars before you invoke your service.

    HTH

    Loic


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


  • 3.  RE: Invoke flow service with some inputs from DSP Page

    Posted Tue February 05, 2008 06:53 PM

    Thank you very much for your valuable inputs!..


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