Trading Networks 10.3 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | Doc Folder | Summary of Elements in this Folder | wm.tn.doc.xml:bizdocToRecord
 
wm.tn.doc.xml:bizdocToRecord
Transforms a business document into an IS document (IData object), based on the IS document type blueprint associated with the TN document type (if any).
Input Parameters
bizdoc
Document The XML document from which to create an IS document (IData object). The document must be an instance of com.wm.app.tn.doc.BizDocEnvelope.
processAsLargePart
String (Optional) Specifies how the service is to process the input XML document (bizdoc). Valid values are:
*true - Uses large document handling to process the input document. Trading Networks writes large document content to hard disk drive space (called tspace) and keeps a pointer to the large document content in memory rather than the document content itself. Set to true when input documents are large or contain large parts.
*false- Default. Treat the document provided as input as normal size. That is, Trading Networks keeps the document’s content in memory during processing.
Output Parameters
boundNode
Document The content of the XML document bound into an IS document (IData object).
recordName
String The fully-qualified name of the IS document type that was used to transform the XML document. This value is specified in the Format as an IS document type option on the Document Type Details page in My webMethods.
If the incoming Trading Networks document has only one element as a string or a document, then the output of the wm.tn.doc.xml:bizdocToRecord service depends on the value of the Format as an IS document type option in the Trading Networks Document Type.
*If the Format as an IS document type option is specified with the correct Document Type, then the wm.tn.doc.xml:bizdocToRecord service converts the incoming document correctly.
*If the Format as an IS document type option is empty, then the wm.tn.doc.xml:bizdocToRecord service converts the element to either a string or a document, and not a list.
If the incoming Trading Networks document has multiple elements as a string or a document and the Format as an IS document type option is empty, then the wm.tn.doc.xml:bizdocToRecord service converts the incoming document correctly.
Usage Notes
This service performs a function analogous to pub.xml:xmlNodeToDocument. For more information, see webMethods Integration Server Built-In Services Reference.