<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>API http request from FLEX</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_recent_posts?p_l_id=" />
  <subtitle>API http request from FLEX</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_recent_posts?p_l_id=</id>
  <updated>2013-05-24T18:58:05Z</updated>
  <dc:date>2013-05-24T18:58:05Z</dc:date>
  <entry>
    <title>RE: Sample of ActionScript code DMS API Tester</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2412748" />
    <author>
      <name>Alex Koromyslov</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2412748</id>
    <updated>2010-08-06T00:38:07Z</updated>
    <published>2010-08-06T00:37:01Z</published>
    <summary type="html">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("&lt;xml-fragment xmlns:vp=\'http://model.data.core.vportal.cisco.com/vp_ns\'&gt;&lt;vp:vportal&gt;&lt;vportal_id&gt;1&lt;/vportal_id&gt;&lt;/vp:vportal&gt;&lt;vp:vprequest&gt;&lt;query&gt;getPublicCategories&lt;/query&gt;&lt;/vp:vprequest&gt;&lt;/xml-fragment&gt;");

     s.resultFormat = "xml";
     s.addEventListener(ResultEvent.RESULT, loadHandler); 
     s.addEventListener(FaultEvent.FAULT, faultHandler);
     s.send();

and I always get FAULT.  Any ideas???</summary>
    <dc:creator>Alex Koromyslov</dc:creator>
    <dc:date>2010-08-06T00:37:01Z</dc:date>
  </entry>
  <entry>
    <title>Sample of ActionScript code DMS API Tester</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2410229" />
    <author>
      <name>Alex Koromyslov</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2410229</id>
    <updated>2010-08-05T21:18:10Z</updated>
    <published>2010-08-05T21:18:10Z</published>
    <summary type="html">Could you please provide a sample code of working with API via HTTP using Flash or Flex. I downloaded a DMS API Tester and it is done in Flex. It would be very helpfull to have source code of that file.
Thanks.</summary>
    <dc:creator>Alex Koromyslov</dc:creator>
    <dc:date>2010-08-05T21:18:10Z</dc:date>
  </entry>
  <entry>
    <title>API http request from FLEX</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2410167" />
    <author>
      <name>Alex Koromyslov</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2410167</id>
    <updated>2010-08-05T20:52:42Z</updated>
    <published>2010-08-05T20:52:42Z</published>
    <summary type="html">Hello. I am developing custom app using S&amp;S library. I downloaded API pdf which is saying that I have to use a webservise but later on in a pdf it is saying http request. Could you make it clear what type of request should I use to communicate with S&amp;S
 
I downloaded a DMS API Tester which is working fine. Is ther any source file available to see how connection was established.
 
Thanks.</summary>
    <dc:creator>Alex Koromyslov</dc:creator>
    <dc:date>2010-08-05T20:52:42Z</dc:date>
  </entry>
</feed>

