I’ve been looking at The Midnight Coder’s WebOrb for Rails and I’m very impressed. Has Adobe given any thought to hiring these developers so they could get these implementations ported into Adobe’s Flex Data Services? I know Adobe’s working on a .NET implementation, but getting a Ruby implementation would be fantastic.

 


From: [email protected] [mailto:[email protected]] On Behalf Of Paul Spitzer
Sent: Wednesday, October 04, 2006 1:27 PM
To: [email protected]
Subject: Re: [flexcoders] SOAP Web Services and registerClassAlias

 

Thanks Seth. I should have read the docs. :)... "Preserves the class
(type) of an object when the object is encoded in Action Message Format
(AMF)." I didn't know it was AMF specific.

It /would/ be great to see some more support for this kind of thing. In
the past we've done things like...

response.__proto__ = User.prototype;
Function(User).call(response);
var user: User = User(response);

Where response is the parsed anonymous object from the web service and
User is the type. Now, I'm having to manually iterate the anonymous
object and populate an instance of the type.

best,

Paul

Seth Hodgson wrote:
> Hi Paul,
>
> registerClassAlias(...) is used by the Flash Player to drive AMF serialization/deserialization. In the web service scenario, you're not getting back AMF formatted data so this built-in function doesn't help out.
>
> For now, you'll need to write your own helper classes that take the e4x formatted result from your web service invocation and use it to create a typed instance(s) of your choosing.
>
> Streamlining this process is on our roadmap.
>
> Best,
> Seth
>
> ________________________________________
> From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of Paul Spitzer
> Sent: Wednesday, October 04, 2006 10:13 AM
> To: [EMAIL PROTECTED]ups.com
> Subject: Re: [flexcoders] SOAP Web Services and registerClassAlias
>
> Or, a little less specific... is there a way to get the Web Service
> classes to return typed objects?
>
> Paul Spitzer wrote:
>
>> Anyone know if there a way to use registerClassAlias with Web Services
>> to get typed objects back?
>>
>>
>>
>>
>
>
>
>
>
>

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to