Is there a code example of a service broker accepting a file attachement.
>Attributes.Method("ReadCustomerCSV", MethodType.List, "ReadCustomerCSV", "ReadCustomerCSV",
//Inputs
new stringg] { "ParameterFile" },
//Required Inputs
new stringg] { "ParameterFile" },
//Returns
new stringg] { "CustomerNumber", "PrincipalAmount", "FreqId" })]
// public string ReadCSVToList((Attributes.Parameter("File", SoType.File,"File", "The file to be processed.", true)] FileProperty File)
public List<CustomerCSV> ReadCSVToList(tAttributes.Parameter("ParameterFile", SoType.File, "MyFile", "The file to be processed.", true)] FileProperty File)
{
//code here;
return null;
}
This is what I had so far, but it doesnt seem to accept a file attachement.