Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Need to get a GPS string from my Java applet

Posted on 2010-09-22
2
Medium Priority
?
558 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 55

Accepted Solution

by:
Jaime Olivares earned 2000 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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
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…

610 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