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.  Creating an integration service

    Posted Fri May 09, 2003 05:43 AM

    Hi,
    I am new to webMethods 6.0,i want to create a simple integration which reads data from an xml file into a database.Could somebody give me the steps.


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


  • 2.  RE: Creating an integration service

    Posted Fri May 09, 2003 06:48 AM

    Please use the following steps

    1. string to document service with a xml data as input
    2. document to record with record as output

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


  • 3.  RE: Creating an integration service

    Posted Fri May 09, 2003 01:34 PM

    As Peter said, the two steps will give you a record structure. From the record you will have to map the data into variables and then do an insert into the database table using pub.db:execSQL.
    If your database table is SQLServer2000, you can directly invoke a stored procedure in the server and input the xml to be inserted into the table.
    Please let us know how it goes.
    Thanks and Good Luck


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


  • 4.  RE: Creating an integration service

    Posted Tue June 17, 2003 11:12 PM

    Hello,
    Is there any WMbuilt-in-service which I can use to get rid of non-printable characters from the data like 360° (need to remove ° “degree sign”). My back end (mainframe) does not like those and the data gets corrupted b/c of this.

    I am using WM4.6 with TN4.6 on Sun Solaris.

    Thanks


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


  • 5.  RE: Creating an integration service

    Posted Thu June 19, 2003 05:07 PM

    Hi, Afroz.

    There is no service to remove non-printable characters. You could try writing a Java service that does this for you. You could also perform front-end validation on the data so that the special characters are never submitted to the webMethods Flow in the first place.

    Good luck and let us know what you come up with.


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