How to use FraudDetection sample (HTML request) from a different client than where TIBCO BusinessEvents (BE) is installed?

How to use FraudDetection sample (HTML request) from a different client than where TIBCO BusinessEvents (BE) is installed?

book

Article ID: KB0094313

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
===========
How to use FraudDetection sample (html request) from different client than where BE is installed?

Environment:
===========
BusinessEvents 4.0.1
All Operating Systems

Symptoms:
=========
Test HTML project does not work from a client by default.

Cause:
======

References in HTML js script and channel are based to localhost.

Resolution:
========
1.) In the project change  HTTP channel --> use host IP instead of localhost  (rebuild ear file).

2.) Copy BE-example folder to client.

3.) Change in readme.html .
SendEventForm.setServer("http://&lthost-IP>:8104");

4.) Change in &ltbe-home>\examples\_resources\examples.js
SendEventForm.setServer("http://&lthost-IP>:80");

Issue/Introduction

How to use FraudDetection sample (HTML request) from a different client than where TIBCO BusinessEvents (BE) is installed?