Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Mappoint MPCLient problem.

 
Ranch Hand
Posts: 226
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello people,
I am having problems with axis authentication with the mapPoint example in Mr. Michael Yuan's book even with correct credentials.
Get the 401 error

I think I have read somewhere that one should change few classes in axis,
Any clue, anyone got it to work?
Please help.
 
author
Posts: 1436
6
Python TypeScript Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Use the correct version of Axis (RC2). Axis v1.0 made some changes to the way it handles HTTP digest authentication and does not work with my examples out of the box.
cheers
Michael
 
Tonny Tssagovic
Ranch Hand
Posts: 226
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Michael Yuan:
Use the correct version of Axis (RC2). Axis v1.0 made some changes to the way it handles HTTP digest authentication and does not work with my examples out of the box.
cheers
Michael


Thanks for the reply Michael,
Could you please be more precise about what you mean by Axis (RC2)? I have tried with the latest stable version 1.1, which is newer then the version 1_0 rc2 as you can see in this Axis archive link , but still no success, unless I compile the SimpleHTTPSender to overcome the HTTP digest authentication problem (And I prefer not doing so). Do you mean 1.2?
Thank you in advacne!
 
Michael Yuan
author
Posts: 1436
6
Python TypeScript Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No, you need to use the older version of Axis (RC1 or RC2 before v1.0, I think) to make the sample work correctly. Sorry for the inconvenience. I did not have time to update the sample for newer versions of Axis. But it should not be hard.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Michael,

Can you be more specific about what needs to change to
upgrade from Axis RC2 to Axis 1.1 or 1.2 and using these
examples?

Thanks
 
reply
    Bookmark Topic Watch Topic
  • New Topic