How to create a 997 doc for EDI transactions. We can create FA for Interchange and group level with help of wm.edi.util:generateFA service but what about generate FA for transaction level.
EDIFunctionalACKGuide suggest that validate incoming EDI doc and then use error array return by validate service to map AK3 and AK4 segment in FA(997 doc). But I do not know the mean of any error code returned by validate service. Can anybody help me in that. Here is an example of error returned by validate service
path name - /ST/BEG/BEG01/code
error code - DT-STR001
error message - [B2BCORE.0082.9293] No matching choice value
Here is a quick explanation of the error codes you are receiving:
[*]DT-DTR001: There is a pick list associated with /ST/BEG/BEG01/code. The value that the Integration Server found in the node is not one of the values specified in the pick list. [*]VV-001: The record against which you are validating is expected a different input. The most likely reason is that your root node is not named properly. Check that you properly mapped in your documentToRecord step.
[/list]
For more information about Validation Error Codes, review Appendix H of the webMethods Developer’s User Guide.