SA XT for web access : System Architect XT : System Architect XT Web Service : System Architect XT Web Service methods : GetMetadata method
  
GetMetadata method
The GetMetadata method requires a SessionId and a long containing the identity of the desired encyclopedia object. The SAWSResult objects sOutput member will contain the XML encoded metadata for the requested object.
Values updated
The SessionState values are updated as follows:
LastDateTime
Current date and time
Arguments
sSessionId
The session id returned from the startsession method
lId
A long containing the identity of the desired encyclopedia object
Return
SAWSResult:
iError
0 if successful, otherwise an error number
sErrorMsg
Empty if successful, otherwise a description of the problem
sOutput
If successful the string contains the XML encoded metadata for the object identified by the Id passed, otherwise the string will be empty