Solved

Using SOAP header to authenticate against web service

Posted on 2007-12-02
1
1,992 Views
Last Modified: 2013-11-18
Hi all,

I have a web service which has one web method and am wondering whether it is worth implementing a SOAP header in the request which will hold the username and password credentials to authenticate the user with. The model is a simple request/response so will adding a SOAP header to authenticate make this process longer by adding another round trip just to authenticate?

Or would my scenario make it simpler (and more efficient) to simply send the username and password in with the main request?

Thanks
0
Comment
Question by:TrystHughes
1 Comment
 
LVL 2

Accepted Solution

by:
jayaram13 earned 125 total points
Comment Utility
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL (http://www.experts-exchange.com/articles/201/Handling-Date-and-Time-in-PHP-and-MySQL.html) several years ago, it seemed like now was a good time to updat…
JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now