我正在使用带有 WTP 插件的 eclipse 来创建客户端来调用安全的 Web 服务。
我已经使用 Web 服务客户端向导生成客户端,现在我想在 eclipse 项目中配置 apache 壁垒以调用受用户名令牌保护的服务
错误是“无法接合模块壁垒”。 - - - - 更新 - -
在纠正了无法接合的模块壁垒后,我开始关注:
[INFO] Deploying module: addressing-1.5.2 - file:/E:/Source Code Evaluations/axis2Codes/myAxisClient/WebContent/WEB-INF/modules/addressing-1.5.2.mar
[INFO] Deploying module: metadataExchange-1.5.2 - file:/E:/Source Code Evaluations/axis2Codes/myAxisClient/WebContent/WEB-INF/modules/mex-1.5.2.mar
[INFO] Deploying module: mtompolicy-1.5.2 - file:/E:/Source Code Evaluations/axis2Codes/myAxisClient/WebContent/WEB-INF/modules/mtompolicy-1.5.2.mar
[INFO] Deploying module: ping-1.5.2 - file:/E:/Source Code Evaluations/axis2Codes/myAxisClient/WebContent/WEB-INF/modules/ping-1.5.2.mar
[INFO] Deploying module: rampart-1.4 - file:/E:/Source Code Evaluations/axis2Codes/myAxisClient/WebContent/WEB-INF/modules/rampart-1.4.mar
[INFO] Deploying module: script-1.5.2 - file:/E:/Source Code Evaluations/axis2Codes/myAxisClient/WebContent/WEB-INF/modules/scripting-1.5.2.mar
[INFO] Deploying module: soapmonitor-1.5.2 - file:/E:/Source Code Evaluations/axis2Codes/myAxisClient/WebContent/WEB-INF/modules/soapmonitor-1.5.2.mar
[INFO] Deploying Web service: version.aar - file:/E:/Source Code Evaluations/axis2Codes/myAxisClient/WebContent/WEB-INF/services/version.aar
[INFO] Unable to sendViaPost to url[https://192.168.9.120:9443/services/HelloService.HelloServiceHttpsEndpoint/]
org.apache.axis2.AxisFault: Transport error: 401 Error: Unauthorized
_------------------------ 更新结束 ------------ --------
提前致谢