Topic:   receiving CSV file then process these file at webmethods placed in to a database
Oct 10, 2014 23:23 2 Replies 720 Views ribinadia
Prev Next
Topic Replies (2)
  1. 1
    idnkx user

    ribinadia

    Hi All,

    I am receiving https request with .CSV file then process these file placed in to a database.
    Can any one help me how can i do these task.......


    Note : We are not using TN console.
    Version 8.0.1..


    Give me synario related these task if you worked on these thing .....
    It will be great helpful

    1
    idnkx user

    HVardhan

    Hi,

    For processing CSV file, first u have to create flatfile schema and dictionary,

    Then build the code using with following services.
    1.pub.file.getFile(output can be any one of these bytes, stream, string(prefer string)
    2.pub.flatFile:convertToValues(map the getfile output(string) to ffdata, and mention the ffschema)

    then create the doc reference for ffvalues(which is the output of the pub.flatFile:convertToValues service), and map the ffvalues to refrence doc.

    3.create the table & Insert Adapter service on that table.(table fiels are same as ffvalues fields).

Leave a Reply
Guest User

Not sure what course is right for you?

Choose the right course for you.
Get the help of our experts and find a course that best suits your needs.


Let`s Connect