This content has been marked as final. Show 7 replies
I also would like to know if there is a solution to this problem. I can't believe there wouldn't be a solution to this.
I was actually wondering this as well. My problem was with Sockets say you send a message along a socket with a Command. You do not get a Response as per the typical Cairngorm way. I implemented it by ignoring responses and having another seperate command act as the responder. When I recieve data on the Socket I call that command and it basically acts as a responder for the first command.1 person found this helpful
I am unsure if that is the best way ( and valid Cairngrom ) but it does work and in my mind makes sense. ( keep in mind I have been using flex for less then a month and Cairngorm for much less time so I am no expert )
I guess the Adobe folks don't see this as being very important.
Right now we are focusing on getting the generated code the right way, and trying to make it work for as many cases as possible. As soon as we get some time we will try to see what is the best way to use it with Cairngrom.
Until then, if you find a way or have a great idea do not hesitate to post it here.
Since I posted this question, I have abandoned the notion of auto-generated web services and embraced the good old FDS concept where the RemoteObject meta-tag does all the conversion work for me. We are now using the Granite DS package and it is working well for us. I would love to consume web services, but it just isn't worth the hassle when all you have to do with Granite (and FDS) is cast your return objects to the proper object type.
BTW, since this posting, I have investigated competing Flex app frameworks. After my research, I checked out the PureMVC framework. Wow!! Cairngorm always left me with an uneasy feeling and I guess I am not alone. Apparently, Cliff Hall felt the same way. That is why he started the project. I like his approach alot more than Cairngorm especially since it includes notifications which allow me to broadcast my own app level events independent from the AS Event framework. Check out PureMVC. For what it is worth, it has my humble endorsement. Cliff was even gracious enough to acknowledge the other Adobe Consulting guys for their work. Good for you Cliff, I respect that. Check out a better way at http://www.puremvc.org/
Ok dumb question.... Why would you want to still use Cairngorm?1 person found this helpful
The auto generated WSDL code is fairly close to working. There are a few critical errors that I have seen, but once they get it right, why use CG?