I have done a service to post (pub.client.http) an excel file to an other service (I’m trying to test the second service).
There is two parameters that I want to specify. The first one os the file name and the second one is the contain of the file. For the file name, I have creating a field name fileName and I put it into the data/args part of pub.client.http. For the contain of the file, I read (load as bytes) the excel file and I put the contain into the data/bytes section.
First question. Do I have a way to specified the name of the parameter for the bytes section.
Second question. Into the second service, I try to take the file name and the content of the file (from the first http) and create the file with the contain. In the input/output of this service, I have creating one string “fileName” and a second one “fileContent”. When I execute the service, my fileName field is containing the file name. Instead of having a “fileContent” field I have a lot of strange fields name (it seams to me that contain of my excel file has been split into many fields names). There is nothing into the value of these fields.
Can someone can help me on this.