Community of MapPoint and Virtual Earth Users and Developers
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 ...
| |||||||
| Today's Posts | Twitter Feed | Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Error while connecting mp webservice : (401)Unauthorized 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 |
| |||
|
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="java </deployment> This should solve the problem |
| |||
|
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 |
| |||
| 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 |
![]() |
| Tags |
| 401unauthorized, connecting, error, webservice |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| 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 |
Costa Brava Holiday
Beautiful kilometres of sandy beaches await you should you choose a Costa Brava holiday through UlookUbook!