1

为什么我得到这个端点异常:没有端点

这是代码:

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()- 为什么?

4

1 回答 1

0

假设您的问题与提到的问题相同:java调用Web服务-没有端点异常

InsuredDetailsLocator locator_MDP是承载端点的变量,调用服务时不使用。此外,我对其他少数人提到的端点 URL 中的空间表示怀疑。

于 2013-03-11T15:43:48.187 回答