2012-08-14 54 views

回答

0

如果我正確理解您的問題,您希望添加具有不同綁定的多個端點。

例如:

<service name = "MyService"> 
<endpoint 
address = "http://localhost:8000/MyService" 
binding = "wsHttpBinding" 
contract = "IMyContract" 
/> 
<endpoint 
address = "net.tcp://localhost:8001/MyService" 
binding = "netTcpBinding" 
contract = "IMyContract" 
/> 
<endpoint 
address = "net.tcp://localhost:8002/MyService" 
binding = "netTcpBinding" 
contract = "IMyOtherContract" 
/> 
</service> 
相關問題