?
Solved

Using SOAP header to authenticate against web service

Posted on 2007-12-02
1
Medium Priority
?
2,032 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 2

Accepted Solution

by:
jayaram13 earned 375 total points
ID: 20505499
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
Suggested Courses

762 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