Trading Networks 10.7 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | Doc Folder | Summary of Elements in this Folder | wm.tn.doc:getSenderReceiver
 
wm.tn.doc:getSenderReceiver
Retrieves the sender and receiver information for the specified document from the Trading Networks database.
If the pipeline already contains sender, a ProfileSummary, only the receiver information will be retrieved.
Input Parameters
bizdoc
Object The document for which you want to retrieve sender and receiver information. The document must be an instance of com.wm.app.tn.doc.BizDocEnvelope.
Output Parameters
sender
Document The profile summary for the sender of the document. For the structure of sender, see wm.tn.rec:ProfileSummary.
receiver
Document The profile summary for the receiver of the document. For the structure of receiver, see wm.tn.rec:ProfileSummary.
Usage Notes
If you are invoking this service from a Java program, in addition to returning sender and receiver as IS documents (IData objects), the service returns sender and receiver as an instances of com.wm.app.tn.profile.ProfileSummary.