Esb错误地将其上下文添加到端点URL

时间:2016-11-17 10:49:07

标签: wso2 wso2esb endpoint

我目前正在使用ESB开发代理服务。该服务首先使用callout介体在DSS中调用服务,然后调用最终端点。 DSS端点定义为WSDL端点。

代理服务网址例如是INSERT INTO "apscheduler_jobs" VALUES('c891c2288a0f4585b169a335dd57b971', 1.51008480006619596482e+09, E'\\x800495EA010000000000007D94288C126D6973666972655F67726163655F74696D65944B018C086578656375746F72948C0764656661756C74948C0D6D61785F696E7374616E636573944B018C0466756E63948C1E7363686564756C65722E747269676765723A747269676765725F66756E63948C08636F616C6573636594888C066B7761726773947D948C0774726967676572948C1961707363686564756C65722E74726967676572732E64617465948C0B44617465547269676765729493942981947D94288C0872756E5F64617465948C086461746574696D65948C086461746574696D65949394430A07E10B08030000010294948C0E646174657574696C2E747A2E747A948C08747A6F66667365749493942981947D94288C075F6F6666736574948C086461746574696D65948C0974696D6564656C74619493944B004D70624B00879452948C055F6E616D65944E7562869452948C0776657273696F6E944B01756268234B018C046E616D65948C206338393163323238386130663435383562313639613333356464353762393731948C0269649468258C0D6E6578745F72756E5F74696D659468228C04617267739468258C382F6170692F7363686564756C65732F747269676765722F63383931633232383861306634353835623136396133333564643537623937312F948694752E' ) ,当我向服务发送帖子时,它会尝试将此上下文添加到DSS端点的URL,在DSS中发出例外,即:

  

<host>/esb/services/exampleService

有没有办法阻止ESB添加到URL?

标注配置:

The service cannot be found for the endpoint reference (EPR) <host>/services/dssservice.SOAP11Endpoint/esb/services/exampleService

如果您需要更多信息,请询问。

1 个答案:

答案 0 :(得分:0)

尝试在调用mediator之前定义此属性:

<property name="REST_URL_POSTFIX" scope="axis2" action="remove"/>