Axis2测试客户端出错 [英] Error in Axis2 Test Client

查看:116
本文介绍了Axis2测试客户端出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个Axis2客户端来测试我的axis2 webservice。但是,我在运行时收到以下错误:

I created an Axis2 client to test my axis2 webservice. However, i am getting the below error at runtime:

org.apache.axis2.AxisFault: java.lang.NoClassDefFoundError: Could not initialize
 class com.sample.LoginRequestDocument
        at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.j
ava:517)
        at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(
OutInAxisOperation.java:371)
        at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisO
peration.java:417)
        at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(Out
InAxisOperation.java:229)
        at org.apache.axis2.client.OperationClient.execute(OperationClient.java:
165)
        at com.sample.sampleStub.login(sampleStub.java:4543)

任何想法我怎么解决这个问题?

any idea how i can resolve this?

推荐答案

听起来服务器端缺少一个类。您确定您的服务器端模块在其部署中包含com.sample.LoginRequestDocument吗?

It sounds like there is a class missing on the server side. Are you sure that your server side module includes "com.sample.LoginRequestDocument" in its deployment?

这篇关于Axis2测试客户端出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆