Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/web-services/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Web services 无法从websphere portal调用web服务_Web Services_Websphere_Axis - Fatal编程技术网

Web services 无法从websphere portal调用web服务

Web services 无法从websphere portal调用web服务,web-services,websphere,axis,Web Services,Websphere,Axis,我面临一个与axis.jar类相关的问题 我有一个WAR文件,它的lib目录中有axis.jar。 这场战争部署在IBM websphere环境1上,而且这场战争运行良好 当我在IBM websphere environment2中部署相同的WAR时,它不工作 我在尝试调用Web服务时遇到以下异常: java.lang.NoClassDefFoundError:org.apache.axis.configuration.EngineConfigurationFactoryDefault 我不知道

我面临一个与axis.jar类相关的问题

我有一个WAR文件,它的lib目录中有axis.jar。 这场战争部署在IBM websphere环境1上,而且这场战争运行良好

当我在IBM websphere environment2中部署相同的WAR时,它不工作

我在尝试调用Web服务时遇到以下异常:

java.lang.NoClassDefFoundError:org.apache.axis.configuration.EngineConfigurationFactoryDefault

我不知道为什么这个类没有在environment2中加载

请注意,同样的战争在环境1上表现良好,而在环境2上表现不佳


请提供任何帮助???

您应该检查您的Websphere classloader配置

我以前遇到过这些错误,当您将axis的版本与从Websphere获取的缺少依赖项的版本混合在一起时,就会发生这些错误。通常,这些Websphere依赖项已经过时,并且一些类/方法不存在

在WEB-INF/lib文件夹上提供axis.jar及其依赖项,并将类加载配置为PARENT_LAST

还要确保MANIFEST.MF也引用了axis库


这应该可以完成工作

这两个环境是否安装了所有相同的修复包和功能包?我已签出并首先加载应用程序类。您应该检查两台服务器上的修复包级别。如果它们是相同的版本,那么它们的行为应该是相同的,而且修复包似乎总是修复与Web服务相关的问题。