I have one requirement in which I have to generate a flat file using http and then I have to use the same file in another process through http connector. So can you please tell me how can I proceed to achieve this.
Can you explain this use case a little more?
So the requirement is like this, I have to generate one flat file using http connector and at the same time in other process I need to call the flat file using the same http connector. Is this achievable in boomi. Can I do this using http connector.
I'm trying to understand your use case. You want to generate a flat file. OK. However, I don't see the link with the http connector. The Http connector is used to get or send data, XML or Json most of the time. You can process flat files with Boomi, map them to for example Json and then send them to a http end point. You can also get data from an http end point, map it to a flat file and send it to some disk or (sftp) server.
Not sure of your requirement.
From where do you plan to generate the flat file? Do you mean your Process start is from http Connector using None request profile type? If so
Use http client connector with the request profile type as None.
Change the content type to text\plain. And then convert the content to your desired FF type. Manipulate the data as per your requirement. Then send to your http cleint end point if that is what you meant.
Now the requirement got change, now I only want to get the generated flat file.Flat Will come from the disk connector and I need to pick that using http connector.
So could you help me on this.
Your description is misleading...
HTTP client connector is used for Web-based service calls and there are specific methods in which you can communicate the data to the end users.
If I envision your requirement you need to pick a file from disk and post this to a REST service from Boomi.
Is this correct?
Yes Srini, I want to post this flat file to a rest service from boomi. Cana you tell me how can I do this.
There you go...
Here is a brief note on your orchestration flow
Try Catch all the errors
1. Get File from Disk(Connection & Ops to be given). (Assuming one file per execution)
2. Get the file props if needed using set props.'
3. Pull a set props to set HTTP props for later use.
4. Pull an HTTP client and configure Connection URL
5. An operation would be the key now. Build as per the documentation How to Build a POST Request for a REST Endpoint with Replacement Variables
6. Catch for errors and reporting.
7. Additionally, you can get HTTP status code for success or failure.
Hope this helps!
I will implement the above steps and will see if it works or not
Retrieving data ...