Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 4 of 4

MapPoint Webservice 401

This is a discussion on MapPoint Webservice 401 within the MapPoint Desktop 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 ...

  1. #1
    rolus is offline 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

  2. #2
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    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.

  3. #3
    rolus is offline 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

  4. #4
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Mappoint WebService Issue with Axis
    By in.bharath in forum Bing Maps and MapPoint Web Service
    Replies: 1
    Last Post: 03-14-2006, 04:28 AM
  2. Can MapPoint webservice do this?
    By Anonymous in forum Bing Maps and MapPoint Web Service
    Replies: 1
    Last Post: 02-14-2005, 09:13 AM
  3. client-side mappoint webservice?
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 11-23-2004, 08:32 PM
  4. MapPoint WebService v3.5 Upgrade?
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 02-18-2004, 04:24 PM
  5. Mappoint webservice
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 08-20-2003, 11:51 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


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