Solved

Using SOAP header to authenticate against web service

Posted on 2007-12-02
1
2,015 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 125 total points
ID: 20505499
0

Featured Post

Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Stupid git question 2 117
Create html table using xsl 8 47
JQuery to parse xml string and get element by id 4 65
C# XML Get Values 4 37
Browsing the questions asked to the Experts of this forum, you will be amazed to see how many times people are headaching about monster regular expressions (regex) to select that specific part of some HTML or XML file they want to extract. The examp…
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
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…

730 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