Oracle Commerce and Siebel Reference 应用程序采用标准 OC 模块格式,包含源代码。据我所知,您有两种选择:
- 找出所有代码依赖关系并删除我们不会使用的代码和配置(不推荐)
- 按原样使用模块并禁用您不打算使用的 Web 服务。 (推荐方法)
我推荐选项2的原因是:
- 它不会使 Oracle 的支持无效
- 如果将来您想使用其他网络服务,您只需启用它们
- 升级到 Oracle Commerce 将更容易
Oracle 支持声明摘录:
Oracle 不会为对 Oracle Commerce /Siebel 参考集成包代码所做的更改、定制或扩展提供支持,也不会对此类更改引起的任何实施问题提供支持。
下面是来自 Oracle Commerce 和 Siebel 集成参考应用程序 11.1.1 版的 /config/atg/Initial.properties:
initialServices+=\
/atg/siebel/configurator/spu/StructuredProductUIRepository,\
/atg/siebel/configurator/spu/StructuredProductUITools,\
/atg/siebel/integration/webservices/ABOWebService,\
/atg/siebel/integration/webservices/CatalogWebService,\
/atg/siebel/integration/webservices/ProductConfigurator,\
/atg/siebel/integration/webservices/OrderWebService,\
/atg/siebel/integration/webservices/OrderDetailWebService,\
/atg/siebel/integration/webservices/PromotionWebService,\
/atg/siebel/integration/webservices/QuoteWebService,\
/atg/siebel/integration/webservices/CalculatePriceWS,\
/atg/siebel/integration/webservices/EligibilityCompatibility,\
/atg/siebel/integration/webservices/QuotingWebService,\
/atg/siebel/integration/webservices/SelfServiceAccount_Service,\
/atg/siebel/integration/webservices/SelfServiceAccountBillingProfile_Service,\
/atg/siebel/integration/webservices/SelfServiceAddress_Service,\
/atg/siebel/integration/webservices/SelfServiceContact_Service,\
/atg/siebel/integration/webservices/SelfServiceUser_Service,\
/atg/siebel/integration/webservices/AssetManagement,\
/atg/siebel/integration/webservices/AssetManagementComplex,\
/atg/siebel/integration/webservices/SessionAccessWS,\
/atg/siebel/configurator/spu/generation/BlockGenerationService
你可以简单地从这个文件中删除你不需要的网络服务,或者用你自己的属性文件覆盖它(假设相应的网络服务之间没有依赖关系)
如果您使用的是不同版本的参考应用程序,您的文件可能看起来不同,但方法是相同的。