wm.b2b.editn:bizdocToRecord will give you all of those details.
The wm.b2b.editn:bizdocToRecord service is a flow service, so you can look at exactly what it is doing.
The error you’re seeing:
com.wm.ff.parse.StorageException: [FFP.0015.0005] Specified an invalid schema EDIFFSchema.X12.V4010:T%transactionName%
, is not a Flat File Schema.
indicates that “transactionName” doesn’t exist in the pipeline. The second step of the service determines the “standard”, “version” and “transactionName” of the document using the TN document type name. bizdoc/DocType/TypeName holds the TN doc type name. As an example, a doc type of “X12 4010 810” will return standard=X12, version=4010 and transactionName=810.
The pub.flatFile:convertToValues step uses these variables to define the ffSchema input using “EDIFFSchema.%standard%.V%version%:T%transactionName%” and variable substitution.
What’s odd is that standard and version are clearly substituted, but transaction name is not. I’m not sure what would cause that behavior. Best bet is to set things up so you can step through this service to see the value of bizdoc/DocType/TypeName, what getDetailFromTypeName returns, and so on.
HTH
#edi#webMethods#Integration-Server-and-ESB