我正在使用 Axis2 JAX-WS 服务。我定义了 WSDL 并使用 wsimport 工具来生成类。它使用 sun-jaxws.xml 文件,不需要 services.xml 文件。
有人可以帮我集成 Rampart (WS-Security) 以进行身份验证和安全性。高度赞赏示例。
我正在使用 Axis2 JAX-WS 服务。我定义了 WSDL 并使用 wsimport 工具来生成类。它使用 sun-jaxws.xml 文件,不需要 services.xml 文件。
有人可以帮我集成 Rampart (WS-Security) 以进行身份验证和安全性。高度赞赏示例。
壁垒的一个很好的起点,有一些基本的例子:http: //blog.sweetxml.org/2007/12/rampart-basic-examples-how-you-add-ws.html