简体   繁体   English

将WS-Security与JAX-WS一起使用

[英]Using WS-Security with JAX-WS

Let's pretend all I have is emacs. 让我们假装我拥有的只是emacs。 I want to implement a web service that uses WS-Security with JAX-WS. 我想实现一个使用WS-Security和JAX-WS的Web服务。 Does anyone know of a good example of implementing a client that does not rely on tools like Netbeans? 有没有人知道实现不依赖Netbeans等工具的客户端的好例子?

Thanks 谢谢

The metro stack (which is the reference implementation for jaxws) has a pretty detailed guide , and pretty much all the examples have "with netbeans" and "without netbeans" versions (eg i think sections 13/14 are what you are looking for). 地铁堆栈(这是jaxws的参考实现)有一个非常详细的指南 ,几乎所有的例子都有“with netbeans”和“without netbeans”版本(例如我认为第13/14节是你正在寻找的) 。 I know this because I've done a lot of this with emacs myself. 我知道这是因为我自己用emacs做了很多这个。 (Note, the metro stack has some enhancements not in the base JDK, so you might need to use it specifically to get that stuff working). (注意,metro堆栈有一些增强功能,不在基础JDK中,因此您可能需要专门使用它来使这些东西工作)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM