问题标签 [aramex]

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 投票
1 回答
2552 浏览

javascript - 如何使用多个值填充选择框?

我正在设置一个 jqGrid,它需要在一个单元格中可视化多个值。输入来自用户可以选择多个选项的表单。我能够显示选择框,但不能填充它。我试图在 JSON 对象中插入一个数组,但没有成功。

这是模型:

以下是我尝试填充的数据的一些变体:

...以及许多其他变体。

我也搜索了 jqGrid 论坛,但没有找到解决方案。我该如何解决这个问题?

0 投票
1 回答
2003 浏览

combobox - 如何在下拉时水平扩展 jqGrid 中的组合框以显示所有内容?

如何水平扩展组合框下拉显示?

我的实际数据是:ARAMEX1234

但下拉显示只显示:ARAMEX123

我需要支持以下浏览器:IE 6、7、8。

我使用 Firefox 对其进行了测试,它开箱即用。但是,我的应用程序将在 IE 上运行,而永远不会在 FF 上运行。

这是代码(jsp文件内容):

0 投票
1 回答
16566 浏览

select - 是否可以更改 jqGrid 的 edittype:"select" 的 editoptions 值?

我正在使用 jqGrid 3.8.1。我想根据另一个组合框的选定值更改组合框的下拉值。这就是为什么我正在寻找如何更改editoptions:value.edittype:"select"

这是示例 jqGrid 代码:

设想:

  1. 所有ship将显示为初始加载。
  2. 如果库存栏更改为Yesship将仅显示FedExTNT
  3. 如果库存栏更改为No,ship将仅显示InTime, ARAMEX, ARAMEX123456789

如何更改选项?

0 投票
1 回答
2665 浏览

java - JAX-WS error when deserializing body of request message for operation

I'm creating a web service by using the Aramex API to calculate the shipping rate for a product, based on this tutorial. The following is my test class:

When I run my main method, it gives me the following exception (when calling the calculateRate method):

What is the reason for this error and how can I fix it?

0 投票
1 回答
544 浏览

java - 解析 Aramex WSDL 文件时出错

当我尝试解析Aramex 运输服务 WSDL(创建货件所需的)时,出现命名空间错误,并显示以下错误日志:

我怎样才能摆脱错误?

0 投票
1 回答
2277 浏览

python - 使用 Suds 的端口类型异常

我正在尝试使用以下代码使用 Python Suds 连接到 Aramex 运送 SOAP API:

但开始后,我得到以下异常:

可以在此处找到 WSDL 文件源。

0 投票
1 回答
556 浏览

php - 在 BigCommerce 上应用外部运费

目前 BigCommerce 有像 FedEx 这样的公司来计算产品的运费,我们的客户要求我们使用默认情况下不在 BigCommerce 上的外部运输服务:Aramex。

Aramex 有自己的 API,我需要从 BigCommerce 获取客户详细信息和产品详细信息,以便我可以将它们发送到 Aramex API 进行费率计算。然后我需要显示这个费率,当显示最终金额时,它是整个价格的一部分。

做这个的最好方式是什么?我应该使用自定义结帐吗?一般来说,当客户结账时,如何获取这些数据?

0 投票
1 回答
761 浏览

wordpress - How can I show messages in WooCommerce custom shipping plugin?

I am building an Aramex Shipping Plugin for WooCommerce Shopping Cart. I can set the calculated amount by using the add_rate method, but if there is any Error Response from the API, I am not able to show this message in the WooCommerce checkout.

Is there any way to show string messages in the WooCommerce checkout?

0 投票
1 回答
1523 浏览

php - Aramex 汇率计算器 APT 返回错误代码“ISE01”

Aramex 汇率计算器 API 返回错误代码ISE01和以下错误消息:

请求时获取计算速率时发生内部服务器错误

这个错误的原因是什么?

以下是 Aramex 汇率计算器 API 的示例代码:

0 投票
0 回答
2434 浏览

java - 从 WSDL 生成 Java 时出错:java.io.IOException: Emitter failure

我正在尝试集成Aramex Shipments Tracking API。我下载了 WSDL 文件并通过 Web 服务 → Web 服务客户端 → 为 WSDL 文件提供服务定义 → 单击下一步并完成。但后来我收到以下错误:

我怎么解决这个问题?