gofr (AS3 Web Service) Extensions
I have been getting a lot of good feedback about the web service package (gofr) I wrote for AS3 , and I thank everyone who has offered solutions and additions in order to make the project even better.
A recent contribution to gofr has been made by Johan Öbrink (http://manmachine-tech.blogspot.com/) which looks very promising. It’s a modified version of the first release of gofr that has an error event listener. I haven’t been able to test it but it was something I’ve always wanted to implement to the package, I just didn’t have enough time to do my research on the absolute best way of implementing it.
The unfortunate part about this package is that modifications were made straight on the classes. I would have loved to see a seperate, encapsulated package that can be easily transferred over to newer versions of gofr.
This example also brought up the idea of reworking my package in some way so that others can easily create add-ons, extensions, and plugins without having to touch the original package. By keeping your tweaks and modifications on a seperate package, you can keep using your classes on different versions of gofr without having to worry about overwriting files or modifying the most recent version.
Again, thanks for everyone’s support and I hope to make this the best web service support for AS3.
Hi. Impressive piece of coding. I’ve been trying to use this class to interface with Amazon’s S3 SOAP API, using this WSDL file http://s3.amazonaws.com/doc/2006-03-01/AmazonS3.wsdl
However, after loading availableMethods() is empty. Does WSDL.as need enhancing?
Thanks for your time,
Nigel.
The WSDL parser is currently not able to parse through the amazon WSDL documents because there is a slight difference in structure between regular WSDL and Amazon WSDL. I’ll have to look through it in more detail and figure out how to fix it.
Hi Carlo. That would be great. I like what you’ve done with the dynamic method creation. You’ve inspired me…
Cheers,
Nigel.
Awesome job. We are encountering the same no available methods while trying to access a .net web service. Connects fine and I see the methods get dropped in the ConstructSchema when schema.length is zero (2nd for loop).
Carlo,
I’ve got a solution to use the Flex RPC classes within flash, check out my post:
http://labs.qi-ideas.com/2007/12/25/using-flex-compiled-code-within-flash