簡體   English   中英

連接到服務時沒有端點監聽

[英]There is no endpoint listening when connecting to the service

我正在嘗試連接到Web服務。 我有一個使用SVCUTIL轉換為類的wsdl。

從.net控制台應用程序調用服務時,出現此錯誤

https://rest.developer.yodlee.com:8080/yodsoap/services/RoutingNumberServiceService_2017Q1上沒有端點可以接受該消息。 這通常是由不正確的地址或SOAP操作引起的。 有關更多詳細信息,請參見InnerException(如果存在)。

內部異常:無法連接到遠程服務器

我不確定我在這里做什么以及如何解決此問題。

以下是wsdl的服務信息。

<wsdl:service name="RoutingNumberServiceService">
    <wsdl:port binding="impl:RoutingNumberServiceSoapBinding" name="RoutingNumberService">
        <wsdlsoap:address location="http://localhost:8080/yodsoap/services/RoutingNumberService_2017Q1/" />
    </wsdl:port>
</wsdl:service>

這是客戶端的配置

<client>

  <endpoint address="https://rest.developer.yodlee.com:8080/yodsoap/services/RoutingNumberServiceService_2017Q1"
      binding="basicHttpBinding" bindingConfiguration="RoutingNumberServiceSoapBinding"
      contract="RoutingNumberServiceService.RoutingNumberService" name="RoutingNumberService"  />

</client> 

有人可以幫助我了解我在這里想念的是什么。 我在網上嘗試了很多解決方案,但沒有任何幫助。 提前致謝!!

唯一的例外是Unable to connect to remote server

我嘗試遠程登錄到該服務器

$> telnet rest.developer.yodlee.com 8080
Connecting To rest.developer.yodlee.com...Could not open connection to the host, on port 8080: Connect failed

因此看來端點無法訪問-可能是它已關閉或不是正確的地址。

我注意到的一件事是8080是要在其上運行HTTPS服務的不尋常端口-443和8443是HTTPS的標准端口。

無論如何,“修復”的唯一方法是聯系端點所有者並詢問他們問題所在。

編輯


文檔指出基本URL是https://rest.developer.yodlee.com/services/services/v1.0 ,(暗含)端口443。我認為端口號是您的問題。

編輯2


我想建議您修復以下行:

<endpoint address="https://rest.developer.yodlee.com:8080/yodsoap/services/RoutingNumberServiceService_2017Q1"

成為

<endpoint address="https://rest.developer.yodlee.com/yodsoap/services/RoutingNumberServiceService_2017Q1"

請注意,我已刪除了:8080

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM