<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Unknown AMF type '15' in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/unknown-amf-type-15/m-p/678143#M15224</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Since a Graphic is a UIComponent you may need to create your own DTO.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another option may be to extend Graphic and implement IExternalizable:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/utils/IExternalizable.html"&gt;http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/utils/IExternalizable.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Feb 2011 22:23:46 GMT</pubDate>
    <dc:creator>DasaPaddock</dc:creator>
    <dc:date>2011-02-07T22:23:46Z</dc:date>
    <item>
      <title>Unknown AMF type '15'</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/unknown-amf-type-15/m-p/678142#M15223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have a flex client which sends an 'Esri Graphic' object (Esri Flex API 2.2) to a blazeds server. The balzeds server throws the following exception when desirializing the AMF message. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[BlazeDS][Endpoint.AMF] Serializing AMF/HTTP response&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Version: 3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; (Message #0 targetURI=/4/onStatus, responseURI=)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; (Typed Object #0 'flex.messaging.messages.ErrorMessage')&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; headers = (Object #1)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; rootCause = null&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; body = null&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; correlationId = null&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; faultDetail = null&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; faultString = "Unknown AMF type '15'."&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; clientId = null&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; timeToLive = 0.0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; destination = null&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; timestamp = 1.296710934428E12&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; extendedData = null&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; faultCode = "Client.Message.Encoding"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; messageId = "1846A3AB-DC0D-B523-777E-93593D47E557" &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any solutions or advice to solve or workaround this is greatly appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jerome&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2011 03:46:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/unknown-amf-type-15/m-p/678142#M15223</guid>
      <dc:creator>JeromeAnthony</dc:creator>
      <dc:date>2011-02-03T03:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown AMF type '15'</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/unknown-amf-type-15/m-p/678143#M15224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Since a Graphic is a UIComponent you may need to create your own DTO.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another option may be to extend Graphic and implement IExternalizable:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/utils/IExternalizable.html"&gt;http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/utils/IExternalizable.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Feb 2011 22:23:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/unknown-amf-type-15/m-p/678143#M15224</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2011-02-07T22:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown AMF type '15'</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/unknown-amf-type-15/m-p/678144#M15225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks dpaddock,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We did end up going with our own DTO to get around the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I forgot to mention that we did have this working with the Esri Flex API 1.3 version. Once we upgraded to Esri Flex API 2.2 we could no longer send graphics. The problem seems to be related to the geometry object.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have also noticed that the new inherited properties have made the graphic object much heavier. By using our own DTO this will also decrease the amount of data on the wire.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jerome&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Feb 2011 04:03:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/unknown-amf-type-15/m-p/678144#M15225</guid>
      <dc:creator>JeromeAnthony</dc:creator>
      <dc:date>2011-02-11T04:03:07Z</dc:date>
    </item>
  </channel>
</rss>

