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.envelope | getDocumentAsNode
 
getDocumentAsNode
Gets the xCBL document from an envelope and returns a webMethods document known as a node.
Package
WmMarketConnect
Input Parameters
envelope
Envelope whose xCBL document to get.
encoding (optional)
String The encoding to use when parsing the xCBL document. If you do not specify this parameter, the XML parser uses the encoding indicated by the encoding attribute in the xCBL document header.
validate (optional)
String Whether to validate the xCBL document. The service uses the Commerce One CXP parsing engine and the SOX schemas in the schema path specified in the C1 OnRamp configuration to validate documents. Values are true and false; if you set this parameter to true and the document is invalid, the service fails. If you do not specify this parameter, C1 OnRamp uses the default validation setting for incoming documents in the C1 OnRamp configuration (see Specify Default Document Validation).
Output Parameters
node
Document Document or node.
encoding (optional)
Encoding used by the XML parser to parse the xCBL document.