473,799 Members | 3,866 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Callling MapPoint WebService

Hi,

I'm trying to figure out a way to access a location web service for my
web application. I just discovered MapPoint Web Service so I got an
evaluation account and I tried to execute the last sample on this page :
http://demo.mappoint.net/

I got the application running but it couldn't connect to the Web Service
and displayed an error dialog box. I just added a debugging instruction
to know what was this exception and I got the following exception stack
trace :

AxisFault
faultCode: {http://xml.apache.org/axis/}Server.userExc eption
faultString: java.io.IOExcep tion
faultActor: null
faultDetail:
stackTrace: java.io.IOExcep tion
at
sun.net.http://www.protocol.http.HttpURLConn...ction.java:602)
at SimpleHTTPSende r.readFromConne ction(SimpleHTT PSender.java:99 )
at SimpleHTTPSende r.invoke(Simple HTTPSender.java :60)
at
org.apache.axis .strategies.Inv ocationStrategy .visit(Invocati onStrategy.java :71)
at org.apache.axis .SimpleChain.do Visiting(Simple Chain.java:156)
at org.apache.axis .SimpleChain.in voke(SimpleChai n.java:126)
at org.apache.axis .client.AxisCli ent.invoke(Axis Client.java:182 )
at org.apache.axis .client.Call.in vokeEngine(Call .java:2113)
at org.apache.axis .client.Call.in voke(Call.java: 2102)
at org.apache.axis .client.Call.in voke(Call.java: 1851)
at org.apache.axis .client.Call.in voke(Call.java: 1777)
at org.apache.axis .client.Call.in voke(Call.java: 1315)
at
net.mappoint.s. RenderServiceSo apStub.getMap(R enderServiceSoa pStub.java:986)
at MapDisplay.rend erMap(MapDispla y.java:295)
at MapDisplay.resh ape(MapDisplay. java:255)
at java.awt.Compon ent.setBounds(C omponent.java:1 664)
at java.awt.Border Layout.layoutCo ntainer(BorderL ayout.java:691)
at java.awt.Contai ner.layout(Cont ainer.java:1020 )
at java.awt.Contai ner.doLayout(Co ntainer.java:10 10)
at java.awt.Contai ner.validateTre e(Container.jav a:1092)
at java.awt.Contai ner.validateTre e(Container.jav a:1099)
at java.awt.Contai ner.validateTre e(Container.jav a:1099)
at java.awt.Contai ner.validateTre e(Container.jav a:1099)
at java.awt.Contai ner.validate(Co ntainer.java:10 67)
at java.awt.Window .show(Window.ja va:461)
at MainWindow.main (MainWindow.jav a:40)
at sun.reflect.Nat iveMethodAccess orImpl.invoke0( Native Method)
at
sun.reflect.Nat iveMethodAccess orImpl.invoke(N ativeMethodAcce ssorImpl.java:3 9)
at
sun.reflect.Del egatingMethodAc cessorImpl.invo ke(DelegatingMe thodAccessorImp l.java:25)
at java.lang.refle ct.Method.invok e(Method.java:3 24)
at com.intellij.rt .execution.appl ication.AppMain .main(AppMain.j ava:7Cool
Caused by: java.net.Protoc olException: Server redirected too many times (20)
at
sun.net.http://www.protocol.http.HttpURLConn...ction.java:809)
at
sun.net.http://www.protocol.http.HttpURLConn...tion.java:1465)
at java.net.URLCon nection.getCont entType(URLConn ection.java:382 )
at SimpleHTTPSende r.readFromConne ction(SimpleHTT PSender.java:94 )
.... 29 more
java.io.IOExcep tion
at org.apache.axis .AxisFault.make Fault(AxisFault .java:120)
at SimpleHTTPSende r.invoke(Simple HTTPSender.java :63)
at
org.apache.axis .strategies.Inv ocationStrategy .visit(Invocati onStrategy.java :71)
at org.apache.axis .SimpleChain.do Visiting(Simple Chain.java:156)
at org.apache.axis .SimpleChain.in voke(SimpleChai n.java:126)
at org.apache.axis .client.AxisCli ent.invoke(Axis Client.java:182 )
at org.apache.axis .client.Call.in vokeEngine(Call .java:2113)
at org.apache.axis .client.Call.in voke(Call.java: 2102)
at org.apache.axis .client.Call.in voke(Call.java: 1851)
at org.apache.axis .client.Call.in voke(Call.java: 1777)
at org.apache.axis .client.Call.in voke(Call.java: 1315)
at
net.mappoint.s. RenderServiceSo apStub.getMap(R enderServiceSoa pStub.java:986)
at MapDisplay.rend erMap(MapDispla y.java:295)
at MapDisplay.resh ape(MapDisplay. java:255)
at java.awt.Compon ent.setBounds(C omponent.java:1 664)
at java.awt.Border Layout.layoutCo ntainer(BorderL ayout.java:691)
at java.awt.Contai ner.layout(Cont ainer.java:1020 )
at java.awt.Contai ner.doLayout(Co ntainer.java:10 10)
at java.awt.Contai ner.validateTre e(Container.jav a:1092)
at java.awt.Contai ner.validateTre e(Container.jav a:1099)
at java.awt.Contai ner.validateTre e(Container.jav a:1099)
at java.awt.Contai ner.validateTre e(Container.jav a:1099)
at java.awt.Contai ner.validate(Co ntainer.java:10 67)
at java.awt.Window .show(Window.ja va:461)
at MainWindow.main (MainWindow.jav a:40)
at sun.reflect.Nat iveMethodAccess orImpl.invoke0( Native Method)
at
sun.reflect.Nat iveMethodAccess orImpl.invoke(N ativeMethodAcce ssorImpl.java:3 9)
at
sun.reflect.Del egatingMethodAc cessorImpl.invo ke(DelegatingMe thodAccessorImp l.java:25)
at java.lang.refle ct.Method.invok e(Method.java:3 24)
at com.intellij.rt .execution.appl ication.AppMain .main(AppMain.j ava:7Cool
Caused by: java.io.IOExcep tion
at
sun.net.http://www.protocol.http.HttpURLConn...ction.java:602)
at SimpleHTTPSende r.readFromConne ction(SimpleHTT PSender.java:99 )
at SimpleHTTPSende r.invoke(Simple HTTPSender.java :60)
.... 28 more
Caused by: java.net.Protoc olException: Server redirected too many times (20)
at
sun.net.http://www.protocol.http.HttpURLConn...ction.java:809)
at
sun.net.http://www.protocol.http.HttpURLConn...tion.java:1465)
at java.net.URLCon nection.getCont entType(URLConn ection.java:382 )
at SimpleHTTPSende r.readFromConne ction(SimpleHTT PSender.java:94 )
.... 29 more

Does anyone know where this exception come from and how I can get this
sample up and running ?

Thx in advance.
Jul 18 '05 #1
0 5573

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2530
by: trapeze.jsg | last post by:
Hi. Is there anybody who have tried to use python to access Microsofts MapPoint soap services? I am trying hard but I have run into a big thick wall called md5 digest authentication. The MapPoint service uses rfc2617 to authenticate the user. I have a working account for this which works using C# dotnet and Borland Delphi 6.0. When I try to authenticate using python it fail. Here is what I do to provoke the rfc2617 challenge:
2
2026
by: anon | last post by:
Hi, I have just installed the micorsoft's mappoint .net sdk....how to start using the samples.....has anyone successfully gone through the entire cycle of installation to implementation...if yes, could you please help me by providing some sample code n pointers to get started.....i have hopelessly searched online for tutorials but found nothing......also wat is the difference between mappoint .net and the mappoint 2004 which cost around...
4
8389
by: deko | last post by:
I have an address form in Access 2003 that contains the usual address information such as AddressLine1, AddressLine2, City, State, etc... I would like to put a button on this form that feeds the address info into MapPoint, along with a fixed return address, and gets driving directions - or at least get a map of the destination. I have the MapPoint software, but have not used it. Will MapPoint provide driving directions, or just a map? ...
1
1446
by: Dave Brown | last post by:
Hi all, I am wanting to use the mappoint service from a usercontrol on a webpage, in development this works fine but when my control is deployed and it tries to call the mappoint service I get a security exception, Anyone any thoughts/experience with this ? thx
0
970
by: Wayne Wengert | last post by:
I just went through all the hoops to sign up for the MS MapPointWeb service. I want to add maps to dynamically created aspx pages (VB) and thought this would be the way to do it. I am trying to follow the SDK to see how to add the code to my page to accomplish this but every example I've found starts with the comment: 'This example assumes that the MapPoint Web Service 'namespace has been imported and I cannot find the syntax to...
0
995
by: degrem_m | last post by:
I've been trying to build a .NET application that references the MapPoint . I've succeeded to implement and run a .NET Windows application MapPoint.Application app = new MapPoint.ApplicationClass(); This works just fine, but when I try the same in a ASP.NET web application or service
2
2143
by: Gil | last post by:
I am automating mappoint in access and was wondering what is a better way to have the mappoint map running all the time: 1.call it as a seperate application OR 2. as an activex control within a form in access. Both will give me the same data results, but I am more concerned about performance. Any ideas? Thanks,
1
2152
by: Gil | last post by:
hello, im automating mappoint through access to get mileage between two address fields. when ever i call the function it makes mappoint the focus, and i have to reclick the access screen to regain access forms focus. how can i get access focus via vba and without having to click the form? i tried using docmd.selectobject acform, "myform" and me.setfocus . it looks like it works by highlighting a text box however the mappoint is still...
7
5695
by: Kath | last post by:
Hi, I hope this is the most relevant newsgroup for this post. I have a VB.NET app that uses the MapPoint component, and in my app I use pushpins to display/retrieve GPS locations. Occasionally, when I call: objMap.Distance(locNorthPole, locX) my code catches an exception that's raised, the exception is:
0
9687
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9543
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10488
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10237
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10029
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9077
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5588
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3761
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2941
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.