Skip to content
This repository
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 37 lines (36 sloc) 1.442 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
-------------
savePerson()
-------------
var person:Person = new Person();
person.name = "Nguyen Kien Trung";
person.age = 27;
person.height = 1.69;
person.hobbies = new Object();
person.hobbies.soccer = "Barcelona";
person.hobbies.guitar = "Fender";
person.hobbies.laptop = "Macbook Pro";
person.createdBy = "FB3";
person.createdOn = new Date();
person.address = new Address();
person.address.street = "Sims Drive #08-211";
person.address.postcode = 380040;
person.createdBy = "FB3";
person.createdOn = new Date();

flexService.getOperation("savePerson").send(person);
-------------
Captured binary
-------------
<<0,3,0,0,0,1,0,4,110,117,108,108,0,2,47,49,0,0,0,224,10,0,0,0,
1,17,10,129,19,77,102,108,101,120,46,109,101,115,115,97,103,
105,110,103,46,109,101,115,115,97,103,101,115,46,67,111,109,
109,97,110,100,77,101,115,115,97,103,101,19,111,112,101,114,
97,116,105,111,110,27,99,111,114,114,101,108,97,116,105,111,
110,73,100,19,109,101,115,115,97,103,101,73,100,15,104,101,97,
100,101,114,115,9,98,111,100,121,17,99,108,105,101,110,116,73,
100,21,116,105,109,101,84,111,76,105,118,101,19,116,105,109,
101,115,116,97,109,112,23,100,101,115,116,105,110,97,116,105,
111,110,4,5,6,1,6,73,54,53,57,68,52,54,68,49,45,48,49,51,56,
45,50,70,56,68,45,52,65,57,67,45,49,48,55,68,57,48,68,57,66,
51,70,65,10,11,1,9,68,83,73,100,6,7,110,105,108,37,68,83,77,
101,115,115,97,103,105,110,103,86,101,114,115,105,111,110,4,1,
1,10,5,1,1,4,0,4,0,6,1>>
Something went wrong with that request. Please try again.