Chris,
Does routeXML work? Otherwise, you may have to use tn.receive. The initial content handler that picks off incoming documents usually determines if the document is large based on the variable in tn config file (th big doc threshhold). It looks at the size of the byte array in the post and compares. It is important for the system to make this determination because it then triggers the write to the file system in the folder you specify (or default if not specified) in the tn config prop file.
I don’t know if your approach will work. But, there are two fields that are updated in the biz doc:
In BizDoc Envelope: LargeDocument? (BOOLEAN)
and in the sub-array document ContentParts (BizDocContentPart) ContentParts[0]/LargePart? (BOOLEAN)
I suppose you could add addendums to each transaction that may/maynot be large so the internal BOOLEAN will be set for each. I just don’t know what internal function is called to trigger the actual write of the large document to the file system and where the specific pointer to the file system file for the data is set in the transaction meta-data.
Just a few random thoughts (oh yeah, the dolphins took a beating last night.)
Ray
#webMethods#B2B-Integration#Integration-Server-and-ESB