Partha
Partha

Reputation: 2192

WCF Service can not be accessed from another machine?

I have deployed wcf services in machineA and tried to accessed it through wcftestclient which is another system machineB. But i am getting error "The caller is not authenticated by wcf service". This wcf services is working fine when i testing it in machineA itself.

I have used wsHttpBinding.

How to solve this? Please help me.

Upvotes: 0

Views: 375

Answers (2)

IBhadelia
IBhadelia

Reputation: 291

on Machine A remove security if that service is only exposed in intranet.

Add binding configuration as follows

<binding name="none">
    <security mode="None" />
</binding>

and In service add

bindingConfiguration="none"

If you don't want any security then only.

Upvotes: 2

Hans Olsson
Hans Olsson

Reputation: 55009

On machine B you'll have to supply some credentials that have access to the service on A.

See this article: Debugging Windows Authentication Errors for details, especially the section Client Credentials Are Not Set Correctly at the bottom of that document.

Upvotes: 0

Related Questions