public class XmlService_JAXWS extends Object
XMLService provides a web service interface to Import and Export Content Server contents as XML. The XML can be imported or exported as an Attachment or a Stream.
Constructor and Description |
---|
XmlService_JAXWS() |
Modifier and Type | Method and Description |
---|---|
Attachment |
exportXml(long nodeID,
ExportOptions options)
Export xml
|
String |
exportXmlContext(long nodeID,
ExportOptions options)
Store the meta-data for exporting in a method context on the server.
|
long |
importXml(long nodeID,
ImportOptions options,
Attachment attach)
Import xml
|
String |
importXmlContext(long nodeID,
ImportOptions options)
Store the meta-data for importing in a method context on the server.
|
public Attachment exportXml(long nodeID, ExportOptions options)
nodeID
- ID of node to exportoptions
- Options used to control exportoutStream
- The output stream to write the contents topublic String exportXmlContext(long nodeID, ExportOptions options)
nodeID
- ID of node to exportoptions
- Options used to control exportpublic long importXml(long nodeID, ImportOptions options, Attachment attach)
nodeID
- ID of parent node to created nodesoptions
- Options used to control importfileAtts
- Description of the file uploaded as the XML import content.inStream
- Contentspublic String importXmlContext(long nodeID, ImportOptions options)
nodeID
- ID of node to exportoptions
- Options used to control import© Copyright 2017 OpenText Corp. All Rights Reserved.