VMware VCENTER APPLICATION DISCOVERY MANAGER 6.1.1 - RESPOSITORY User Manual Page 61

  • Download
  • Add to my manuals
  • Print
  • Page
    / 64
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 60
VMware, Inc. 61
Appendix B ADM API Tutorial
Bulk API
TheBulkAPIprovidesyouwiththepossibilityofqueryingtheADMwithmoresophisticatedfilters,and
browsingtheresultsetbymeansofpagination.Theresultsaredeliveredinsubsets(pages)ofapredefined
sizeandformattedinXMLCIM.ThisAPIisintendedforthosecaseswhereanapplication
intendstobrowse
onfinelyfilteredsegmentoftheADMʹsdata.
The Bulk API works as follows
1 Createthefilterobjectandselectthelevelofgranularityoftheresults.
2 Callquery( )withthefilterobjectandobtainthetaskUUIDinstringform.
3AfterthetaskisFINISHED,youcanretrievethemaximumamountof
pagesavailableinthisresultsetby
callinggetPageAmount( ).
4Atthismoment,thereisaniteratorinADMthatyoucancontrolbythefollowingcalls,andtheresults
retrievedfromthem:
a hasNextPage( )
b getNextPage()
5Afterfinishingretrievalofallthedatawiththespecificquery,youmustcallcloseQuery() toreleaseall
resourcesassociatedwiththisquery.
Web Services API
ThepreferredmethodtoaccessADMʹsAPIisthroughthewebservicesAPI,whichprovidesfora
standardizedwayofcommunicationandhighinteroperability.ThisAPIisnotlockedinagivenprogramming
language.
ADMoffersadescriptionoftheAPIinamachinereadabledocumentformattedinWebServices
Description
Language(WSDL).Withthisdocument,automatedtoolsavailableforthepopularprogramminglanguages
cancreatethelowlevelcodenecessarytoaccesstransparentlythefunctionalityprovidedbytheADM.
Page view 60
1 2 ... 56 57 58 59 60 61 62 63 64

Comments to this Manuals

No comments