MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




MapPoint Webservice 401

This is a discussion on MapPoint Webservice 401 within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I signed up for a trial account for the MapPoint webservice. My intention for this service is to dynamically calculate ...


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

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-04-2004
Junior Member
White Belt
 
Join Date: Feb 2004
Posts: 2
MapPoint Webservice 401

I signed up for a trial account for the MapPoint webservice. My intention for this service is to dynamically calculate the distance between two point using addresses and calculate the total cost of transport. Any way I have been given credentials, and am attempting to use the Samples in the SDK, but I get the following error:

Server Error in '/Labs/TurnByTurnRouteMaps' Application.
--------------------------------------------------------------------------------

The request failed with HTTP status 401: Unauthorized.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Net.WebException: The request failed with HTTP status 401: Unauthorized.

Source Error:


Line 168: System.Web.Services.Protocols.SoapDocumentMethodAt tribute("http://s.mappoint.net/mappoint-30/Find", RequestNamespace:="http://s.mappoint.net/mappoint-30/", ResponseNamespace:="http://s.mappoint.net/mappoint-30/", Use:=System.Web.Services.Description.SoapBindingUs e.Literal, ParameterStyle:=System.Web.Services.Protocols.Soap ParameterStyle.Wrapped)> _
Line 169: Public Function Find(ByVal specification As FindSpecification) As FindResults
Line 170: Dim results() As Object = Me.Invoke("Find", New Object() {specification})
Line 171: Return CType(results(0),FindResults)
Line 172: End Function

Sorry if this is not the place to post this question, I am new to this forum.

Thanks
__________________
Los
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 02-05-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Hello,

This particular error occurs if the username and/or password isn't correct. The API username and password was included in the introductory email.


Steven Pushee

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2003 Microsoft Corporation. All rights
reserved.
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 02-05-2004
Junior Member
White Belt
 
Join Date: Feb 2004
Posts: 2
Transposed Info

I had the Useranme and password transposed- Doh, I feel like an idiot!

Thanks for the feedback.

Quote:
Originally Posted by Steven Pushee
Hello,

This particular error occurs if the username and/or password isn't correct. The API username and password was included in the introductory email.


Steven Pushee

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2003 Microsoft Corporation. All rights
reserved.
__________________
Los
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 03-12-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Re: MapPoint Webservice 401

Dear Rolus,

Hi, I also have the exactly same problem as what you faced. So have you found the solution?

If yes, please tell me how to resolve this problem? I think this is not as simple as user ID and password problem as i tried the same account for sample application "ClicktoCenterMap", it works!

Please advise. My e-mail is winsonmy2001@yahoo.com

Thank you.

regards,
Winson





Quote:
Originally Posted by rolus
I signed up for a trial account for the MapPoint webservice. My intention for this service is to dynamically calculate the distance between two point using addresses and calculate the total cost of transport. Any way I have been given credentials, and am attempting to use the Samples in the SDK, but I get the following error:

Server Error in '/Labs/TurnByTurnRouteMaps' Application.
--------------------------------------------------------------------------------

The request failed with HTTP status 401: Unauthorized.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Net.WebException: The request failed with HTTP status 401: Unauthorized.

Source Error:


Line 168: System.Web.Services.Protocols.SoapDocumentMethodAt tribute("http://s.mappoint.net/mappoint-30/Find", RequestNamespace:="http://s.mappoint.net/mappoint-30/", ResponseNamespace:="http://s.mappoint.net/mappoint-30/", Use:=System.Web.Services.Description.SoapBindingUs e.Literal, ParameterStyle:=System.Web.Services.Protocols.Soap ParameterStyle.Wrapped)> _
Line 169: Public Function Find(ByVal specification As FindSpecification) As FindResults
Line 170: Dim results() As Object = Me.Invoke("Find", New Object() {specification})
Line 171: Return CType(results(0),FindResults)
Line 172: End Function

Sorry if this is not the place to post this question, I am new to this forum.

Thanks
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


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
Mappoint WebService Issue with Axis in.bharath MapPoint Web Service and Virtual Earth 1 03-14-2006 03:28 AM
Can MapPoint webservice do this? Anonymous MapPoint Web Service and Virtual Earth 1 02-14-2005 08:13 AM
client-side mappoint webservice? Anonymous MapPoint 2006/2009 Discussion 0 11-23-2004 07:32 PM
MapPoint WebService v3.5 Upgrade? Anonymous MapPoint 2006/2009 Discussion 3 02-18-2004 03:24 PM
Mappoint webservice Anonymous MapPoint 2006/2009 Discussion 1 08-20-2003 10:51 AM


All times are GMT -5. The time now is 01:33 AM.


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 Weekend
Slip in a sneaky ski weekend to add a bit of variety compared to normal weekends. A ski weekend can be great value when you book online at Holiday Hypermarket.

Travelcounselors
TravelCounsellors are a Queens award winning Travel Agent. Have a personal Travel Counselor help with your travel plans.

Flights to Cape Town
Before booking flights to Cape Town visit dealchecker.co.uk to make sure you are getting the best deal in town. Visit online today and try the holiday search for free.

Holidays to Bahamas
Choose from a number of extraordinary holidays to the Bahamas at The Holiday Place. See pictures of these beautiful islands online.

Morocco
Gain insight on your holiday destination with the ULookUBook travel guides. Find out about Morocco and its customs online. Make an informed decision when you make a booking.

Price comparison sites
Travel.co.uk is the one you are looking for when checking out price comparison sites.

Cheap Goa Holidays
Experience the world famous Wednesday Flea Market at Anjuna! Book cheap Goa holidays at On The Beach!


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