簡體   English   中英

Web服務https狀態碼404

[英]Web service https status code 404

我在https協議下的Web服務有問題,如果我通過http協議使用相同的Web服務,則結果正常。

我已經使用過mkyong教程http://www.mkyong.com/webservices/jax-ws/suncertpathbuilderexception-unable-to-find-valid-certification-path-to-requested-target/

並且我有錯誤com.sun.xml.internal.ws.client.ClientTransportException:服務器發送了HTTP狀態代碼404:找不到

如果我下載證書並通過keytool導入,則會遇到相同的錯誤。

我做錯了什么?

在wsdl定義中發現了問題。 在od定義的末尾:

<wsdl:service name="wsname">
    <wsdl:port binding="tns:wsnameSoapBinding" name="wsnamePort">
        <soap:address location="locationVariable"/>     
    </wsdl:port>
</wsdl:service>

其中locationVariable是https的方向。 在我的情況下,位置變量的方向為http

暫無
暫無

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

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