MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Error while connecting mp webservice : (401)Unauthorized

This is a discussion on Error while connecting mp webservice : (401)Unauthorized within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi, I am new to mappoint. I have got the evaluation account and I can login on the website using ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-28-2004
Junior Member
White Belt
 
Join Date: May 2004
Posts: 1
Error while connecting mp webservice : (401)Unauthorized

Hi,
I am new to mappoint. I have got the evaluation account and I can login on the website using the accountid and password. But using my java client i get the error.

Any Help?

Finding Service...
Finding Service...
Finding Address...
AxisFault
faultCode: {http://xml.apache.org/axis/}HTTP
faultSubcode:
faultString: (401)Unauthorized
faultActor:
faultNode:
faultDetail:
{}string: return code: 401


(401)Unauthorized
at org.apache.axis.transport.http.HTTPSender.readFrom Socket(HTTPSender.java:630)
at org.apache.axis.transport.http.HTTPSender.invoke(H TTPSender.java:12
at org.apache.axis.strategies.InvocationStrategy.visi t(InvocationStrategy.java:71)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain .java:150)
at org.apache.axis.SimpleChain.invoke(SimpleChain.jav a:120)
at org.apache.axis.client.AxisClient.invoke(AxisClien t.java:180)
at org.apache.axis.client.Call.invokeEngine(Call.java :2564)
at org.apache.axis.client.Call.invoke(Call.java:2553)
at org.apache.axis.client.Call.invoke(Call.java:224
at org.apache.axis.client.Call.invoke(Call.java:2171)
at org.apache.axis.client.Call.invoke(Call.java:1691)
at net.mappoint.s.mappoint_30.FindServiceSoapStub.fin dAddress(FindServiceSoapStub.java:1045)
at LocationInformation.findAddressHelper(LocationInfo rmation.java:122)
at LocationInformation.findAddress(LocationInformatio n.java:65)
at MapPointClient.main(MapPointClient.java:41)
(401)Unauthorized


Thanks in advance.
__________________
Prashant Baj
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 07-02-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
MapPoint 401 Access Error from Java

I'm experiencing the same problem. Have you made any progress on this?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 09-21-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
add .wsdd file into classpath ...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 09-21-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Save the following code in a file "client-config.wsdd" and put in classpath

<?xml version="1.0" encoding="UTF-8"?>
<deployment name="defaultClientConfig"
xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
<transport name="http" pivot="java:SimpleHTTPSender"/>
<transport name="local"
pivot="javarg.apache.axis.transport.local.LocalS ender"/>
</deployment>


This should solve the problem
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 09-21-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
On startup, an Axis client looks for a configuration file named client-config.wsdd in the current directory and in the classpath. To replace the sender, the file client-config.wsdd with a transport element should be used (see below). The easiest way to achieve this is to place the file in the directory where the Axis client is started.


http://www.osmoticweb.com/axis-soap-compression.htm

http://archives.ogsadai.org.uk/users/0303.html
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 11-04-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Still Does Not Work

Hello,
I have the client-config.wsdd file in my classpath, but I still get the 401 exception. I have verified the credentials with Microsofts, and I am using the same user name and password. However, I still have no luck. Any other possibilities where I might be going wrong?

Finding Service...
Finding Service...
Finding Address...
(401)Unauthorized
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7 (permalink)  
Old 11-17-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Thankx guys Solved my Problem

by adding .wsdd file in classpath solved my problem
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8 (permalink)  
Old 11-24-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
this topic is sucking

this topic is sucking
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
401unauthorized, connecting, error, webservice


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Error while accessing Map POint webservice amitsh MapPoint 2006/2009 Discussion 4 11-22-2006 12:27 PM
http request error 401: unauthorized okanss MapPoint 2006/2009 Discussion 1 06-09-2005 02:52 PM
Can MapPoint webservice do this? Anonymous MapPoint Web Service and Virtual Earth 1 02-14-2005 08:13 AM
MapPoint WebService http 403 forbidden error duongtuphong MapPoint 2006/2009 Discussion 0 02-06-2005 03:00 PM
connecting points with lines robert hunter MapPoint 2006/2009 Discussion 2 09-05-2002 06:28 PM


All times are GMT -5. The time now is 01:30 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map

Ski Resort in Italy
For a superb value skiing destination look no further than Italy. Book in at a ski resort in Italy to combine great skiing with great cuisine. Holiday Hypermarket offers value for money.

City Breaks
Top 10 City Breaks . Based on holidays booked this year, these are the most popular City Breaks for 2006

Holiday in Turkey
A Holiday in Turkey is great value when you book with dealchecker.co.uk. There is an abundance of things to see and do. Check out the well-preserved Greco-Roman ruins.

Cyprus Holidays
Cyprus holidays will offer you a wealth of activities all in the most beautiful surroundings. Relish the beauty of Cyprus on a short break.

Balearics
Before booking to the Balearics Islands make sure you check out our travel guide online. The Balearics are renowned for their vibrant nightlife but there are also some stunning Gothic cathedrals, Stone Age ruins and fishing villages.

Compare Holidays
Compare holidays online where you can see all the amazing possibilities at Travel.co.uk

Holidays in Goa
Want to know more about Indian culture? Visit On The Beach for information on holidays in Goa.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52