How to configure a specific service operation to be accessible through a different End Point
Posted
by
pradeeptp
on Stack Overflow
See other posts from Stack Overflow
or by pradeeptp
Published on 2011-01-03T04:14:56Z
Indexed on
2011/01/03
5:54 UTC
Read the original article
Hit count: 172
wcf
I have single service contract that has 2 service operations. Let me call these operations as X1 and X2. How do I configure X1 to be accessible through HTTP and X2 to be accessible through TCP/IP.
If I configure the service contract to be accessibel to TCP/IP end point then both X1 and X2 will be accessible through TCP/IP. Same is the case if I configure the same service contract with HTTP protocol.
I could have two different service contracts for achieving what I want, but I want to know if I could achieve the same through a single service contract.
© Stack Overflow or respective owner