View Single Post

  #4 (permalink)  
Old 03-12-2004
Anonymous Anonymous is offline
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
Reply With Quote