簡體   English   中英

Apache Tomcat Java Web服務上的NoEndPointException()

[英]NoEndPointException() on apache tomcat java- web service

為什么我收到此EndPoint異常:沒有端點

這是代碼:

public org.tempuri.UpdateInsuredDetails_Output recieveMDMDataInsuredDetails  (org.tempuri.UpdateInsuredDetails_Input l_input) throws java.rmi.RemoteException {
    if (super.cachedEndpoint == null) {
        logger.info("this is where the endpoint exception occurs:");
        throw new org.apache.axis.NoEndPointException();
    }
    //this is what the method do
}

我要發送給方法的對象: l_input不為null,但我仍然陷入NoEndPointException() -為什么?

假設您的問題與提到的問題相同: java調用Web服務-無終結點異常

調用服務時未使用InsuredDetailsLocator locator_MDP (承載端點的變量)。 另外,我對端點URL中的空間感到懷疑,很少有人提到。

暫無
暫無

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

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