<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Eric Fickes &#187; asmx</title>
	<atom:link href="http://ericfickes.com/tag/asmx/feed/" rel="self" type="application/rss+xml" />
	<link>http://ericfickes.com</link>
	<description>Design minded Internet Programmer</description>
	<lastBuildDate>Fri, 28 Oct 2011 04:14:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Send custom objects from Flash to ASP.NET web service ( asmx )</title>
		<link>http://ericfickes.com/2006/08/send-custom-objects-from-flash-to-aspnet-web-service-asmx/</link>
		<comments>http://ericfickes.com/2006/08/send-custom-objects-from-flash-to-aspnet-web-service-asmx/#comments</comments>
		<pubDate>Wed, 02 Aug 2006 22:03:00 +0000</pubDate>
		<dc:creator>Eric Fickes</dc:creator>
				<category><![CDATA[.net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[flash platform]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[asmx]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[custom class]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[flash remoting]]></category>
		<category><![CDATA[web services]]></category>

		<guid isPermaLink="false">http://ericfickes.com/2006/08/02/80/</guid>
		<description><![CDATA[I came across a new server message today &#8211; &#8220;The test form is only available for methods with primitive types or arrays of primitive types as parameters&#8221; While working with flash and asp.net web services I learned that you can &#8230; <a href="http://ericfickes.com/2006/08/send-custom-objects-from-flash-to-aspnet-web-service-asmx/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I came across a new server message today &#8211; &#8220;<span style="font-weight: bold;">The test form is only available for methods with primitive types or arrays of primitive types as parameters</span>&#8221;</p>
<p>While working with flash and asp.net web services I learned that you can send a custom class object to an ASMX.  That service can then take your object and have it&#8217;s way with it.  This is pretty killer because you can share custom classes between .net and as, assuming the class definitions match, and the datatypes don&#8217;t get too complex.</p>
<p>If you have to work with webservices from flash, checkout the WebService class.  It&#8217;s sweet.  So much so that I don&#8217;t understand why I even need Flash Remoting.  I mean, I can send and receive my custom class on the flash side as well as the .net side.</p>
<p>Currently I only see the following limitations with this magic flash to soap communicado.</p>
<ol>
<li>No test form on the .asmx page.  For a typical asmx file, the .net server can generate a simple test form that you can use to test your webservice.  It&#8217;s great, except for a service that expects your custom class as input</li>
<li>Simple data types.  I haven&#8217;t tested the waters of what datatypes you can use in your custom object, but I&#8217;m guessing you can&#8217;t venture outside of the basic strings and numbers.</li>
</ol>
<p>I&#8217;m pretty pumped about learning the AS WebService class.  It&#8217;s so much nicer than the olden days of parsing name value pairs, or even a full on xml object.  The WebService class does all the magic for you in flash, and you code up the result object as you&#8217;ve defined your custom object.</p>
<p>end of line</p>
]]></content:encoded>
			<wfw:commentRss>http://ericfickes.com/2006/08/send-custom-objects-from-flash-to-aspnet-web-service-asmx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

