我正在使用Axis2和Rampart开发安全的Web服务并将其部署到jBoss上。在jBoss上成功部署服务后,我使用SoapUI来测试服务。我得到以下错误:在Axis2和Rampart上使用SoapUI来测试安全Web服务
的wsse:InvalidSecurity 预计运输 “https” 开头,但进入运输发现: “HTTP”
如何配置HTTPS使用了SoapUI运输?
我正在使用Axis2和Rampart开发安全的Web服务并将其部署到jBoss上。在jBoss上成功部署服务后,我使用SoapUI来测试服务。我得到以下错误:在Axis2和Rampart上使用SoapUI来测试安全Web服务
的wsse:InvalidSecurity 预计运输 “https” 开头,但进入运输发现: “HTTP”
如何配置HTTPS使用了SoapUI运输?
您的端点有http或https吗?
Rampart enforces the use of HTTPS transport and that { http://ws.apache.org/rampart/policy }RampartConfig assertion provides additional information required to secure the message.
Expected result : org.apache.axis2.AxisFault: Expected transport is "https" but incoming transport found : "http"
This sample uses http transport while the policy enforces https transport. Thus you get a error message as mentioned above. You can find a complete tutorial on transport level security here. http://wso2.org/library/3190
您的Web服务可能是使用HTTP时,应当使用HTTPS。