【问题标题】:Axis2 Skeleton not found?未找到 Axis2 骨架?
【发布时间】:2012-01-04 06:44:04
【问题描述】:

我为axis2创建了一个服务,并为该服务实现了一个服务框架和一个MessageReceiver。

当我现在想从客户端调用该服务时,服务器上的 Receiver 接收调用,但在此框架代码中:

public void invokeBusinessLogic(
        org.apache.axis2.context.MessageContext msgContext,
        org.apache.axis2.context.MessageContext newMsgContext)
        throws org.apache.axis2.AxisFault {
    System.out.println("! !invokeBusinessLogic");
    try {            
        // get the implementation class for the Web Service
        Object obj = getTheImplementationObject(msgContext);
        System.out.println("2invokeBusinessLogic");
....

'2invokeBusinessLogic' 永远不会被打印出来。 我检查了 localhost:8080 上的服务器,该服务在此处正确列出。

所以我想调用服务,服务Receiver得到Request但没有找到骨架?

没有例外,我找不到问题。

感谢您的帮助。

【问题讨论】:

    标签: axis2


    【解决方案1】:

    我看到Object obj = getTheImplementationObject(msgContext) 行位于try/catch 块中。出于故障排除的目的,尝试暂时为Throwable 添加一个catch 部分,或者至少捕捉NoClassDefFoundError。我记得如果 JVM 类路径中缺少某些类,您可以在该步骤中获得 NoClassDefFoundError,并且 Axis2 不会在任何地方记录此类错误。

    【讨论】:

      猜你喜欢
      • 2011-11-23
      • 1970-01-01
      • 1970-01-01
      • 2014-02-08
      • 2012-01-05
      • 1970-01-01
      • 2012-01-07
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多