Vivian,
Will the data always appear in the same location? For example, in the sample you provided: id 102 order 001 date 230407
id comes first, order comes second, and date comes third. Will that always be the case?
If so, then you could use a flat file schema with a delimiter (a space, it appears) and then always assume that the 4th field is the order ID (in this case, 001).
If not, then I don’t know that using the flat file schema to break down the fields will really buy you much. You might be better off just reading each line, passing the entire line to the service pub.string:tokenize, and then loop over the tokens. Once you find the token that you’re looking for (in this case, the word order), you can assume that the next token is the value you need.
Let me know if this makes sense.
#Integration-Server-and-ESB#edi#webMethods