WCF with Http Basic Authentication -
i'm building webservice needs accessible variety of potential platforms, including number of older asp , asp .net applications. after research, settled on wcf service both rest (webhttpbinding) , soap (wshttpbinding) endpoint (that way, can support wide range of platforms , still make .net coders happy).
for security, i'm using ssl , http authentication basic against own database of username/passwords. i've written httpmodule handle usernames , passwords , check ssl. now, rest setup working perfectly, i'm having problems soap endpoint. no matter settings use, soap client never sends me www-authorization header can use authenticate. i'm assuming setting <message clientcredentialtype="username" />
should tell wcf expect authorization header, , information picked visual studio (or whatever client) when creates web reference. perhaps i'm being hopelessly naive.
so summarize question: there way can tell wcf send me www-authorization header (ie, http basic header) along soap messages?
you can create custom headers authentication.
have here
Comments
Post a Comment