By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,818 Members | 1,381 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,818 IT Pros & Developers. It's quick & easy.

access Web servies - Integrated windows security

P: n/a
I have some .NET web services deployed in IIS and having the Directory
security set to integrated windows security. I would like to call these
services form other web based applications written in PHP and Java. Is there
a way to pass the credentials as part of the XML used to call the web
service? Maybe as part of the XML header similar to:
<soap:Header>
<AuthHeader xmlns="http://tempuri.org\">
<UserName>domain\userID</UserName>
<Password>password</Password>
</AuthHeader>

Is this possible? Your help is highly appreciated.
Nov 8 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hi Jacob,

Integrated windows authentication is negociated through a serie of HTTP
headers (It is a complicated procol indeed). Perhaps, you can use a normal
..NET client or IE browser and see what HTTP messages are interchanged using
a trace tool.
It does not have anything to do with SOAP, as I said, it is negociated at
HTTP trasport level. If you want to pass the credentials as part of the SOAP
message, you should consider a message security approach using WS-Security.

Regards,
Pablo.

"Jacob" <Ja***@discussions.microsoft.comwrote in message
news:23**********************************@microsof t.com...
>I have some .NET web services deployed in IIS and having the Directory
security set to integrated windows security. I would like to call these
services form other web based applications written in PHP and Java. Is
there
a way to pass the credentials as part of the XML used to call the web
service? Maybe as part of the XML header similar to:
<soap:Header>
<AuthHeader xmlns="http://tempuri.org\">
<UserName>domain\userID</UserName>
<Password>password</Password>
</AuthHeader>

Is this possible? Your help is highly appreciated.


Nov 8 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.