Solved

Need to get a GPS string from my Java applet

Posted on 2010-09-22
2
536 Views
Last Modified: 2012-05-10
I have a Java applet which gets the GPS data from a Boost phone, then fills a SOAP envelope and passes it to my ASP.NET 2.0 web service.  but I am looking for a solution that allows me to do away with the SOAP web service.  I'm having trouble hosting the service, getting the SQL Server database running and the NHIbernate working again.

Please tell me if this will work.

I modify the Java applet to package the data in one long string, perhaps 100 characters, for example:
42.245245XXX72.7575757XXX128XX354XX11-32-2010XX13:954:30

Can I send that string as a parameter to a website I have yet to write?

The Java applet could issue a call over HTTP such as:
http://12.32.143.43/42.245245XXX72.7575757XXX128XX354XX11-32-2010XX13:954:30

It's just a string.  What's the format for an optional parameter?

Anyway, you get the point.  I would send it to my simple website which will parse it and write it to a database or file.

Will that work?  If not, why not?  And what technology might allow me to do this?

Thanks,
newbieweb



0
Comment
Question by:newbieweb
2 Comments
 
LVL 55

Accepted Solution

by:
Jaime Olivares earned 500 total points
ID: 33740360
you don't need soap at all, just implement a simple asp.net page like: http://12.32.143.43/ReceiveGPS.asp

Then you can invoke it like http://12.32.143.43/ReceiveGPS.asp?read=42.245245XXX72.7575757XXX128XX354XX11-32-2010XX13:954:30

inside ReceiveGPS.asp, you can get the reading with something like:

System.Uri url = Request.UrlReferrer;
String query = url.Query;

have a look to 'query', it should contain: "read=42.245245XXX72.7575757XXX128XX354XX11-32-2010XX13:954:30"
0
 

Author Closing Comment

by:newbieweb
ID: 33740372
Sounds like cake.  Thanks.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Problem to error 4 47
Resolve Dependency Issues 4 48
Remove greater than sign 3 50
Receiving a string from a WebService Push 21 38
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now