Adobe Flex and WebSpeed

Errornix

New Member
I am currently trying to develop an application using Adobe Flex to build the front-end and WebSpeed for the backend. Has anybody here ever done this before? If so, could you please provide some insight on how you called a WebSpeed procedure from Flex? Thanks.

I'm using OpenEdge 10 and Flex 3 btw.
 

Errornix

New Member
I'm still working out some of the details, but for the most part, I have it figured out. Basically, here's how it works...

Flex cannot directly call webspeed/progress procedures, instead it must call Web Services. OpenEdge 10 comes with a program called ProxyGen that is used to convert your .r programs into web services (creating wsdl and wsm files). Once the web service is created, it can be called by Flex. Flex doesn't care if the web service is created with OpenEdge, Cold Fusion, ASP, whatever. It just sees a web service and uses it.

Here's a document that was very helpful for me in figuring this out.
www.psdn.com/library/servlet/KbServlet/download/4293-102-10102/OE_WS_In.doc

After working through that doc, let me know if you have any more specific questions and I'll try to help you out.
 

webguy

Member
Cool stuff. I thought I'd also mention some of the great javascript libraries and ext to some of you. I've used jquery extensively with webspeed to pull of similiar type of functionality.

Some jquery examples
http://ajaxcrawler.wordpress.com/category/jquery-showcase/
http://www.noupe.com/ajax/37-more-shocking-jquery-plugins.html

jquery site
http://docs.jquery.com/How_jQuery_Works


eXt is another polished javascript library (commercial and open source versions) that can work on jquery and the nice thing is that these do not require flash. (not that flex or flash are bad).
 

rrubio

New Member
agnaldo,

I must thank you, i had no idea this could be achieved using progress and the examples are awesome!

On this note, would you have a little how to i.e. are you using eclipse and flex? and how to set up the progress side of things?

Thanking you in advance,
Rodrigo
 

agnaldo.macedo

New Member
Rodrigo, sorry for the delay.

I lost my password and was caught for capcha.

About Flex + Progress.
You can use the WebSpeed to generate a response to the Flex.
Simple as that.
The Flex application calls the URL and get the answer.
That is, you just change the html for Flex.
See examples:​


http://starweb-software.no-ip.info:8000/ex010/


http://starweb-software.no-ip.info:8000/ex020/

http://starweb-software.no-ip.info:8000/ex030/

http://starweb-software.no-ip.info:8000/ex040/

In this case, I use StarWeb Framework instead of WebSpeed, but the same thing.


 

rrubio

New Member
Hi Agnaldo,

Apologies for the delay in reply. Thanks heaps for your help... looking forward to playing with flex/progress.
 
Top