在(https://dev1-api-abccloud.io/presto/appservice.svc?wsdl)上没有可以接受此消息的终端侦听.这通常是由不正确的地址或SOAP操作引起的 [英] There was no endpoing listening at (https://dev1-api-abccloud.io/presto/appservice.svc?wsdl) that could accept the message. This is often caused by an incorrect address or SOAP action

查看:123
本文介绍了在(https://dev1-api-abccloud.io/presto/appservice.svc?wsdl)上没有可以接受此消息的终端侦听.这通常是由不正确的地址或SOAP操作引起的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

环境

1.有一个Azure应用程序网关,上面已应用了SSL安全证书和域名(https://dev1-api-abccloud.io/presto/appservice.svc?wsdl).

1. There is an Azure Application gateway which has the SSL Security certificate and domain name (https://dev1-api-abccloud.io/presto/appservice.svc?wsdl) applied on it.

2.在蔚蓝应用程序网关周围有一个虚拟机,其中没有安全证书.我们已经在此VM上托管了WCF Web服务.天蓝色的应用程序网关将所有流量转发到此VM.

2. There is a VM surrounded by the azure application gateway where there is no security certificate. We have hosted a WCF web service on this VM. The azure application gateway forwards all trafic to this VM.

问题1:每当我们尝试连接到https://dev1-api-abccloud.io/presto/appservice.svc?wsdl时,都会出现标题中提到的上述错误.

Problem 1: Whenever we try to connect to https://dev1-api-abccloud.io/presto/appservice.svc?wsdl it gives above error as mentioned in the title.

问题2:生成的wsdl显示使用http而不是https作为协议,是因为WSDL托管在未安装安全证书的VM上吗?

Problem 2: The wsdl generated shows using http as a protocol rather than https, is it because the WSDL is hosted on a VM which has no security certificate installed ?

如何解决以上问题.请帮忙.

How to solve the above problem. Please help. 

我们是否需要在应用程序网关上指定任何内容,如果是,我们缺少什么?

Do we need to specify anything on application gateway, If yes what are we missing ?

我们是否需要指定特定于WCF Web配置的任何内容,以便WCF理解应用程序网关不是WCF服务的托管地,而是它的托管者是VM.

Do we need to specify anything specific to WCF Web Configuration, so that WCF understands that application gateway is not where the WCF service is hosted, it is the VM the host of it.

推荐答案

尼尔,

我对Azure网关不熟悉,如果我的帖子有任何错误,请随时告诉我.

>> https://dev1-api-abccloud.io/presto/appservice.svc?wsdl

>> https://dev1-api-abccloud.io/presto/appservice.svc?wsdl

这是什么地址?它是Azure应用程序网关中用于客户端请求的地址还是VM中的WCF服务主机地址?要获取元数据,我认为您需要在VM中使用WCF主​​机地址.

我建议您尝试以下步骤:

  1. 如果您可以直接在VM中连接WCF服务,我建议您通过该地址添加服务引用以生成客户端代码
  2. 否则,建议您使用svcutil.exe工具生成客户端代码,并将代码和配置复制到客户端.
  3. 通过WCF服务主机地址更改网关重定向http地址.
  1. If you could connect WCF Service in VM directly, I would suggest you add service reference by this address to generate client code
  2. If not, I would suggest you generate client code by svcutil.exe tool and copy code and configuration to client.
  3. Change client endpoint address by gateway https address
  4. Change gateway redirect http address by WCF Service host address.

最好的问候

爱德华


这篇关于在(https://dev1-api-abccloud.io/presto/appservice.svc?wsdl)上没有可以接受此消息的终端侦听.这通常是由不正确的地址或SOAP操作引起的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆