I’m trying to use a FFSchema to facilitate communication with an external message broker (non-webMethods) which provides services that take a fixed block as input, and pass a fixed block back as output.
End result is that I have to parse out these block structures into documents.
I made a quick attempt with FFSchemas, and it works great for flat structures, but now I’ve come across a situation where I want to pass a slightly more hierarchical structure. A quick example:
XXX1234ABABABCD
defined as
ID (4)
Age (4)
Code1 (2)
Code2 (2)
Usage (4)
In this simple case, I’ve got a three character field, a four character field, two two character fields, and a four character field. This is defined in the FFSchema, and everything works fine.
The problem comes in when I have a repeating sub-structure - I don’t know how to represent it… To use my shorthand from above:
ID (4)
Age (4)
50* (
-----VehicleID (10)
-----VehicleCapacity(5) )
Date (8)
The flatfile would look like:
XXXX1234CarNum0001Cap01CarNum0002Cap02…CarNum0050Cap5020031204
Any suggestions on how to approach this?
I’ve got no delimiters, and a single record basically.
#Integration-Server-and-ESB#Flow-and-Java-services#webMethods