是否可以同时以安全和不安全的方式运行单个 @WebService bean,最好使用相同的 URL,但 http/https 协议不同?
我可以使用以下方式安全或不安全地运行服务:
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
或者
<transport-guarantee>NONE</transport-guarantee>
在 sun-ejb-jar.xml 中
IE。
<ejb>
<ejb-name>MyEJB</ejb-name>
<webservice-endpoint>
<port-component-name>MyWebService</port-component-name>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</webservice-endpoint>
</ejb>
建议?