NetTcpBinding으로 변경하려는 WCF 서비스 WsHttpBinding에 문제가 있습니다. 이전에 IIS7 로컬 시스템에서 서비스를 설정했으며 WsHttpBinding과 함께 작동합니다.WCF 바인딩을 wsHttp에서 netTcp로 변경
이 서비스에 대한 프록시 내가 내 로그에 다음과 같은 예외를 얻을 NetTcpBinding 바인딩 변경하면 요청 메시지
를 전송하기 전에 두 개의 메시지 헤더를 추가하는 CustomBehavior를 ..했다
Exception: System.ServiceModel.ServiceActivationException: Service /ConsignmentService/Consignment.svc cannot be activated due to an exception during compilation. The exception message is: Exception has been thrown by the target of an invocation ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ServiceModel.MessageHeaderException: There is not a header with the name "ClientID" og namespace 'http://AmphoraExtension/Header' in the message.
ved System.ServiceModel.Channels.MessageHeaders.GetHeader[T](String name, String ns, XmlObjectSerializer serializer)
ved System.ServiceModel.Channels.MessageHeaders.GetHeader[T](String name, String ns)
이것은 wsHttpBinding에서 잘 작동하지만 NetTcpBinding으로 전환 할 때 제대로 작동하지 않습니다. 여기에 무엇이 누락 되었습니까?