Link to home
Start Free TrialLog in
Avatar of TrystHughes
TrystHughes

asked on

Using SOAP header to authenticate against web service

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
ASKER CERTIFIED SOLUTION
Avatar of jayaram13
jayaram13
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial