Skip to content

Commit fecd3b7

Browse files
authored
Merge pull request #585 from PHOENIXCONTACT/bugfix/https
Bugfix in Tools.Wcf when using WebHttpServiceConnectorBase
2 parents 04cbb02 + 4a46537 commit fecd3b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Moryx.Tools.Wcf/Client/Connector/WebHttpServiceConnectorBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ private async Task EvaluateResponse(Task<Communication.Endpoints.Endpoint[]> res
103103
}
104104

105105
// Parse endpoint url
106-
var endpoint = resp.Result.FirstOrDefault(e => ((Endpoint)e).Binding == ServiceBindingType.WebHttp);
106+
var endpoint = resp.Result.FirstOrDefault();
107107
if (endpoint == null || string.IsNullOrEmpty(endpoint.Address))
108108
{
109109
Logger.Log(LogLevel.Error, "Endpoint for {0} has wrong binding or empty address: {1}-{2}",

0 commit comments

Comments
 (0)