问题标签 [wcs]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
4 回答
4137 浏览

websphere-commerce - REST WCToken 和 WCTrusted 令牌

有没有办法通过使用 cookie 在 websphere 商务中重新创建 WCToken 和 WCTrustedToken ?

考虑搜索和浏览使用 websphere 商务的场景,并在利用 websphere 商务的 REST api 的不同技术中结帐。

0 投票
2 回答
127 浏览

c - 从 C 语言中的宽字符数组中打印元素

我有以下宽字符数组:

每次我尝试运行以下代码时,都会出现“分段冲突”错误

我该如何纠正这个错误?

0 投票
1 回答
183 浏览

sql - 一起更新用于获取内容的 2 个表

我有两个更新查询,都使用相同的条件来获取数据。一旦一个查询运行,该条件将不会返回任何记录。第一个查询

第二个查询

问题是我需要更新 catentry 和 catentdesc ,但是如果一个更新另一个我无法更新,因为条件查询不会返回任何结果。

通过存储结果和更新表,可以使用过程。但我正在寻找一种更简单的方法,任何人都可以帮助我。

有没有办法在 DB2 中一次更新两个表?

0 投票
2 回答
479 浏览

sap - SAP to WCS catalog data import

I have a requirement for doing a catalog data import from SAP to websphere commerce database. I am trying to figure out the best possible solutions that can be implemented and need your suggestions. 1. I did research that the data can be loaded through .csv files in the WCS. Is that a good way to ask SAP team to provide the feed in the csv format and upload that directly to the commerce database. 2. Or I should have a middleware in between SAP and WCS for the data processing which can actually get the data from SAP and convert it into the WCS format and then dataload can be done in WCS. 3. Is there any other approach which can be done.

0 投票
2 回答
120 浏览

solr - SolR query with combinaison / Fields relations

I'm using SolR 3.5.

My datas are like this:

(data's structure can be modified if necessary, but need to stay grouped in 1 document node).

It means that I have 1 product with price = 10 and Size = sizeA, an other with price = 15, ...

I want to be able to return my document if I query for a price >=15 AND a Size = sizeA. But if a look for a Price >= 30 AND a Size = sizeB, I dont want to find it.

Is there any way to do that?

EDIT : For a better understanding, let me explain the relation between all theses values. The is my product. Each in the multivalue field "myField" are the informations about an Item. Price_Size So each lines are "linked" and must stay related.

But if there is a way to keep that relation with an other structure, please go ahead and propose.

Thanks Reading, Dekx

0 投票
1 回答
606 浏览

ajax - 对 wcs/fatwire 模板进行 ajax 调用

我想从 page1 对 Oracle wcs 模板 (page2.jsp) 进行 ajax 调用

这里的问题是我需要在调用后动态传递url值

但这不是在执行 ajax 脚本后加载 page2Url 模板。

这是我的脚本和jsp。但是没有填充url并且它没有加载page2(但是如果我直接对url进行硬编码,它会在当前页面中加载page2.jsp)

0 投票
1 回答
105 浏览

php - WCS 和 REST 可以用 PHP 编写和使用吗

我是 php 新手,我必须使用 .NET 编写的 API,并使用 REST 和 WCS 作为服务提供者。
带有 SAML2 的 SSO 也必须在那里。
坦率地说,我不知道什么是 REST 和 WCS。
虽然我看到 php 支持 SAML2。
如果 PHP 支持 REST 和 WCS,有人可以帮忙吗?
我在谷歌上搜索以了解它的基本功能,但找不到如何在 php 中执行此操作。
请帮忙

0 投票
1 回答
1075 浏览

c++ - 从 ProPhoto RGB 到显示器配置文件的颜色转换

我一直在为这个问题苦苦挣扎很多天,找不到任何解释!

背景:

我正在使用 VC9+MFC 在 Windows 上创建一个色彩管理的照片编辑应用程序,并使用WCS(Windows 颜色系统)API 将像素从照片嵌入的颜色配置文件转换为显示器的配置文件。

我的显示器已使用“Windows 显示校准”进行校准,并创建了一个名为“CalibratedDisplayProfile-x.icc”的配置文件。

问题:

当我将像素从“ProPhoto RGB”转换为显示器的配置文件时,黑暗区域的颜色发生变化,色调变为绿色。如果目标配置文件是 sRGB,则在中间调/高光中不会发生这种情况。这是屏幕截图。

正确和错误图像

测试:

为了简化问题,我写了一些测试代码来翻译一个单一的颜色,但测试结果真的让我很困惑。源颜色 "c0" 是RGB(0,0,65535),但输出颜色 "c1" 是RGB(0,0,0)!!并且功能“CheckColor”失败并出现错误“Invalid Arguments”......

这怎么可能发生?难道我做错了什么?

您可以在此处下载这两个配置文件:颜色配置文件

非常感谢!

0 投票
1 回答
896 浏览

sorting - 按属性值序列排序

我们有一个特定的要求,即按照特定的属性值序列对产品进行分类。任何指针或信息来源都会对我们有所帮助。

场景示例;

假设对于搜索结果,我想根据属性产品类型对结果进行排序。其中 producttype 具有以下值:

A B C D

所以在 Solr 查询中,我可以给出 producttype asc、producttype desc 中的任何一个。

但我想以一种特定的方式得到结果,首先给我值'C'的所有结果,然后是B,A,D。

我们将 Solr 与 IBM wcs7 一起使用。

0 投票
1 回答
1004 浏览

fits - 使用正确的 wcs 转换使用 aplpy 绘制适合图像

我想用 aplpy 绘制一个 fit 文件,但出现以下错误:

如果我删除标题关键字 CTYPE3、CD3_3、WAT3_001,则不再出现错误,但在绘制 fit 文件时,我发现 WCS 转换没有正确地使用 RA 和 DEC 坐标在整个地方完成。

这是标题: