1

suppose i am having a wcf(mywcf),and three clients(CL1,CL2,CL3) connected to my wcf,CL1 and CL2 belongs to PC1 and CL3 belongs to PC2. now the question is to dedect the client.(mywcf is having more then one endpoints).

slash shogdhe
  • 3,943
  • 6
  • 27
  • 46

1 Answers1

0

It is not possible unless you send some identification in every message. So create custom SOAP header and MessageInspector and use them to transfer your client's identification.

Ladislav Mrnka
  • 360,892
  • 59
  • 660
  • 670
  • i think client it self is a identification,there must be somthing in background by which wcf use to dedect the client.i just want to capture the that something.have u ever used .svclog generated by wcf() which contain the complete info of the client application – slash shogdhe Jan 18 '11 at 10:27
  • But such info is not part of communication. It is common identification of running application. If you want to pass this identification to service you must create transport mechanism for it. Service can out of the box differ clients only by their identity (users) or by IP address. If same client application connects from the same machine under same account multiple times, service is not able to differ calls. – Ladislav Mrnka Jan 18 '11 at 10:41