Update API example to use setConfigXML, not setConfigXML.xml