Is there some magical method to get flash to serialise my objects
correctly when Im sending data to the webserver?
Im trying to send an array of objects up but all flash sends is an
array with the right number of elements inside with no data.
as:
var testobj1:Object;
testobj1.cid = "testcid1";
testobj1.mid = "testmid1";
testobj1.name = "testname1";
testobj1.description = "testdesc1";
var testobj2:Object;
testobj1.cid = "testcid2";
testobj1.mid = "testmid2";
testobj1.name = "testname2";
testobj1.description = "testdesc2";
var testaray:Array = new Array(testobj1,testobj2);
var resultobj = soapservice.getContentMeta (testarray);
SOAP request:
<?xml version="1.0" encoding="utf-8"?>
<SOAP-ENV:Envelope
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body xmlns:ns1="urn:LearnTools">
<ns1:getContentMeta
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<ContentList xsi:type="soapenc:Array"
soapenc:arrayType="ns1:ContentMetaItem[2]"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<item xsi:type="ns1:ContentMetaItem">
<mid />
<cid />
<name />
<description />
</item>
<item xsi:type="ns1:ContentMetaItem">
<mid />
<cid />
<name />
<description />
</item>
</ContentList>
</ns1:getContentMeta>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
you can see that the SOAP request is correctly formed..so flash
obviously understands what is needed but why isnt it putting the
object data from testobj1 and testobj2 into the SOAP request?
Cheers
Tom
On Thu, 17 Aug 2006 10:31:35 +0700, you wrote:
>One of my prospective clients want to have flash app with US map. My
>partner found this nice tools, www.flashmaps.com and I'm wondering if
>you guys have some experience with it.
>
>note:
>this message is cross-posted to Flashnewbie list, hope you wouldn't mind.
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com