TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
L A
NA
170
171.5k
Service Refrence Error - netTcpBinding
Sep 23 2017 11:16 PM
Hello all,
I was working on WCF service with an endpoint binding as netTcpBinding, hosted on a Console application. Below shown configuration setting.
<system.serviceModel>
<services>
<service name=
"FullTimePartTime_EmpWCFServiceAppl.EmployeeService"
behaviorConfiguration=
"mexBehaviour"
>
<endpoint address=
"EmployeeService"
binding=
"netTcpBinding"
contract=
"FullTimePartTime_EmpWCFServiceAppl.IEmployeeService"
>
</endpoint>
<endpoint address=
"mex"
binding=
"mexTcpBinding"
contract=
"IMetadataExchange"
>
</endpoint>
<host>
<baseAddresses>
<add baseAddress=
"net.tcp://localhost:7090/"
/>
</baseAddresses>
</host>
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name=
"mexBehaviour"
>
<serviceMetadata httpGetEnabled=
"false"
/>
</behavior>
</serviceBehaviors>
</behaviors>
</system.serviceModel>
Console application executes fine. WPF is client app which should consume WCF service but when i tried to add ServiceRefrence, Error occurs
Can anyone help me to fix this issue & let me know the mistake.
Thanks in advance.
Reply
Answers (
1
)
Convert Service client to normal service
WCF define which webservice can be accessed by callers