문제

I want to set up a send port in BizTalk that can send requests to a service that uses

NTLM authentication.

I have tried using WCF-BasicHTTp with TransportCredentialOnly and NTLM but I believe that

BizTalk uses the account used by the host.

Is it possible to specify a custom username and password?

도움이 되었습니까?

해결책

If it is using NTLM authentication then trying to set the user name and password has no effect as it will use the identity of the host user. So no, you can't specify a custom username and password.

So if you want to use another user you would have to create a host running under that user, however that opens up a can of worms as that user would have to be a member of the Windows Group that the other host users run under.

Edit The other suggestion that others have made is to use a custom binding, this is blog Yet on BizTalk Impersonation With WCF Adapters by Paolo Salvatori goes into detail how to achieve that.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top