Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#5 send and recieve custom classes from the Service Browser

closed
Danny Kopping
None
5
2011-09-16
2010-10-22
Janther
No

I imagine this requires a lot of effort but it would be great if the browser could load swf and swc files so it could create other classes to be send and also on the result view it could show the custom class recieved.
i've seen some AIR applications that are able to do this.
maybe for a release far away in the future but in the mean time you could upgrade the browser and the deserializer so it understands the JSON class mapping {"__type":"foo.bar"}

Discussion

  • Danny Kopping
    Danny Kopping
    2010-10-22

    Nice idea! We will most likely include something like this when we finish version 2.0 as well as moving away from the JSON request type as this seems to trip a lot of people up. Stay tuned!

     
  • Danny Kopping
    Danny Kopping
    2010-10-22

    • assigned_to: nobody --> dannykopping
     
  • Janther
    Janther
    2010-11-15

    if you are trying to get away from JSON may a suggest something like http://eval.hurlant.com/demo or something like that where you could write an actionscript line of code like or lines of code like this.

    var a:int = 5;
    var b:String = "hi";
    var param1:VO = new VO(a, b);
    var param2:Boolean = false;

    then the browser reads this executes it and takes param1 and param2 variables and calls the method with these values.

    with this and the load of external swfs, people will be able to add custom classes to the domain and execute custom functions like factories for the valueobjects or stuff like that before the service gets called.

     
  • ariels
    ariels
    2011-09-16

    the service browser as you know it is gone. You can seez the "_explicitType" marker in the new service browser though

     
  • ariels
    ariels
    2011-09-16

    • status: open --> closed