<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: XML to VO &#8211; as easy as apple pie!? (demo included)</title>
	<atom:link href="http://apdevblog.com/xml-to-vo-with-demo-example/feed/" rel="self" type="application/rss+xml" />
	<link>http://apdevblog.com/xml-to-vo-with-demo-example/</link>
	<description>flash and actioscript development</description>
	<lastBuildDate>Thu, 09 Feb 2012 11:58:18 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
	<item>
		<title>By: Tiago Almeida</title>
		<link>http://apdevblog.com/xml-to-vo-with-demo-example/comment-page-1/#comment-1637</link>
		<dc:creator>Tiago Almeida</dc:creator>
		<pubDate>Fri, 09 Dec 2011 19:25:08 +0000</pubDate>
		<guid isPermaLink="false">http://apdevblog.com/?p=547#comment-1637</guid>
		<description>Thanks for the example :)
We&#039;re using this to export/import data for a simple app.
Cool stuff!</description>
		<content:encoded><![CDATA[<p>Thanks for the example :)<br />
We&#8217;re using this to export/import data for a simple app.<br />
Cool stuff!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bruno Barauskas</title>
		<link>http://apdevblog.com/xml-to-vo-with-demo-example/comment-page-1/#comment-1614</link>
		<dc:creator>Bruno Barauskas</dc:creator>
		<pubDate>Fri, 02 Sep 2011 02:35:14 +0000</pubDate>
		<guid isPermaLink="false">http://apdevblog.com/?p=547#comment-1614</guid>
		<description>Man, you saved my life!!!! You and Mr. Dominic De Lorenzo. I catch up my webservice WSDL, create an Schema object with his types and the magic was done, I also did the encoding process too and works ok, beacuse I had to send an request message with an complex type inside.

Just plus one information:
To get the Flex XML classes of mx.rpc.xml.*, go to /x.x.x/frameworks/projects/rpc/src

I recomend other links very interesting, to understang WSDL and XML Schema Hierarchy:

http://www.predic8.com/wsdl-reading.htm - About WSDL structure by Thomas Bayer
http://oreilly.com/catalog/webservess/chapter/ch06.html - About webservice structure By O&#039;Reilly
http://www.xml.com/pub/a/2001/08/22/easyschema.html - This makes me understand the complex types in a better approach By Donald Smith
http://www.w3schools.com/schema/schema_schema.asp - Well, the basis By W3C

Thank you again!!!!!!!!</description>
		<content:encoded><![CDATA[<p>Man, you saved my life!!!! You and Mr. Dominic De Lorenzo. I catch up my webservice WSDL, create an Schema object with his types and the magic was done, I also did the encoding process too and works ok, beacuse I had to send an request message with an complex type inside.</p>
<p>Just plus one information:<br />
To get the Flex XML classes of mx.rpc.xml.*, go to /x.x.x/frameworks/projects/rpc/src</p>
<p>I recomend other links very interesting, to understang WSDL and XML Schema Hierarchy:</p>
<p><a href="http://www.predic8.com/wsdl-reading.htm" rel="nofollow"></a><a href='http://www.predic8.com/wsdl-reading.htm'>http://www.predic8.com/wsdl-reading.htm</a> &#8211; About WSDL structure by Thomas Bayer<br />
<a href="http://oreilly.com/catalog/webservess/chapter/ch06.html" rel="nofollow"></a><a href='http://oreilly.com/catalog/webservess/chapter/ch06.html'>http://oreilly.com/catalog/webservess/chapter/ch06.html</a> &#8211; About webservice structure By O&#8217;Reilly<br />
<a href="http://www.xml.com/pub/a/2001/08/22/easyschema.html" rel="nofollow"></a><a href='http://www.xml.com/pub/a/2001/08/22/easyschema.html'>http://www.xml.com/pub/a/2001/08/22/easyschema.html</a> &#8211; This makes me understand the complex types in a better approach By Donald Smith<br />
<a href="http://www.w3schools.com/schema/schema_schema.asp" rel="nofollow"></a><a href='http://www.w3schools.com/schema/schema_schema.asp'>http://www.w3schools.com/schema/schema_schema.asp</a> &#8211; Well, the basis By W3C</p>
<p>Thank you again!!!!!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Val</title>
		<link>http://apdevblog.com/xml-to-vo-with-demo-example/comment-page-1/#comment-1534</link>
		<dc:creator>Val</dc:creator>
		<pubDate>Wed, 09 Mar 2011 03:21:18 +0000</pubDate>
		<guid isPermaLink="false">http://apdevblog.com/?p=547#comment-1534</guid>
		<description>Very useful. How would you go about parsing an xml attribute to a vo variable?
   </description>
		<content:encoded><![CDATA[<p>Very useful. How would you go about parsing an xml attribute to a vo variable?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aron</title>
		<link>http://apdevblog.com/xml-to-vo-with-demo-example/comment-page-1/#comment-1026</link>
		<dc:creator>Aron</dc:creator>
		<pubDate>Fri, 05 Mar 2010 11:44:31 +0000</pubDate>
		<guid isPermaLink="false">http://apdevblog.com/?p=547#comment-1026</guid>
		<description>Thanks Nav for letting us know. I just fixed that.

It&#039;s a shame that it stand there for so long, without anyone noticing it... ;)</description>
		<content:encoded><![CDATA[<p>Thanks Nav for letting us know. I just fixed that.</p>
<p>It&#8217;s a shame that it stand there for so long, without anyone noticing it&#8230; ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nav</title>
		<link>http://apdevblog.com/xml-to-vo-with-demo-example/comment-page-1/#comment-1025</link>
		<dc:creator>Nav</dc:creator>
		<pubDate>Fri, 05 Mar 2010 05:18:46 +0000</pubDate>
		<guid isPermaLink="false">http://apdevblog.com/?p=547#comment-1025</guid>
		<description>The code works only by replacing the lines 88-89 with the following:
schemaTypeRegistry.registerClass(new QName(schema.targetNamespace.uri, &quot;group&quot;), GroupVo);
schemaTypeRegistry.registerClass(new QName(schema.targetNamespace.uri, &quot;field&quot;), FieldVo); 

XML element names and VO names are incorrect. Except for this minor typo, your code works great!!</description>
		<content:encoded><![CDATA[<p>The code works only by replacing the lines 88-89 with the following:<br />
schemaTypeRegistry.registerClass(new QName(schema.targetNamespace.uri, &#8220;group&#8221;), GroupVo);<br />
schemaTypeRegistry.registerClass(new QName(schema.targetNamespace.uri, &#8220;field&#8221;), FieldVo); </p>
<p>XML element names and VO names are incorrect. Except for this minor typo, your code works great!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aron</title>
		<link>http://apdevblog.com/xml-to-vo-with-demo-example/comment-page-1/#comment-756</link>
		<dc:creator>Aron</dc:creator>
		<pubDate>Wed, 14 Oct 2009 14:23:00 +0000</pubDate>
		<guid isPermaLink="false">http://apdevblog.com/?p=547#comment-756</guid>
		<description>Hi Oliver, thanks for the info. I just tested that with the example xml above and it seams  that the script does not work with nested vo&#039;s.

In the example above, the XMLDecoder decodes the nested vo types GroupVo and FieldVo like a charm.</description>
		<content:encoded><![CDATA[<p>Hi Oliver, thanks for the info. I just tested that with the example xml above and it seams  that the script does not work with nested vo&#8217;s.</p>
<p>In the example above, the XMLDecoder decodes the nested vo types GroupVo and FieldVo like a charm.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oliver</title>
		<link>http://apdevblog.com/xml-to-vo-with-demo-example/comment-page-1/#comment-729</link>
		<dc:creator>Oliver</dc:creator>
		<pubDate>Tue, 06 Oct 2009 17:39:58 +0000</pubDate>
		<guid isPermaLink="false">http://apdevblog.com/?p=547#comment-729</guid>
		<description>Addendum: point taken about the advantages of using a schema though.</description>
		<content:encoded><![CDATA[<p>Addendum: point taken about the advantages of using a schema though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oliver</title>
		<link>http://apdevblog.com/xml-to-vo-with-demo-example/comment-page-1/#comment-728</link>
		<dc:creator>Oliver</dc:creator>
		<pubDate>Tue, 06 Oct 2009 17:38:32 +0000</pubDate>
		<guid isPermaLink="false">http://apdevblog.com/?p=547#comment-728</guid>
		<description>That looks interesting... but the same result can be achieved without defining the schema at all using the class detailed here:

http://dispatchevent.org/roger/instant-model-binding-with-reflection/</description>
		<content:encoded><![CDATA[<p>That looks interesting&#8230; but the same result can be achieved without defining the schema at all using the class detailed here:</p>
<p><a href="http://dispatchevent.org/roger/instant-model-binding-with-reflection/" rel="nofollow"></a><a href='http://dispatchevent.org/roger/instant-model-binding-with-reflection/'>http://dispatchevent.org/roger/instant-model-binding-with-reflection/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aron</title>
		<link>http://apdevblog.com/xml-to-vo-with-demo-example/comment-page-1/#comment-726</link>
		<dc:creator>Aron</dc:creator>
		<pubDate>Tue, 06 Oct 2009 16:54:38 +0000</pubDate>
		<guid isPermaLink="false">http://apdevblog.com/?p=547#comment-726</guid>
		<description>Sure, if you&#039;re fine with straight XML, why decode / parse in the first place? However, some developers (us for instance ;) ) prefer working with VO&#039;s. 

The schema stuff centralize the definition of your XML. When decoding the XML inside the VO (we also did this in the past) you might end up with lots of classes to change, when there is a change in the XML schema.</description>
		<content:encoded><![CDATA[<p>Sure, if you&#8217;re fine with straight XML, why decode / parse in the first place? However, some developers (us for instance ;) ) prefer working with VO&#8217;s. </p>
<p>The schema stuff centralize the definition of your XML. When decoding the XML inside the VO (we also did this in the past) you might end up with lots of classes to change, when there is a change in the XML schema.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Lapasa</title>
		<link>http://apdevblog.com/xml-to-vo-with-demo-example/comment-page-1/#comment-725</link>
		<dc:creator>Mark Lapasa</dc:creator>
		<pubDate>Tue, 06 Oct 2009 14:20:39 +0000</pubDate>
		<guid isPermaLink="false">http://apdevblog.com/?p=547#comment-725</guid>
		<description>Very interesting post. Question, why not just pass around raw XML and e4x it what you need. It looks like you have to go through hoops to define the schema in the first place just so you have a method of parsing it? Another method would be to have a setter on a VO to take in XML and then have getters access the paths.

My dream solution would be define the entity on the sever-side and in flex, it would just code-complete a reference to that entity&#039;s interface with the least amount of work as possible.</description>
		<content:encoded><![CDATA[<p>Very interesting post. Question, why not just pass around raw XML and e4x it what you need. It looks like you have to go through hoops to define the schema in the first place just so you have a method of parsing it? Another method would be to have a setter on a VO to take in XML and then have getters access the paths.</p>
<p>My dream solution would be define the entity on the sever-side and in flex, it would just code-complete a reference to that entity&#8217;s interface with the least amount of work as possible.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

