WCF client probing to service

51 views Asked by At

is there a possibility to get in the Client.Open Method, so i can try to connect unsecure to a Service, and if this does not work, to connect secure? Just like probing.

1

There are 1 answers

0
Andreas K On BEST ANSWER

finally i found a solution to my problem. The key was to build a ChannelFactory and a IRequestChannel. Then I could build a new factory from my binding and endpointaddress. With this factory I was able to build a chennel which I could open to probe my service.