Success Handler
When the success function that you implicitly passed to sap.ui2.srvc.Page.load is called, the page has been loaded completely and you now can use the page data using the previously created sap.ui2.srvc.Page instance. Note that this instance is also passed as an argument to the success handler.
The example code iterates over all CHIP instances contained on that page. They are wrapped as sap.ui2.srvc.ChipInstance objects. Each of these CHIP instances is asked for its SAPUI5 control tree using getImplementationAsSapui5 and the resulting SAPUI5 control is added to to the vertical layout.