Questions tagged [mex-bindings]

7 questions
11
votes
1 answer

How to force a net.tcp mex endpoint (mexTcpBinding) to participate in port sharing?

I have a WCF service which is hosted as a Windows Service. We would like to enable a mex endpoint at the same address (but with a '/mex' suffix). I have been trying to do this (unsuccessfully) using the following…
Damian Powell
  • 8,655
  • 7
  • 48
  • 58
4
votes
2 answers

Referencing WCF Services without mex binding

I was wondering how a client project in Visual Studio could reference a WCF service that doesn't have a mex binding. Whenever I remove the default mex binding in any sample WCF service, the client apps cannot find the service and in the…
user1137993
  • 101
  • 2
  • 9
3
votes
1 answer

WCF mex too large

I have a mex binding that exceeds the reader quota of 16k. I know how to increase the size of the basicHttpBindings but the mexHttpBinding does not allow for the same increase of buffer sizes etc. I cannot just break the service up into smaller…
Johannes
  • 1,095
  • 6
  • 17
1
vote
1 answer

Metadata Exchange Problem - Limit on the number of methods?

I have a WCF service exposing some 34 methods. Up until today metadata exchanging using MetadataExchangeClient was working just fine, but suddenly I started getting the following exception: Metadata contains a reference that cannot be resolved:…
User
  • 3,244
  • 8
  • 27
  • 48
1
vote
2 answers

WCF: Automatically disable MEX from DEBUG to RELEASE builds in VS2010?

I have code that automatically disbles fault information from flowing to clients when a RELEASE build of our product in installed. I am wondering whether there is a clever way that we can also disable MEX metadata from being available in our…
ABOH
  • 61
  • 1
  • 6
0
votes
2 answers

"interface not found" in WCF Moniker without registration for excel

I'm trying to connect excel to a WCF service, but I can't seem to get even a trivial case to work... I get an Invalid Syntax error when I try and create the proxy in excel. I've attached the visual studio debugger to excel, and get that the real…
tbischel
  • 6,337
  • 11
  • 51
  • 73
0
votes
1 answer

Error when setting WCF NetTcpBinding to only accept local connections

I am trying to set up a WCF service which only accepts incoming messages/connection from itself. I have been able to successfully create the service and run it and communicate with it using this code to create the WCF Endpoint (not restricted to…
Malcolm O'Hare
  • 4,879
  • 3
  • 33
  • 53