Nowadays in most of the cases, custom developed wcf services are hosted in IIS with windows appfabric, which still based on WAS. So if the services are blocked by firewall and needed to be used by 3rd party, ServiceBus relay service will be a good solution for it.
However, for the services always have to open an outbound port and create a bidirectional socket for communication, which connect to the Service Bus, authentication and listening messages before the client sends request. And for IIS hosting, they only start service when the first request comes through.
This is actually a difficulty, and well explained here.
I just followed the tutorial here and used windows appfabric to enabled the auto-start feature, then it worked.
No comments:
Post a Comment