Re: [Flashcoders] Flash 8 - Decoding a SOAP Response - Array of complex objects

2006-08-15 Thread Tom Shaw
All fixed!

Similar to Jasons problem this was a SOAP generation problem in Perl
and the simple fact I wasnt doing it correctly.

for anyone else who is having problems using Perl you must make sure
you correctly type all your output to match the WSDL file.

Google API is an excellent resource to see how it should be done
correctly.

I will put up some example source files and documentation when I get
time.

Cheers,
Tom

On Mon, 14 Aug 2006 14:28:56 +0100, you wrote:

>Hi all,  This is my first post on the list so Ill say hi now and hope
>you are all friendly :)
>
>Ive been going round for days on this one and have searched high and
>low for an answer.  I even looked under the bed but all I found was
>smelly socks, so before I actually go mad could anyone shed some light
>on this rather annoying problem with Flash 8 Pro.
>
>I have a SOAP server set up under mod_perl which delivers an array of
>objects.
>
>To avoid reinventing the wheel I wanted Flash to decode the SOAP
>response from the server.  the result Im actually getting is an array
>of XML Objects.
>
>I could parse these XML objects but then I might as well and decode
>the entire response manually anyway.  the overhead for getting flash
>to decode the object has already been incurred so Id really like to
>figure this out.
>
>Now while this might seem trivial I do want to return some rather more
>complex objects so this has effetively stopped my development for now.
>
>I dont want to go down the path with flash Remoting at the minute but
>for those who might suggest it I have considered it and may implement
>it in the future.
>
>If anyone is getting Flash to fully decode Arrays of Objects or any
>other remotely complex data structure could they please post their
>SOAP response and reply for me to study so I can try and find out what
>exactly is wrong.
>
>I have a few more questions to ask but for clarity Ill leave these for
>another day.
>
>Im not sure if posting my SOAP reply would help at this point...I will
>create a simple example and post it shortly.
>
>Id really appreciate some help here so Ill cross my fingers and hope
>for the best.
>
>Cheers,
>Tom
>___
>Flashcoders@chattyfig.figleaf.com
>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
___
Flashcoders@chattyfig.figleaf.com
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


Re: [Flashcoders] Flash 8 - Decoding a SOAP Response - Array of complex objects

2006-08-15 Thread Tom Shaw
Ignore than...googles API will do for testing.

Ill report back when I have it fixed.

Cheers,
Tom


On Tue, 15 Aug 2006 08:56:05 +0100, you wrote:

>I think the problem I have got here is that Perl is really flexible
>when it comes to making objects.
>
>The WSDL is generated by hand, not automated.
>
>This leaves a simple question...what services on the web allow public
>access to methods that return a complex object?
>
>Any ideas anyone?
>
>Cheers,
>Tom
>
>
>On Mon, 14 Aug 2006 16:27:54 -0400, you wrote:
>
>>Yeah, sorry, this is more of a Perl SOAP WSDL generation issue than a
>>Flash issue I think.  I don't do the WSDL creation in .NET here, I have
>>a .NET C# developer I work with.  Nobody here knows Perl SOPA WSDL
>>creation in my group.  I do know that using native complex objects are
>>fine with Flash and .NET produced WSDLs, and they semi-problematic in
>>ColdFusion (according to some recent posts on this list - they
>>recommended sticking with the straight XML response instead), but I know
>>nothing of Perl-based WSDL SOAP requests.  I only know the basics of a
>>SOAP WSDL format, so I couldn't begin to debug yours... sorry.  Have you
>>compared your SOAP response to working ones on the Web?  
>>
>>Best of luck to you,  
>>
>>Jason Merrill
>>Bank of America 
>>Learning & Organization Effectiveness - Technology Solutions 
>> 
>> 
>> 
>> 
>> 
>>
>>>>-Original Message-
>>>>From: [EMAIL PROTECTED] [mailto:flashcoders-
>>>>[EMAIL PROTECTED] On Behalf Of Tom Shaw
>>>>Sent: Monday, August 14, 2006 3:28 PM
>>>>To: Flashcoders@chattyfig.figleaf.com
>>>>Subject: Re: [Flashcoders] Flash 8 - Decoding a SOAP Response - Array
>>of complex
>>>>objects
>>>>
>>>>Hi Jason,
>>>>
>>>>Im using Perl with Apach2-SOAP under mod_perl.
>>>>
>>>>If you are sending objects back and forth then I dont see why I should
>>>>be having problems.  It must be a problem with my WSDL or Perl SOAP
>>>>Response.
>>>>
>>>>Since flash decodes the response according to the WSDL file then it
>>>>seems likely there is a problem with this bit.
>>>>
>>>>I have included the WSDL file and a copy of the request and response.
>>>>Does the response look vastly different for an array of objects that
>>>>you might expect to see on your working Flash/SOAP project?
>>>>
>>>>This is an example and triggers my problem and is as short as I could
>>>>make it.
>>>>
>>>>- snip 8< --
>>>>
>>>>Request
>>>>
>>>>>>>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/";>
>>>>  http://ice.zerofiveone.com/Objecttest";>
>>>>>>> SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";>
>>>>  
>>>>
>>>>  
>>>>
>>>>
>>>>Response
>>>>
>>>>>>>  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
>>>>  xmlns:namesp2="http://xml.apache.org/xml-soap";
>>>>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>>>>  xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";
>>>>  xmlns:xsd="http://www.w3.org/2001/XMLSchema";
>>>>  SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";>
>>>>  
>>>>>>>  xmlns:namesp6="http://ice.zerofiveone.com/Objecttest";>
>>>>  >>>SOAP-ENC:arrayType="namesp2:SOAPStruct[3]">
>>>>
>>>>  Tom
>>>>  24
>>>>
>>>>
>>>>  Chris
>>>>  26
>>>>
>>>>
>>>>  Andrew
>>>>  56
>>>>
>>>>  
>>>>
>>>>  
>>>>
>>>>
>>>>And finally the WSDL - I tried to keep this as short as possible for
>>>>this example.
>>>>
>>>>
>>>>>>>xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/&

Re: [Flashcoders] Flash 8 - Decoding a SOAP Response - Array of complex objects

2006-08-15 Thread Tom Shaw
I think the problem I have got here is that Perl is really flexible
when it comes to making objects.

The WSDL is generated by hand, not automated.

This leaves a simple question...what services on the web allow public
access to methods that return a complex object?

Any ideas anyone?

Cheers,
Tom


On Mon, 14 Aug 2006 16:27:54 -0400, you wrote:

>Yeah, sorry, this is more of a Perl SOAP WSDL generation issue than a
>Flash issue I think.  I don't do the WSDL creation in .NET here, I have
>a .NET C# developer I work with.  Nobody here knows Perl SOPA WSDL
>creation in my group.  I do know that using native complex objects are
>fine with Flash and .NET produced WSDLs, and they semi-problematic in
>ColdFusion (according to some recent posts on this list - they
>recommended sticking with the straight XML response instead), but I know
>nothing of Perl-based WSDL SOAP requests.  I only know the basics of a
>SOAP WSDL format, so I couldn't begin to debug yours... sorry.  Have you
>compared your SOAP response to working ones on the Web?  
>
>Best of luck to you,  
>
>Jason Merrill
>Bank of America 
>Learning & Organization Effectiveness - Technology Solutions 
> 
> 
> 
> 
> 
>
>>>-Original Message-
>>>From: [EMAIL PROTECTED] [mailto:flashcoders-
>>>[EMAIL PROTECTED] On Behalf Of Tom Shaw
>>>Sent: Monday, August 14, 2006 3:28 PM
>>>To: Flashcoders@chattyfig.figleaf.com
>>>Subject: Re: [Flashcoders] Flash 8 - Decoding a SOAP Response - Array
>of complex
>>>objects
>>>
>>>Hi Jason,
>>>
>>>Im using Perl with Apach2-SOAP under mod_perl.
>>>
>>>If you are sending objects back and forth then I dont see why I should
>>>be having problems.  It must be a problem with my WSDL or Perl SOAP
>>>Response.
>>>
>>>Since flash decodes the response according to the WSDL file then it
>>>seems likely there is a problem with this bit.
>>>
>>>I have included the WSDL file and a copy of the request and response.
>>>Does the response look vastly different for an array of objects that
>>>you might expect to see on your working Flash/SOAP project?
>>>
>>>This is an example and triggers my problem and is as short as I could
>>>make it.
>>>
>>>- snip 8< --
>>>
>>>Request
>>>
>>>>>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/";>
>>>  http://ice.zerofiveone.com/Objecttest";>
>>>>> SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";>
>>>  
>>>
>>>  
>>>
>>>
>>>Response
>>>
>>>>>  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
>>>  xmlns:namesp2="http://xml.apache.org/xml-soap";
>>>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>>>  xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";
>>>  xmlns:xsd="http://www.w3.org/2001/XMLSchema";
>>>  SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";>
>>>  
>>>>>  xmlns:namesp6="http://ice.zerofiveone.com/Objecttest";>
>>>  >>SOAP-ENC:arrayType="namesp2:SOAPStruct[3]">
>>>
>>>  Tom
>>>  24
>>>
>>>
>>>  Chris
>>>  26
>>>
>>>
>>>  Andrew
>>>  56
>>>
>>>  
>>>
>>>  
>>>
>>>
>>>And finally the WSDL - I tried to keep this as short as possible for
>>>this example.
>>>
>>>
>>>>>xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
>>> xmlns:xsd="http://www.w3.org/2001/XMLSchema";
>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>>> xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";
>>> xmlns:si="http://soapinterop.org/xsd";
>>> xmlns:tns="http://ice.zerofiveone.com/Objecttest";
>>> xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
>>> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
>>> xmlns="http://schemas.xmlsoap.org/wsdl/";
>>> target

RE: [Flashcoders] Flash 8 - Decoding a SOAP Response - Array of complex objects

2006-08-14 Thread Merrill, Jason
Yeah, sorry, this is more of a Perl SOAP WSDL generation issue than a
Flash issue I think.  I don't do the WSDL creation in .NET here, I have
a .NET C# developer I work with.  Nobody here knows Perl SOPA WSDL
creation in my group.  I do know that using native complex objects are
fine with Flash and .NET produced WSDLs, and they semi-problematic in
ColdFusion (according to some recent posts on this list - they
recommended sticking with the straight XML response instead), but I know
nothing of Perl-based WSDL SOAP requests.  I only know the basics of a
SOAP WSDL format, so I couldn't begin to debug yours... sorry.  Have you
compared your SOAP response to working ones on the Web?  

Best of luck to you,  

Jason Merrill
Bank of America 
Learning & Organization Effectiveness - Technology Solutions 
 
 
 
 
 

>>-Original Message-
>>From: [EMAIL PROTECTED] [mailto:flashcoders-
>>[EMAIL PROTECTED] On Behalf Of Tom Shaw
>>Sent: Monday, August 14, 2006 3:28 PM
>>To: Flashcoders@chattyfig.figleaf.com
>>Subject: Re: [Flashcoders] Flash 8 - Decoding a SOAP Response - Array
of complex
>>objects
>>
>>Hi Jason,
>>
>>Im using Perl with Apach2-SOAP under mod_perl.
>>
>>If you are sending objects back and forth then I dont see why I should
>>be having problems.  It must be a problem with my WSDL or Perl SOAP
>>Response.
>>
>>Since flash decodes the response according to the WSDL file then it
>>seems likely there is a problem with this bit.
>>
>>I have included the WSDL file and a copy of the request and response.
>>Does the response look vastly different for an array of objects that
>>you might expect to see on your working Flash/SOAP project?
>>
>>This is an example and triggers my problem and is as short as I could
>>make it.
>>
>>- snip 8< --
>>
>>Request
>>
>>>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/";>
>>  http://ice.zerofiveone.com/Objecttest";>
>>> SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";>
>>  
>>
>>  
>>
>>
>>Response
>>
>>>  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
>>  xmlns:namesp2="http://xml.apache.org/xml-soap";
>>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>>  xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";
>>  xmlns:xsd="http://www.w3.org/2001/XMLSchema";
>>  SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";>
>>  
>>>  xmlns:namesp6="http://ice.zerofiveone.com/Objecttest";>
>>  >SOAP-ENC:arrayType="namesp2:SOAPStruct[3]">
>>
>>  Tom
>>  24
>>
>>
>>  Chris
>>  26
>>
>>
>>  Andrew
>>  56
>>
>>  
>>
>>  
>>
>>
>>And finally the WSDL - I tried to keep this as short as possible for
>>this example.
>>
>>
>>>xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
>>  xmlns:xsd="http://www.w3.org/2001/XMLSchema";
>>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>>  xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";
>>  xmlns:si="http://soapinterop.org/xsd";
>>  xmlns:tns="http://ice.zerofiveone.com/Objecttest";
>>  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
>>  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
>>  xmlns="http://schemas.xmlsoap.org/wsdl/";
>>  targetNamespace="http://ice.zerofiveone.com/Objecttest";>
>>  
>>>  targetNamespace="http://ice.zerofiveone.com/Objecttest";>
>>  >namespace="http://schemas.xmlsoap.org/soap/encoding/"; />
>>  http://schemas.xmlsoap.org/wsdl/"; />
>>  
>>
>>  
>>  
>>
>>  
>>  
>>
>>  
>>>  wsdl:arrayType="tns:Person[]" />
>>  
>>
>>  
>>
>>  
>>
>>  
>>
>>  
>>  
>>
>>  
>>
>>  
>>
>>  
>>  
>

Re: [Flashcoders] Flash 8 - Decoding a SOAP Response - Array of complex objects

2006-08-14 Thread Tom Shaw
Hi Jason,

Im using Perl with Apach2-SOAP under mod_perl.

If you are sending objects back and forth then I dont see why I should
be having problems.  It must be a problem with my WSDL or Perl SOAP
Response.

Since flash decodes the response according to the WSDL file then it
seems likely there is a problem with this bit.

I have included the WSDL file and a copy of the request and response.
Does the response look vastly different for an array of objects that
you might expect to see on your working Flash/SOAP project?

This is an example and triggers my problem and is as short as I could
make it.

- snip 8< --

Request

http://www.w3.org/2001/XMLSchema-instance";
  xmlns:xsd="http://www.w3.org/2001/XMLSchema";
  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";>
  http://ice.zerofiveone.com/Objecttest";>
http://schemas.xmlsoap.org/soap/encoding/";>
  

  


Response

http://schemas.xmlsoap.org/soap/envelope/";
  xmlns:namesp2="http://xml.apache.org/xml-soap";
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";
  xmlns:xsd="http://www.w3.org/2001/XMLSchema";
  SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";>
  
http://ice.zerofiveone.com/Objecttest";>
  

  Tom
  24


  Chris
  26


  Andrew
  56

  

  


And finally the WSDL - I tried to keep this as short as possible for
this example.


http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:si="http://soapinterop.org/xsd";
xmlns:tns="http://ice.zerofiveone.com/Objecttest";
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
xmlns="http://schemas.xmlsoap.org/wsdl/";
targetNamespace="http://ice.zerofiveone.com/Objecttest";>

  http://ice.zerofiveone.com/Objecttest";>
  http://schemas.xmlsoap.org/soap/encoding/"; />
  http://schemas.xmlsoap.org/wsdl/"; />
  

  
  

  
  

  

  

  

  

  

  
  

  

  

  
  


  
  
http://schemas.xmlsoap.org/soap/http"; />

  http://ice.zerofiveone.com/Objecttest/getPeople";
style="rpc" />
  
http://ice.zerofiveone.com/Objecttest";
  encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; />
  
  
http://ice.zerofiveone.com/Objecttest";
  encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; />
  

  
  

  http://ice.zerofiveone.com/Objecttest/soap"; />

  



Id really apprecaite any help with this one.  Im completely suck :)

Cheers,
Tom

On Mon Aug 14 10:45:06 2006, in  you wrote:

>What are you using on your backend?  .NET?  ColdFusion?  If .NET, yes,
>you can easily send objects back and forth. It serializes as SOAP
>formatted XML inbetween, but you'll never notice. You can read an object
>with arrays, set properties, and send it back.  I can't send you our
>SOAP message because it might be considered propriety bank information
>(even though it's not really), but there are some tutorials on the web>
>
>http://www.sephiroth.it/tutorials/flashPHP/webServiceConnector/
>
>Here is the WSDL is uses:
>
>http://www.xmethods.net/sd/2001/BabelFishService.wsdl
>
>Here is some code I use to test loading in an object from a wsdl SOAP
>object from .NET
>
>import mx.services.*;
>
>function startmyws():Void{
>   ws = new WebService("http://blahblahurl/theService.asmx?WSDL";);
>   ws.onLoad = trace("The webservice loaded fine.");
>   methodResultObj = ws.GetProject(0);
>   methodResultObj.onResult = showResult;
>   methodResultObj.onFault = function(fault) {
> trace("!! Flash Web Services Component Error.  \n Fault Code:
>"+fault.faultcode + ", Fault: " + fault.faultstring);
>   }
>}
>
>function showResult(projObj:Object){
>   //test object value:
>   theVar = projObj.Content.Topics[0].TextAreas[0].Content
>   trace(theVar)
>}
>
>startmyws();
>
>Don't bother with parsing through XML if you are using .NET.  And wash
>those socks. :) 
>
>Jason Merrill
>Bank of America 
>Le

RE: [Flashcoders] Flash 8 - Decoding a SOAP Response - Array of complex objects

2006-08-14 Thread Merrill, Jason
What are you using on your backend?  .NET?  ColdFusion?  If .NET, yes,
you can easily send objects back and forth. It serializes as SOAP
formatted XML inbetween, but you'll never notice. You can read an object
with arrays, set properties, and send it back.  I can't send you our
SOAP message because it might be considered propriety bank information
(even though it's not really), but there are some tutorials on the web>

http://www.sephiroth.it/tutorials/flashPHP/webServiceConnector/

Here is the WSDL is uses:

http://www.xmethods.net/sd/2001/BabelFishService.wsdl

Here is some code I use to test loading in an object from a wsdl SOAP
object from .NET

import mx.services.*;

function startmyws():Void{
ws = new WebService("http://blahblahurl/theService.asmx?WSDL";);
ws.onLoad = trace("The webservice loaded fine.");
methodResultObj = ws.GetProject(0);
methodResultObj.onResult = showResult;
methodResultObj.onFault = function(fault) {
  trace("!! Flash Web Services Component Error.  \n Fault Code:
"+fault.faultcode + ", Fault: " + fault.faultstring);
}
}

function showResult(projObj:Object){
//test object value:
theVar = projObj.Content.Topics[0].TextAreas[0].Content
trace(theVar)
}

startmyws();

Don't bother with parsing through XML if you are using .NET.  And wash
those socks. :) 

Jason Merrill
Bank of America 
Learning & Organization Effectiveness - Technology Solutions 
 
 
 
 
 

>>-Original Message-
>>From: [EMAIL PROTECTED] [mailto:flashcoders-
>>[EMAIL PROTECTED] On Behalf Of Tom Shaw
>>Sent: Monday, August 14, 2006 9:29 AM
>>To: flashcoders@chattyfig.figleaf.com
>>Subject: [Flashcoders] Flash 8 - Decoding a SOAP Response - Array of
complex
>>objects
>>
>>Hi all,  This is my first post on the list so Ill say hi now and hope
>>you are all friendly :)
>>
>>Ive been going round for days on this one and have searched high and
>>low for an answer.  I even looked under the bed but all I found was
>>smelly socks, so before I actually go mad could anyone shed some light
>>on this rather annoying problem with Flash 8 Pro.
>>
>>I have a SOAP server set up under mod_perl which delivers an array of
>>objects.
>>
>>To avoid reinventing the wheel I wanted Flash to decode the SOAP
>>response from the server.  the result Im actually getting is an array
>>of XML Objects.
>>
>>I could parse these XML objects but then I might as well and decode
>>the entire response manually anyway.  the overhead for getting flash
>>to decode the object has already been incurred so Id really like to
>>figure this out.
>>
>>Now while this might seem trivial I do want to return some rather more
>>complex objects so this has effetively stopped my development for now.
>>
>>I dont want to go down the path with flash Remoting at the minute but
>>for those who might suggest it I have considered it and may implement
>>it in the future.
>>
>>If anyone is getting Flash to fully decode Arrays of Objects or any
>>other remotely complex data structure could they please post their
>>SOAP response and reply for me to study so I can try and find out what
>>exactly is wrong.
>>
>>I have a few more questions to ask but for clarity Ill leave these for
>>another day.
>>
>>Im not sure if posting my SOAP reply would help at this point...I will
>>create a simple example and post it shortly.
>>
>>Id really appreciate some help here so Ill cross my fingers and hope
>>for the best.
>>
>>Cheers,
>>Tom
>>___
>>Flashcoders@chattyfig.figleaf.com
>>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
___
Flashcoders@chattyfig.figleaf.com
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


[Flashcoders] Flash 8 - Decoding a SOAP Response - Array of complex objects

2006-08-14 Thread Tom Shaw
Hi all,  This is my first post on the list so Ill say hi now and hope
you are all friendly :)

Ive been going round for days on this one and have searched high and
low for an answer.  I even looked under the bed but all I found was
smelly socks, so before I actually go mad could anyone shed some light
on this rather annoying problem with Flash 8 Pro.

I have a SOAP server set up under mod_perl which delivers an array of
objects.

To avoid reinventing the wheel I wanted Flash to decode the SOAP
response from the server.  the result Im actually getting is an array
of XML Objects.

I could parse these XML objects but then I might as well and decode
the entire response manually anyway.  the overhead for getting flash
to decode the object has already been incurred so Id really like to
figure this out.

Now while this might seem trivial I do want to return some rather more
complex objects so this has effetively stopped my development for now.

I dont want to go down the path with flash Remoting at the minute but
for those who might suggest it I have considered it and may implement
it in the future.

If anyone is getting Flash to fully decode Arrays of Objects or any
other remotely complex data structure could they please post their
SOAP response and reply for me to study so I can try and find out what
exactly is wrong.

I have a few more questions to ask but for clarity Ill leave these for
another day.

Im not sure if posting my SOAP reply would help at this point...I will
create a simple example and post it shortly.

Id really appreciate some help here so Ill cross my fingers and hope
for the best.

Cheers,
Tom
___
Flashcoders@chattyfig.figleaf.com
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