473,473 Members | 1,870 Online
Bytes | Software Development & Data Engineering Community
Create 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.userException
faultString: java.io.IOException
faultActor: null
faultDetail:
stackTrace: java.io.IOException
at
sun.net.http://www.protocol.http.HttpURLConn...ction.java:602)
at SimpleHTTPSender.readFromConnection(SimpleHTTPSend er.java:99)
at SimpleHTTPSender.invoke(SimpleHTTPSender.java:60)
at
org.apache.axis.strategies.InvocationStrategy.visi t(InvocationStrategy.java:71)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain .java:156)
at org.apache.axis.SimpleChain.invoke(SimpleChain.jav a:126)
at org.apache.axis.client.AxisClient.invoke(AxisClien t.java:182)
at org.apache.axis.client.Call.invokeEngine(Call.java :2113)
at org.apache.axis.client.Call.invoke(Call.java:2102)
at org.apache.axis.client.Call.invoke(Call.java:1851)
at org.apache.axis.client.Call.invoke(Call.java:1777)
at org.apache.axis.client.Call.invoke(Call.java:1315)
at
net.mappoint.s.RenderServiceSoapStub.getMap(Render ServiceSoapStub.java:986)
at MapDisplay.renderMap(MapDisplay.java:295)
at MapDisplay.reshape(MapDisplay.java:255)
at java.awt.Component.setBounds(Component.java:1664)
at java.awt.BorderLayout.layoutContainer(BorderLayout .java:691)
at java.awt.Container.layout(Container.java:1020)
at java.awt.Container.doLayout(Container.java:1010)
at java.awt.Container.validateTree(Container.java:109 2)
at java.awt.Container.validateTree(Container.java:109 9)
at java.awt.Container.validateTree(Container.java:109 9)
at java.awt.Container.validateTree(Container.java:109 9)
at java.awt.Container.validate(Container.java:1067)
at java.awt.Window.show(Window.java:461)
at MainWindow.main(MainWindow.java:40)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.intellij.rt.execution.application.AppMain.main (AppMain.java:7Cool
Caused by: java.net.ProtocolException: 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.URLConnection.getContentType(URLConnectio n.java:382)
at SimpleHTTPSender.readFromConnection(SimpleHTTPSend er.java:94)
.... 29 more
java.io.IOException
at org.apache.axis.AxisFault.makeFault(AxisFault.java :120)
at SimpleHTTPSender.invoke(SimpleHTTPSender.java:63)
at
org.apache.axis.strategies.InvocationStrategy.visi t(InvocationStrategy.java:71)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain .java:156)
at org.apache.axis.SimpleChain.invoke(SimpleChain.jav a:126)
at org.apache.axis.client.AxisClient.invoke(AxisClien t.java:182)
at org.apache.axis.client.Call.invokeEngine(Call.java :2113)
at org.apache.axis.client.Call.invoke(Call.java:2102)
at org.apache.axis.client.Call.invoke(Call.java:1851)
at org.apache.axis.client.Call.invoke(Call.java:1777)
at org.apache.axis.client.Call.invoke(Call.java:1315)
at
net.mappoint.s.RenderServiceSoapStub.getMap(Render ServiceSoapStub.java:986)
at MapDisplay.renderMap(MapDisplay.java:295)
at MapDisplay.reshape(MapDisplay.java:255)
at java.awt.Component.setBounds(Component.java:1664)
at java.awt.BorderLayout.layoutContainer(BorderLayout .java:691)
at java.awt.Container.layout(Container.java:1020)
at java.awt.Container.doLayout(Container.java:1010)
at java.awt.Container.validateTree(Container.java:109 2)
at java.awt.Container.validateTree(Container.java:109 9)
at java.awt.Container.validateTree(Container.java:109 9)
at java.awt.Container.validateTree(Container.java:109 9)
at java.awt.Container.validate(Container.java:1067)
at java.awt.Window.show(Window.java:461)
at MainWindow.main(MainWindow.java:40)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.intellij.rt.execution.application.AppMain.main (AppMain.java:7Cool
Caused by: java.io.IOException
at
sun.net.http://www.protocol.http.HttpURLConn...ction.java:602)
at SimpleHTTPSender.readFromConnection(SimpleHTTPSend er.java:99)
at SimpleHTTPSender.invoke(SimpleHTTPSender.java:60)
.... 28 more
Caused by: java.net.ProtocolException: 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.URLConnection.getContentType(URLConnectio n.java:382)
at SimpleHTTPSender.readFromConnection(SimpleHTTPSend er.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 5541

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

Similar topics

2
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...
2
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,...
4
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...
1
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...
0
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...
0
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...
2
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...
1
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...
7
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....
0
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,...
0
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...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
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...
0
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...
0
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,...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
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...

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.