• 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
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

SOAP authorization problem

 
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear friends,

I'm having some big problems with authentication for a web service.

My original error message was a 405 Method not Allowed, and I realized it was some authorization problem.

Crosschecked all user/pass info, OK. The problem is sending this info properly, then.

I looked at this previous thread (HERE), and discovered that one could put some authorization info at the SOAPHeader (later confirmed HERE).

As I set the envelope's header, however, I got a "SOAPExceptionImpl: HeaderElements must be namespace qualified" Exception, and that made me get lost. Is there any standard namespace for authorization/authentication?

I found out that the web service is running on a IIS 5.0 / win2k machine, and the authentication process was "configured on IIS to validate the local user that was sent to me".

I am currently using the SOAPEnvelope to generate the Name I need to create the header:


Any help would be highly appreciated.
[ August 26, 2004: Message edited by: Gustavo Torreti ]
 
Gustavo Torreti
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have found this link with some most useful information.

Seems like java.xml.soap doesn't have control over the http connection, and there's an Apache version that does.

Any extra tips and tricks are also welcome
[ August 26, 2004: Message edited by: Gustavo Torreti ]
 
keep an eye out for scorpions and black widows. But the tiny ads are safe.
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic