2011-08-05 4 views
0

질문 ... 라우터 서비스에서 클라이언트로 내 Wcf 서비스의 끝점을 노출시키는 방법은 무엇입니까? 내 라우팅 서비스는 내 클라이언트에게 IRequestReplyRouter 만 노출합니다 .i 내 라우팅 서비스가 내 서비스의 끝점을 노출 시키길 원합니다 ... 라우터 서비스 web.config 다음과wcf 라우팅 서비스

 <?xml version="1.0" encoding="utf-8" ?> 
<configuration> 
    <system.web> 
<compilation debug="true" /> 
    </system.web> 
    <system.serviceModel> 
<services> 
    <service name="System.ServiceModel.Routing.RoutingService" behaviorConfiguration="routing"> 
    <endpoint address="" binding="basicHttpBinding" contract="System.ServiceModel.Routing.IRequestReplyRouter"/> 
    </service> 
</services> 
<behaviors> 
    <serviceBehaviors> 
    <behavior name="routing"> 
     <routing filterTableName="filtertables"/> 
     <serviceMetadata httpGetEnabled="True"/> 
     <serviceDebug includeExceptionDetailInFaults="False" /> 
    </behavior> 
    </serviceBehaviors> 
</behaviors> 
<routing > 
    <filterTables> 
    <filterTable name="filtertables" > 
     <add filterName="all" endpointName="WCF_QtrwiseSalesService" /> 
    </filterTable> 
    </filterTables> 
    <filters> 
    <filter name="all" filterType="MatchAll"/> 
    </filters> 
</routing> 
<client> 
    <endpoint 
       name="WCF_QtrwiseSalesService" binding="netTcpBinding" 
        address="net.tcp://localhost:8523/Design_Time_Addresses/BackUpList1/Service1/" 
        contract="*"> 
    </endpoint> 
</client> 

+0

당신은 무엇을 이루려고합니까, 아니면 실제 오류는 무엇입니까? – Dominik

+0

오류가 없습니다, 내 라우팅 서비스는 IRequestReplyRouter 만 노출합니다. 물론 모든 요구 사항을 공개하려고합니다 ... –

답변

0

확인 MSDN thread 다음은, 당신을 도울 수 있지만 요구 사항이 완료되지 않는 WCF RoutingService를 사용하여 내 경험에서 내가 난 인터뷰 너무 많은 노력을 투자 가지고있다.