2014-03-28 4 views
4

일부 서비스에 이상한 문제가 있습니다. 나는 개발자가 아니며 나는 sysadmin이다.SOAP 요청이 MEX 바인딩과 함께 실패합니다.

개발 환경에서 실행중인 SOAP 서비스가 있습니다. 일부 SOAP 서비스가 실패하기 시작했습니다. 한 가지 예가 있습니다. 이것들은 모두 같은 웹 설정에서 나옵니다.

 <endpoint address="http://<URL>/<folder>/service.svc" 
        binding="wsHttpBinding" 
        bindingConfiguration="wsHttpBinding" 
        contract="eConsentSvc.IeConsent" 
        name="WSHttpBinding_IeConsent" /> 

이 사람은하지 않습니다 :

 <endpoint address="http://<URL>/<folder>/service.svc/mex" 
        binding="wsHttpBinding" 
        bindingConfiguration="wsHttpBindingText" 
        contract="MetaDataSvc.IMetaData" 
        name="WSHttpBinding_IMetaData"> 
     </endpoint> 

이 2 일 404 오류가 발생합니다. 생성 된 오류는 다음과 같습니다.

메시지를 수락 할 수있는 http : ////service.svc/mex에서 수신하는 엔드 포인트가 없습니다.

명백한 차이점은 "/ mex"입니다. 개발자들은 이것이 있어야한다는 것을 주장하기 때문에 거기에 있어야합니다. MEX와 함께 404 오류가 발생하는 이유는 무엇입니까?

/mex를 제거하면 서비스가 실행되고 작성해야하는 XML 문서가 생성됩니다.

도와주세요. 나는 완전히 난감한 처지입니다.

답변

0

이 끝점에서 binding="wsHttpBinding" 은 바인딩 중 하나 여야합니다 (예 : mexHttpBinding).
또 다른 방법은 간단히 다른 끝점을 추가하는 것입니다. <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>

<endpoint address="http://<URL>/<folder>/service.svc/mex" 
       binding="wsHttpBinding" 
       bindingConfiguration="wsHttpBindingText" 
       contract="MetaDataSvc.IMetaData" 
       name="WSHttpBinding_IMetaData"> 
</endpoint> 
관련 문제