Wednesday 17 December 2008

A6: Webservice Server

The exercise is difficult
My code based a lot on the code of Mr.Dernlt , I hope its still okie :D cos without it Im not gonna make it on time.

The complex DataType LengthObj contains 2 variable types : Double(value) and String(unit)

3 Operation

to_meters : convert LengthObj to meters
Convert : convert LengthObj to meters and then convert to target unit
ConvertArray : convert all diffenrent LengthObj to meters and then return the sum of all LengthObj in target unit

Time for some sleep....

No comments: