Customer Portal

passing input to Json webservice and writing to a csv file

Comments 4

  • Avatar
    simaj
    0
    Comment actions Permalink
    Hi,

    I am sorry but the information you provided is not enough for us to be able to help you. Could you please upload the whole graph and the input .csv file in order to get a better picture of the issue ?

    Thank you!
  • Avatar
    ashok.k
    0
    Comment actions Permalink
    Attached is the file that we are using.

    our use case is to get the ZIP code and Name as output.
    Zip code should be taken from the input reader
    name should be coming from the webservice.

    problem that i observed is HTTP connector takes each zip code and processes it , sends to JSON Extract. all records are then processesd and written to writer at once.
    Output is getting all the records updated with latest record. you can observe the same in the output_file
  • Avatar
    simaj
    0
    Comment actions Permalink
    Hi,

    From the graph I understood that the aim of this graph is to gain list of ZIP codes and Cities. Is my understanding correct ?

    I suggest to do following :


      Add Zip codes field to metadata to avoid later joining.
      Reconfigure HTTPConnector to send the page content straight on the edge.
      Reconfigure JSONExtract extract city names straight from HTTPConnector outputs.


    I am attaching the reworked graph for your reference.
  • Avatar
    ashok.k
    0
    Comment actions Permalink
    Thanks a lot, your changes helped me to get the right data.

Please sign in to leave a comment.