2010-04-15 2 views
2

[업데이트] 새로운 web.config를 생성하여 문제를 해결했습니다. 가능한 오류는 두 번째 끝점 ("mex")입니다. [업데이트 /]WCF wsHttpBinding "조치가있는 메시지를 수락 할 수있는 채널이 없습니다."

IIS에 웹 서비스가 있습니다.

내가 함수를 호출하기 위해 노력하고있어하지만 난 같은 ErrorMessage가 얻을 : 나는에 IIS에서 호스팅하고있어

을 'http://Datenlotsen.Cyquest/ICyquestService/ValidateSelfAssessment'행동으로 메시지를 받아 들일 수없는 채널을 없었다

표준 웹 사이트. 거기서 "CyQuestwebservice"라는 가상 디렉토리를 만들었습니다. 클라이언트 측 구성에 대해 SOAP UI를 사용하고 있습니다. 이 도구는 wsdl에서 클라이언트 구성을 생성합니다.

내 webconfig은 다음과 같습니다, 당신이 나를 도울 수?

<system.serviceModel> 
    <extensions> 
     <behaviorExtensions> 
     <add name="wsdlExtensions" type="WCFExtras.Wsdl.WsdlExtensionsConfig, WCFExtras, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" /> 
     </behaviorExtensions> 
    </extensions> 
    <services> 
     <service behaviorConfiguration="CyquestWebService.Service1Behavior" 
     name="CyquestWebService.CyquestService"> 
     <endpoint address="" behaviorConfiguration="EndPointBehavior" 
      binding="wsHttpBinding" bindingNamespace="http://Datenlotsen.Cyquest" 
      contract="CyquestWebService.ICyquestService"> 
      <identity> 
      <dns value="localhost" /> 
      </identity> 
     </endpoint> 
     <endpoint address="mex" binding="mexHttpBinding" bindingNamespace="http://Datenlotsen.Cyquest" 
      contract="IMetadataExchange" /> 
     </service> 
    </services> 
    <behaviors> 
     <endpointBehaviors> 
     <behavior name="EndPointBehavior" > 
      <wsdlExtensions location="http://wssdev04.datenlotsen.intern/Cyquestwebservice/CyquestService.svc" singleFile="True"/> 
     </behavior> 
     </endpointBehaviors> 
     <serviceBehaviors> 
     <behavior name="CyquestWebService.Service1Behavior"> 
      <serviceMetadata httpGetEnabled="true" /> 
      <serviceDebug includeExceptionDetailInFaults="true" /> 
     </behavior> 
     </serviceBehaviors> 
    </behaviors> 
    </system.serviceModel> 
    <system.diagnostics> 
     <sources> 
     <source name="System.ServiceModel" 
       switchValue="Information, ActivityTracing" 
       propagateActivity="true"> 
      <listeners> 
      <add name="traceListener" 
       type="System.Diagnostics.XmlWriterTraceListener" 
       initializeData= "c:\log\Traces.svclog" /> 
      </listeners> 
     </source> 
     </sources> 
    </system.diagnostics> 
</configuration> 
+0

이 서비스를 어떻게 호스팅합니까? IIS에서? 가상 디렉터리 아래에서 어떤 주소로? 어떻게이 서비스에 연결하고 있습니까 ?? 우리에게 클라이언트 측 설정도 보여주세요! –

답변

0

새로운 Web.config의를 생성하여 문제를 해결했다. 가능한 오류는 두 번째 끝점 ("mex")입니다.

0

"요청 속성"에서 "SOAP 동작 건너 뛰기"를 true로 설정해보십시오.

비슷한 문제가 SoapUI를 사용하여 wsHttpBinding을 테스트했습니다.

관련 문제