What you’re doing should work. From the TN BIS Reference description of recordToBizdoc:
“Transforms an IS document (IData object) into an XML document and sends the resulting XML document into the document recognition engine to translate the XML document into a business document.”
Later in the description:
“This service performs a function analogous to pub.xml:documentToXMLString.”
Based on this, this service converts your record to an XML string (are you providing the recordName parm) and then submits that string to the TN recognition engine–which will determine the doc type and do the extracts as indicated by the doc type.
Two possibilities come to mind: 1) the record isn’t complete, so the XML string doesn’t have the sender/receiver info for the doc type to extract; 2) the TN doc type isn’t configured to extract the sender/receiver. If the doc contains the sender/receiver info, you shouldn’t need to set them in the bizdoc–and I’m not sure doing so will do any good anyway as updating the bizdoc in the pipeline doesn’t update the TN db.
Can you confirm that these two items are okay?
If the doc doesn’t contain the sender/receiver, then you will indeed need to set the TN_parms parameter to set them. The TN User’s Guide has info on doing this.
#B2B-Integration#Integration-Server-and-ESB#webMethods