A response for a server named MYPSTEP1 in an XML document would look like this:
<?xml version=”1.0”?> <MYPSTEP1 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance xsi:noNamespaceSchemaLocation="MYPSTEP1.xsd"> <response command=”LIST” exitState=”123456789” exitStateType=”OK” exitStateMsg=”Processing Completed OK”> <name>John Smith</name> </response> </MYPSTEP1>
The XML Schema for responses is referenced the same way as it is for the requests. The <request>, <response> and <error> schema information is contained in one XML Schema file. The system attributes are returned as attributes on the <response> element.
The view data is always returned if a <response> element is returned, but its values may or may not reflect the activity that occurred on the server, depending on the application logic of the server. If the ExitStateType or OperationStatus values indicate an error status from the server, the export views may or may not be trusted, depending on how the server was written.
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|