View Single Post

  #8 (permalink)  
Old 02-20-2007
markuskolp markuskolp is offline
Junior Member
White Belt
 
Join Date: Feb 2007
Posts: 1
Re: Mappoint java support

Hello,
I'm trying to use MapPoint Web Service with a Java rich-client and a JSP thin-client.
I am always getting an
Code:
java.net.ConnectException: Connection timed out: connect
Exception

I've also tried the Jakart Commons HTTPClient instead of the SimpleHTTP-Client, but haven't been successful with this as well.

With a .NET Client I can easily access the MapPoint Web Service, however not with Java.

Also, I couldn't get the JSP-Example (Java Store Locator) from demo.mappoint.net running, and the rich-client example (Java Driving Directions) from demo.mappoint.net throws the Connectiont timeout exception from above.

I have already spent hours on this.

Could anyone post code for a running example in JSP or plain Java.
It would be better if you could attach the code as complete package in this thread.
Or even send it to me at markus.kolp@freenet.de.

And how did you get the Store Locator Example running? I'm using JBoss - any issues with this?
Reply With Quote