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.  Database validation

    Posted 05/28/07 05:30 AM

    Hi all,

    Iam having problem with the following scenario.

    Scenario:
    First i have to send the html page including the details for validation to the webMethods and then it will be send to the database for the validating the details provided in html page
    can anyone help in the above process , please it is very urgent

    with regards,
    Sitaram


    #Adapters-and-E-Standards
    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: Database validation

    Posted 05/28/07 05:01 PM

    Use DSP’s template/pages in terms of this scenario and as you know dsp’s can invoke flow/java services in wM so that you can send data for validation process and if success then insert to target DB.Please review “Dynamic Server Pages and Output Templates Developers Guide userguide” for more information.

    HTH,
    RMG


    #Integration-Server-and-ESB
    #webMethods
    #Adapters-and-E-Standards


  • 3.  RE: Database validation

    Posted 06/25/09 07:37 AM

    Hiii , I am working on the same problem , Just over with creation of website with validation the login creentials and then navigating nside the pages as per the requirements

    Steps for validation are :-

    1. Create a dsp page and 2 text boxes (username and password) with submit and reset also …
    2. enter the username and password in the concerned boxes and click on submit.

    On Submission it would invoke the service (lets name it as rohit:validation) it will validate the login credentials u have put in
    2.1 inside the service create dictionary, schema , and document type for login flat file (having details abt the login username and password)
    2.2 validate the input data with the loop on the login document…and return some variable (lets name it as status)
    2.3 if status is 0 :- validation successfull
    if status is 1 :- validation unsuccessfull
    2.4 return the status values

    1. In the dsp tag use the switch case tag
      and switch over the status value .
      %switch status%
      %case ‘0’%
      Validation Successfull
      %case ‘1’%
      Unvalidation Successfull

    %end switch%

    1. even in switch case itself on validation u can call another dsp page like , to change the password , insert records , show records , track records

    If u have any doubts u can mail me at
    With Regards
    Rohit Gupta
    rohit15.g@tcs.com,
    rohitgupta.it@gmail.com


    #Integration-Server-and-ESB
    #webMethods
    #Adapters-and-E-Standards


  • 4.  RE: Database validation

    Posted 06/29/09 05:45 AM

    hi sitaram.

    use pub.client.http to call your http page.
    the output from this service is a detail page (html source). So you can validate it, and send it to the other system.


    #Integration-Server-and-ESB
    #webMethods
    #Adapters-and-E-Standards