Using SOAP header to authenticate against web service
Posted on 2007-12-02
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?