Verifying SSP RestAPI XML formatted input
Jeff Lumpkin 270003Q1QE Visits (3062)
Many people are starting to use the RestAPI for SSP to help configure their SSP servers. However, the syntax can sometimes be a little tricky.
When using XML formatted input for the RestAPI scripts/programs, the XML entries need to be in alphabetical order in order to use XSD validation. Prior to that, an unknown XML element in the XML would just be ignored. Now it is validated by default.
Because of the complexity of SSP's XMLs, the XSD cannot be changed to allow the values to be in any order (XSD allows this, but then only allows maxOccurs=0 or =1; SSP's XML has many elements where maxOccurs=unlimited is required).
If needed, the validation through XSD can be disabled by using a System Property in the SSPcm startup:
UNIX: In startCM.sh, change
Windows: In startCM.bat change
Windows: In SSPcm$.lax, change