Project 2 Description



Project 2 is nothing but a compilation of a number code example dealing with various mobile applications. Dr. Pargas and I will be covering around 50 different samples in the next 4 weeks dealing with code related to PDAs, Mobile Phones, GPS Systems etc.

Set of Annotated Links:

1. ASP.NET Web Service 
This web site has some good examples of creating web services using ASP.NET. It also explains how to deploy these web services.

 

2. ASP.NET Mobile - Tutorial
This web site has good tutorials on writing web pages using .net mobile.

 

3. Creating Web Services:

This is a good article on creating web services and deploying them.


 

Example 1: This basically is an example of a simple web service using .net Mobile i.e. web forms for mobile applications which accesses a database to pull up a student. Use only numbers 1,2 ,3 or 4.

Click Here

 

Example 2: This is not fully functional code as yet, but this is PHP code which directly accesses a web service, without going through IIS. Any help on improving this code will be appreciated.

 

Click Here

 

Example 3: I tried doing the same using JavaScript. Again, those of you who are familiar with Java Script and have modifications kindly help me out here.

 

Click Here

 

Example 4: Thank God. Got it done, at last. Now this client is written in HTML that posts a request to another client on Hogwarts which calls a web service on Hogwarts and posts back a reply to a Php client.

 

Click Here


a: THE HTML CLIENT FOR THE ABOVE

 

Click on view source to view the code.

 

Click Here

 

b: THE CLIENT ON HOGWARTS THAT CONSUMES THE WEB SERVICE

 

Click Here

 

c: THE PHP CLIENT THAT ACCEPTS DATA BACK

 

Click Here

 

d: Code for the web service

 

Click Here

 

Example 5 : The above didn’t work, since there seems to be a problem with POST. But the same was achieved using FOPEN and FGETS. Click here for a detailed solution

 

Click Here