-
Expected Behavior / New FeatureI'd like to use Ocelot with an existing WCF endpoint but I can't get it to work. Actual Behavior / Motivation for New FeatureFollowing setup: {
"DownstreamPathTemplate": "/UpdateService",
"DownstreamScheme": "ws",
"DownstreamHostAndPorts": [
{ "Host": "localhost", "Port": 9000 }
],
"UpstreamPathTemplate": "/UpdateService"
} I tried as well with the Scheme AddWebSockets is implemented. Error message from Ocelot:
What else am I doing wrong? Thanks for any help. |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 6 replies
-
Is there any updates? |
Beta Was this translation helpful? Give feedback.
-
Is there any updates? |
Beta Was this translation helpful? Give feedback.
-
@AhmedAssaf @SViradiya-MarutiTech Best way to do is make synchronous call of WCF from .Net Core API and use Ocelot with this. |
Beta Was this translation helpful? Give feedback.
-
Updates on what? Where are your advices, guys? |
Beta Was this translation helpful? Give feedback.
-
Your answer is very abstract and the author will not understand it. |
Beta Was this translation helpful? Give feedback.
-
Hi Thomas! There is some experiments by Microsoft in migration WCF to .NET Core: But Ocelot team is not going to use these protocols.
You cannot route WCF traffic through Ocelot!
You see this error because you cannot connect Websocket client to WCF service! |
Beta Was this translation helpful? Give feedback.
-
@mitti2000 If you really want to interact with WCF, you can probably do so through DelegatingHandlers. In these, you can connect and interact with WCF. |
Beta Was this translation helpful? Give feedback.
-
I wrote this more then 3 years ago. This topic can be closed. |
Beta Was this translation helpful? Give feedback.
Hi Thomas!
You cannot use WCF and Ocelot in general!
WCF is old technology of .NET full framework as Windows platform (before .NET Core cross-planform).
So, WCF uses Windows OS system services on transport level. WCF is not included to .NET Core.
See more:
There is some experiments by Microsoft in migration WCF to .NET Core:
But Ocelot team is not going to use these protocols.
You cannot route WCF traffic through Ocelot!
WCF uses different protocols on transport level. But, any …