出自:http://blog.csdn.net/xgx1985xgx/article/details/6257368
原因是axis1.4和weblogic8.1有冲突,weblogic 本身携带的webservice.jar使用的旧的javax.xml.soap.*,而不是像axis使用J2EE1.4新的版本。解决方案是在应用WEB-INF/weblogic.xml(若应用中没有weblogic.xml,则可以在bea/weblogic81/samples/server/examples/build/examplesWebApp/WEB-INF中拷贝)在文件中加入如下红色配置:
<weblogic-web-app>
<container-descriptor>
<prefer-web-inf-classes>true</prefer-web-inf-classes>
</container-descriptor>
</weblogic-web-app>
修改后重启weblogic,一切正常,问题解决!
补充:
axis1.4.1与weblogic8.1没有冲突,
axis1.4.2与weblogic8.1有冲突,
附件为1.4.1的jar包