PDA

View Full Version : FleXtense(ActionScript code generator for the web service)


Anka_84
09-27-2007, 06:17 PM
Hello,

We developed an application named flextense and you can download freely.
Flextense is an application for Flex Users which composes the automatic ActionScript proxy classes for accessing the web services.

For example, There is a webservice named UserService and suppose that there is a method named GetUser which turns a value type of User in this web service.

The structure of the code has been composed for this web service by flextense;

var service:UserService = new UserService(); It has been derived from WebService class.
service.getUser.send() //If the GetUser method had any parameter (Enum,CustomClass,Colllection or any type of data etc.), the parameter of send method is similar/equal to parameter of web service method has taken.

service.getUser.addResponder(onResult);
service.getUser.addFaulter(onfault);

private function onResult(event:GetUserResultEvent):void // FleXtense composes a ResultEvent class for each method in the web service.
{

var user:User = event.result; // The result property defined in this class is similar/equal to the return value of the method of web service.
//Its User class has been produced automatically by FleXtense. The values in it, is similar/equal to User Class has defined in web Service.



var str:String = user.Name; // Composed data types are similar/equal with the data types of User class has been defined in web service.
var num:Int = user.Age


}
private function onFault(event:BaseFaultEvent):void
{
Alert.show(event.fault.faultString);
}

There is much more supporting for the application. when you use it you dont believe what it does :)
You can use the values defined in web service like enum, collection, custom class etc.

For more information: http://www.flextense.net

Yours Faithfully

FleXtense Team..

roki13
10-06-2008, 01:11 PM
hi,
I'm very interested by the project; your domain is now expired and I cant' access the site. Is the project still on track ?

thanks,

seb