I have a Axis2 web service secured using Rampart. I do want to develop secure clients for it, preferably JAX-WS based. I tried a lot of tutorials but they are so closed tied with each other, like including Axis2 libraries in the client side. The client should be fairly independent of the WS service framework, as the service can be consumed by .NET based clients or even PHP based clients.
我使用Rampart保护了Axis2 Web服务。我确实想为它开发安全的客户端,最好是基于JAX-WS。我尝试了很多教程,但它们彼此紧密相关,比如在客户端包含Axis2库。客户端应该完全独立于WS服务框架,因为基于.NET的客户端甚至基于PHP的客户端都可以使用该服务。
Thanks in advance...
提前致谢...
1 个解决方案
#1
1
As I understand it, you would want to be able to feed the policy defined for your Rampart secured web service into your JAX-WS client.
据我了解,您希望能够将为您的Rampart安全Web服务定义的策略提供给您的JAX-WS客户端。
That ought to be doable. As you say-- the idea is to be able to execute different client and server technologies, standardized around WSDLs...
这应该是可行的。正如你所说 - 我们的想法是能够执行不同的客户端和服务器技术,围绕WSDL标准化......
We're only just getting into this - so I don't have any hands on knowledge for you.
我们只是进入这个 - 所以我没有掌握任何知识。
But I would think you should be able to copy the policy info for your rampart on the server in the services.xml file and put it in your client.
但我认为您应该能够在services.xml文件中复制服务器上的wallart的策略信息并将其放入您的客户端。
This seemed pretty helpful:
这似乎非常有帮助:
https://metro.dev.java.net/guide/
Sections 12 and 18 in particular.
特别是第12和18节。
#1
1
As I understand it, you would want to be able to feed the policy defined for your Rampart secured web service into your JAX-WS client.
据我了解,您希望能够将为您的Rampart安全Web服务定义的策略提供给您的JAX-WS客户端。
That ought to be doable. As you say-- the idea is to be able to execute different client and server technologies, standardized around WSDLs...
这应该是可行的。正如你所说 - 我们的想法是能够执行不同的客户端和服务器技术,围绕WSDL标准化......
We're only just getting into this - so I don't have any hands on knowledge for you.
我们只是进入这个 - 所以我没有掌握任何知识。
But I would think you should be able to copy the policy info for your rampart on the server in the services.xml file and put it in your client.
但我认为您应该能够在services.xml文件中复制服务器上的wallart的策略信息并将其放入您的客户端。
This seemed pretty helpful:
这似乎非常有帮助:
https://metro.dev.java.net/guide/
Sections 12 and 18 in particular.
特别是第12和18节。