Alex Koromyslov | This is what I did to get access to DMS
var s:HTTPService = new HTTPService(); s.setCredentials("username", "password"); s.contentType = "application/xml"; s.method = "POST"; s.url = "https://hntbc00-vp1.hntb.org:8443/vportal/services/xml/api"; s.destination = "https://hntbc00-vp1.hntb.org:8443/vportal/services/xml/api"; s.request = new XML("<xml-fragment xmlns:vp=\'http://model.data.core.vportal.cisco.com/vp_ns\'><vp:vportal><vportal_id>1</vportal_id></vp:vportal><vp:vprequest><query>getPublicCategories</query></vp:vprequest></xml-fragment>");
s.resultFormat = "xml"; s.addEventListener(ResultEvent.RESULT, loadHandler); s.addEventListener(FaultEvent.FAULT, faultHandler); s.send();
and I always get FAULT. Any ideas??? |
| Please sign in to flag this as inappropriate. |