Websydian v6.1 online documentationOnline documentation - WebsydianExpress v3.0

API: SetXMLDoc

Scoped Name

WSYAPIWS/XMLAPI._Parameters.SetXMLDoc

Note that this API is placed in the WYSAPIWS model.

The API is only available in the Java, WinC, WinC/iSeries versions of WebsydianExpress.

Interface

Field Variable ...as Description
WSType Input Input Specifies the type of document the references are for. The values currently used are Input, Output, Envelope, and Header.
WSObjectStoreReference Input Input The ObjectStoreReference and the ObjectDocument together identifies an XML Parser document that is loaded in TransacXML.

You use these references to access the data in the document.

WSObjectDocument Input Input

Description

The API writes the identification of an XML parser document to memory. The WSType parameter specifies the role of the document.

When the service handler is called:

The input document will contain the data loaded from the request data. The output document will not contain any data - this is the reference to the document the service handler must write the output to.

These documents are loaded by the XMLServiceProcessor function.

In addition to this, the SoapServiceProcessor function calls this API with values for the Soap-Envelope and the Soap-Header documents.

In most cases you should only call the SetXMLDoc API if you are creating your own service processor.

Events

Universal events