WSO2 ESB: 自定义URL[英] WSO2 ESB: Custom URL

本文是小编为大家收集整理的关于WSO2 ESB: 自定义URL的处理方法,想解了WSO2 ESB: 自定义URL的问题怎么解决?WSO2 ESB: 自定义URL问题的解决办法?那么可以参考本文帮助大家快速定位并解决问题。

问题描述

我使用自定义 url 创建了我的代理,基于:

http://wso2.com/library/knowledge-base/2011/01/custom-urls-wso2-esb-proxy-services/

使用我的 SOAP 消息调用此自定义 URL 会导致错误,我仍然可以使用原始 URL.

自定义:/services/wss/PlanningOphaalServiceProxy_v1原文:/services/PlanningOphaalServiceProxy_v1

错误:

TID: [0] [ESB] [2015-08-19 15:47:05,039] ERROR {org.apache.axis2.engine.AxisEngine} -  InvalidSecurity {org.apache.axis2.engine.AxisEngine}
org.apache.axis2.AxisFault: InvalidSecurity
        at org.apache.rampart.handler.PostDispatchVerificationHandler.invoke(PostDispatchVerificationHandler.java:151)
        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.receive(AxisEngine.java:167)
        at org.apache.synapse.transport.passthru.ServerWorker.processEntityEnclosingRequest(ServerWorker.java:411)
        at org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:183)
        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:745)
TID: [0] [ESB] [2015-08-19 15:47:05,041] ERROR {org.apache.synapse.transport.passthru.ServerWorker} -  Error processing POST request for : /services/wss/PlanningOphaalServiceProxy_v1 {org.apache.synapse.transport.passthru.ServerWorker}
org.apache.axis2.AxisFault: InvalidSecurity

推荐答案

已解决:这是不可能的.根据 WSO2 支持,CustomURI 不能与 WS-Security 结合使用

本文地址:https://www.itbaoku.cn/post/1793758.html