微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

Webcommerce中wc-rest-dispatcher.xml的含义

如何解决Webcommerce中wc-rest-dispatcher.xml的含义

一个 Websphere 商务项目中,我在文件com.ibm.commerce.rest中找到了一个特殊的文件来处理称为 wc-rest-dispatcher.xml 的休息调用>. 它似乎不是自定义文件。然而,搜索 HCL 的文档,我找不到任何对该文件的引用。

有人知道这个文件是干什么用的吗?

解决方法

此文件用于将搜索相关请求转发到 v8 中的搜索服务器,但不确定它是否仍然适用于 v9 或更高版本。 有关于文件版权部分的基本文档。

This XML defines routing services related configuration data for REST services.
    
    remoteServerReference: WAS configured name binding for the URL to connect to the remote server.  For example,server or cluster scope: com.ibm.commerce.foundation.server.services.search.url
                           cell scope: cell/persistent/com.ibm.commerce.foundation.server.services.search.url
    forwardHeader: defines whether to include the inbound http header in the outbound request; defaults to true
    forwardQueryString: defines whether to include the inbound query string in the outbound request; defaults to true
    
    inbound: the URI pattern of the inbound request; if matches,the outbound request will be issued instead
    outbound: can be a URI or a fully qualified URL for the outbound request for redirect
    
    Note: - variables can be used in inbound and outbound field - variables at runtime will be transferred "as is"
            to the outbound URI.
          - variables must be enclosed with curly brackets {}.

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐


Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其他元素将获得点击?
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。)
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbcDriver发生异常。为什么?
这是用Java进行XML解析的最佳库。
Java的PriorityQueue的内置迭代器不会以任何特定顺序遍历数据结构。为什么?
如何在Java中聆听按键时移动图像。
Java“Program to an interface”。这是什么意思?