OnRamp for Commerce One MarketSite 3.5 SP1 | webMethods OnRamp for Commerce One MarketSite Adapter Documentation | webMethods OnRamp for CommerceOne MarketSite Adapter Installation and User’s Documentation | Public Records, Specifications, and Services | pub.marketconnect.attachment | createDocumentAttachment
 
createDocumentAttachment
Creates an attachment from a document object such as an XML string.
Package
WmMarketConnect
Input Parameters
bytes
Object Object from which to create the attachment, as a byte array.
encoding (optional)
String The encoding attribute for the attachment.
identity (optional)
String The identity attribute for the attachment.
soxType (optional)
String The SOX type attribute for the attachment.
documentType (optional)
String The document type attribute for the attachment.
contentType (optional)
String The MIME type attribute for the attachment. Values are application/xml or a type that starts with text/.
type (optional)
This parameter is identical to and has been superseded by the contentType parameter.
Output Parameters
attachment
Resulting attachment.