Around the Table
From Awesome SOA project
Project timeline – Architecture – Details – News – Discusion board – Team
Round Table :)
______
/ \
/ __ \
/ / \ \
\ \__/ /
\ /
\______/
|
| Around the Round Table |
|---|
| Welcome to "The fifth team" Round Table. This page is used to discuss everything about the SOA project (Fuel prices) and other interesting and important things between teammates and other interested people. Before creating a new topic, don't forget to create a new section (==Section name==). What is more, look at what is going on here and check our shiny main page. Please sign and date your post (by typing ~~~~ or clicking the signature icon in the edit toolbar). So, don't waste your time and get started. |
[edit] Discussion board is created
Discussion board is created. So let's discuss actively. --Vezhlys 23:54, 23 April 2007 (EEST)
[edit] We need a meeting
I and Laimis attended in lecture today and we have some more news. Our first idea about insurance system is not very good, because there are some web pages that provides such information already (www.draudimas.lt and www.e-draudimas.lt). So we need a new idea. Because of this, I encourage everybody to think about this till Tuesday. In Tuesday we can make a meeting somewhere, where we can access an internet. This meeting purposes would be:
- Create a new idea for web service
- Create a plan for our project
- Create a schedule for it
- Discuss Developing tools
- Assign responsibilities for the parts of the project
We don't have a lot of time and we have other work to do. Because of this, we need a good plan and start to work as fast as possible. Every week would be a status reports from teams, I hope we will have something to say other time. So, one more time, think about new ideas (you can point some of them here) and be ready for meeting (discuss the exact time). --Vezhlys 22:14, 28 April 2007 (EEST)
[edit] New Idea. Fuel prices in Vilnius + driving directions
Sorry for not attending Saturdays lecture. I've heared about bad news, that's why I had to to think for a new idea. First one came to my mind was to collect fuel prices here, in Vilnius, and to represent them as we would have done with insurance system. I mean we write parsers which collect data every day/hour (whatever) and we create a web page where user can find the lowest prices in Vilnius. If idea seems appropriate later we could expand web interface which would provide more functions.
The time goes very fast and this could seem too simple project. I suggest to use my already created project "Vilniaus Kelrodis" (wap browser needed. Fits Opera or Firefox wml plugin) here, which could provide shortest driving directions to the exact petrol station. I could expand my "Vilniaus Kelrodis" to the service but don't know if it's really needed.
We could of course expand this project to more complicated. I.e. providing prices in other currency by getting exact currency from the bank's service.
So the main pluses I see in this project:
- real SOA project
- there are no analogs as I have surfed the web
- quite useful
Minuses:
- only one petrol station - Lukoil provides prices every day in easy-capturing format. Statoil and Ventus provides everything but in Flash, Uno-x has only one price for all stations (also easy-capturing), and Neste doesn't provide anything. The solution here I see is to make user-editable prices for those petrol-stations we couldn't get. This would be a contributive project where registered (or maybe all) users could post prices.
Antanas 12:22, 30 April 2007 (EEST)
[edit] One more idea - Digg.com and del.icio.us integration
I have idea to combine several sites like digg.com and del.icio.us into to one web service. They are providing web services to access their data. Yes, there is one web page called doggdot.us which made similar thing, however our purpose can be a little bit different. We are not creating web page, we are creating a web service. Our service can be useful for every web page in the world, which wants to integrate recent headlines from digg.com and del.icio.us without accessing two different API's. We can provide more filtering and search options. Most crazy idea about this to use something like babelfish to translate headlines to other languages. There are two minuses in this idea. Web service would be not intended for Lithuanian market. It would be difficult to prove its commercial aim (especially then digg.com and del.icio.us licenses requires to use them for not commercial purposes). --Vezhlys 15:33, 30 April 2007 (EEST)
- Cool! We need more ideas from Laimis and Rasa so we could choose. --Antanas 18:09, 30 April 2007 (EEST)
[edit] Decision: Project Idea ready / Confirmed Antanas Idea "Fuel prices in Vilnius + driving directions"
So we will collect fuel prices here, in Vilnius, and represent them. We all will write parsers which collect data every day/hour (whatever) and we all will create a web page where user can find the lowest prices in Vilnius. Later we could expand web interface which would provide more functions. Now just basic steps. Of course we already have few ideas how expand our service like "providing prices in other currency by getting exact currency from the bank's service" (Antanas idea). Detailed specification we will write later... Rasa
[edit] Correctable Issues
- Handling Lithuanian characters in web service side. Something goes wrong. Seems to be wrong charsets - Corrected
[edit] Useful information
- Download SOAP implementation here and then use the following function to getPetrolStations from Web service.
Damn, I'm pissed. It took me all evening to handle the Lithuanian issues when getting SOAP response... :/ This function now works fine and returns Lithuanian characters
function getStationsIDfromSoap() {
require_once('nusoap/lib/nusoap.php');
$wsdl = "http://212.59.24.226:3000/fuel_service/wsdl";
$client=new soapclient($wsdl, 'wsdl');
// These two fu**ing lines took me 3 hours!
$client->soap_defencoding = 'UTF-8';
$client->decode_utf8 = false;
$param=array(
//'date'=>'2007-05-04'
//'country2'=>'canada'
);
$result = $client->call('GetPetrolStations', $param);
// echo 'Request: <xmp>'.$client->request.'</xmp>';
// echo 'Response: <xmp>'.$client->response.'</xmp>';
// echo 'Debug log: '.$client->debug_str;
return $result;
}

