问题标签 [businessworks]

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 投票
2 回答
5751 浏览

java - (TIBCO BusinessWorks) 如何从 Java 代码活动访问 Java 全局实例方法?

TIBCO ActiveMatrix BusinessWorks 调色板参考指出:

“任何 Java 代码活动都可以通过调用配置的 Java 类的静态方法来访问共享的 Java 全局实例”,但是,我无法找到任何代码示例来执行此操作,或者自己找出正确的语法。

什么不起作用:

有什么作用:

我不知道,这就是我在这里的原因:)

0 投票
3 回答
19107 浏览

web-services - 通过 https 的 Tibco SOAP 请求 - SSL 证书验证问题

我正在使用 Tibco BusinessWorks 通过 HTTPS 连接使用肥皂网络服务。

说明归结为:

  1. 使用 Web 浏览器导出证书。
  2. 使用工具-> 受信任的证书-> 将 PEM 格式导入项目中的文件夹。
  3. 在 Transport Details 选项卡的 SSL Config 中,指向您将它们导入到的受信任证书文件夹。

- 或者 -

使用 BW_GLOBAL_TRUSTED_CA_STORE 全局变量指向外部文件夹 (file:///c:/tibco/certs) 并将证书以 pem 格式放在那里。

我已经尝试了两种方法,但仍然出现以下错误:

iaik.security.ssl.SSLException: Server certificate rejected by ChainVerifier

我试过通过 Firefox 和 IE 导出它们。在包括所有键和单独的不同格式中,但错误仍然存​​在。

我需要做一些更具体的事情,还是有办法为证书验证者打开调试?我试过调高设计师的调试级别,但我不确定我做得对。

任何帮助都会很棒。

非常感谢!

0 投票
2 回答
1447 浏览

tibco - 动态获取流程路径 - TIBCO - BusinessWorks

我正在开发一个将读取并在电子邮件中发送图像的过程。此图像是此过程中的一个文件夹。

问题是:如何获得进程运行的路径?

类似 a 的东西 'Server.MapPath' 返回文件系统中的图像路径。

提前致谢。

0 投票
3 回答
4750 浏览

tibco - TIBCO - BusinessWorks - 动态获取流程路径

我正在开发一个将读取并在电子邮件中发送图像的过程。此图像是此过程中的一个文件夹。

问题是:如何获得进程运行的路径?

类似 a 的东西'Server.MapPath'返回文件系统中的图像路径。

提前致谢。

0 投票
1 回答
807 浏览

java - 是否有关于开发 tibco 自定义调色板元素的信息?

我需要为基于约定优于配置的 tibco 业务工作开发一个通用入口点。以键值方法的形式映射我们内部复杂数据模型模式的通用 wsdl。我需要开发一个接受请求并将它们映射到 AESchema 对象里面的调色板元素。我一直在寻找这种发展,但没有成功。

0 投票
8 回答
10962 浏览

unit-testing - Tibco 单元测试工具

有谁知道在开发 Tibco 流程时可以使用哪些单元测试工具?

在接下来的几个月里,我将从事一个 Tibco 项目,并试图找到任何现有的单元测试框架,这些框架可能会使使用 TDD 方法更容易构建这项工作。

到目前为止,我能找到的唯一一个叫做BWUnit。看起来不错,但它目前处于测试阶段及其商业软件。如果可能的话,我想使用一个开源工具,但只要它能够做得很好,我会很高兴。

那么有人知道用于 Tibco 开发的任何其他单元测试工具吗?

另外,有人对BWUnit有任何经验吗?它有多大用处?

0 投票
1 回答
2697 浏览

tibco - 从 TIBCO BW 进程获取 HTTP 请求

我有一个以“HTTP 接收器”活动开始的 TIBCO BW 流程。

我想(通过自定义 Java 代码活动)获取原始 HTTP 请求的大小。(目的是收集统计数据、测量响应时间、请求/响应大小等)

我想以字节而不是字符来测量数据,是否可以将请求作为字节数组、ServletInputStream 或类似的东西来获取?

0 投票
3 回答
1976 浏览

java - Tibco商业作品

我在 Tibco 商业作品设计师中收到以下错误。请协助。

0 投票
1 回答
2067 浏览

.net - 从 .NET 表单使用 TIBCO BusinessWorks Web 服务

我有一个作为 Web 服务公开的 BW 进程,并希望使用 C# .NET 表单来使用它。但是,我的应用程序一直显示异常:没有 body 元素的处理程序,以及以下堆栈跟踪(如下所示)。我在测试模式下运行了BW进程来检查进程状态,发现请求从未到达BW。我还使用soapUI 测试了相同的过程,完美地触发了Web 服务请求。有什么建议么?

我的代码如下:

服务器堆栈跟踪:在 System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc) 在 System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs , TimeSpan timeout) 在 System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs) 在 System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation ) 在 System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage 消息)

在 [0] 处重新引发异常:在 System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) 在 MyWebServiceConsumer.ServiceReference1 处的 System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)。 PortType.processOperation(processOperationRequest request) at MyWebServiceConsumer.ServiceReference1.PortTypeClient.MyWebServiceConsumer.ServiceReference1.PortType.processOperation(processOperationRequest request) in c:\users\ystan.2009\documents\visual studio 2010\Projects\MyWebServiceConsumer\MyWebServiceConsumer\Service References\ ServiceReference1\Reference.cs:位于 c:\users\ystan 中 MyWebServiceConsumer.ServiceReference1.PortTypeClient.processOperation(new_incident_report new_incident_report) 的第 327 行。2009\documents\visual studio 2010\Projects\MyWebServiceConsumer\MyWebServiceConsumer\Service References\ServiceReference1\Reference.cs:在 c:\users\ystan.2009\documents\ 中 MyWebServiceConsumer.Form1.button1_Click(Object sender, EventArgs e) 的第 333 行视觉工作室 2010\Projects\MyWebServiceConsumer\MyWebServiceConsumer\Form1.cs:line 44

0 投票
2 回答
6580 浏览

tibco - Http Request Send To BW

I have a html page with some form fields (like textbox, submit button etc) I want to call the BW process on click of the submit button, which will send the form fields value (textbox values) to the BW process definition.

BW Process definition will do some operation (like retrieve the database record) and send the result to the html page.

When I use http://localhost:9999, it will only call the BW process (Http receiver and Send HTTP Response) and the html page will populate with the string which i get from "Send HTTP Response" palette.

How can I embed that HTTP response into some text field of the response webpage along with few images and other fields already present in HTML page.