0

我们正在尝试在 wso2 esb 中执行 poc 来调用启用了 ws-security 的 BE 服务。我们在 wso2 中设置了一个直通代理,并根据www.soasecurity.org配置了端点。但是,在尝试使用直通代理时,我们不断收到以下错误。请告知我们是否做错了什么...

ERROR - Axis2Sender Unexpected error during sending message out
rg.apache.axis2.AxisFault: Unsupported SignedSupportingToken : "{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}IssuedToken"
       at org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:76)
       at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
       at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
       at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
       at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:426)
       at org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.send(DynamicAxisOperation.java:185)
       at org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.executeImpl(DynamicAxisOperation.java:167)
       at org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
       at org.apache.synapse.core.axis2.Axis2FlexibleMEPClient.send(Axis2FlexibleMEPClient.java:481)
       at org.apache.synapse.core.axis2.Axis2Sender.sendOn(Axis2Sender.java:57)
       at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.send(Axis2SynapseEnvironment.java:342)
       at org.apache.synapse.endpoints.AbstractEndpoint.send(AbstractEndpoint.java:329)
       at org.apache.synapse.endpoints.AddressEndpoint.send(AddressEndpoint.java:59)
       at org.apache.synapse.core.axis2.ProxyServiceMessageReceiver.receive(ProxyServiceMessageReceiver.java:173)
       at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
       at org.apache.synapse.transport.passthru.ServerWorker.processEntityEnclosingRequest(ServerWorker.java:404)
       at org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:184)
       at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
       at java.lang.Thread.run(Thread.java:724)
Caused by: org.apache.rampart.RampartException: Unsupported SignedSupportingToken : "{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}IssuedToken"
       at org.apache.rampart.builder.TransportBindingBuilder.build(TransportBindingBuilder.java:103)
       at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:140)
       at org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:65)
       ... 20 more
4

1 回答 1

1

您用于保护 BE 服务的安全策略是什么?

似乎 ESB 无法理解用于 BE 服务的安全策略。关注博客,您将能够解决您的问题。

马尼沙

于 2013-09-10T09:47:15.240 回答