Getting Javascript SOAP client to work with BigFix 8.1 webreport

(imported topic written by SystemAdmin)

  1. I got BESmonitor gadget installed on my win7 and it can query our 8.1 report server with http address and account/password.

  2. Very excited so I went on to type all the following text.html according to the video in R1.

Evalute

Result:

  1. following is the directory layout

F:\Downloads\BESMonitor-1.2.1\BESMonitor\test>dir

dir

Volume in drive F is WD2TB

Volume Serial Number is 6C0E-C40C

Directory of F:\Downloads\BESMonitor-1.2.1\BESMonitor\test

05/04/2011 03:02 PM .

05/04/2011 03:02 PM …

05/29/2008 06:12 PM 3,542 RelevanceLogic.js

05/29/2008 05:13 PM 13,071 soapclient.js

05/04/2011 05:12 PM 772 test.html

05/04/2011 03:01 PM 2,253 test.html~

4 File(s) 19,638 bytes

2 Dir(s) 1,542,118,162,432 bytes free

F:\Downloads\BESMonitor-1.2.1\BESMonitor\test>

  1. I read another post on the forum saying that SOAP API changes in RelevanceService got changed to RelevanceBind . So does that mean *.js I copied from the (old, for 7.0 api)example need to be updated as well ?

R1: http://support.bigfix.com/bes/misc/soapapi/DeveloperVideo.html

(imported comment written by Lee Wei)

I created a directory with the 3 files you have RelevanceLogic.js, soapclient.js and duplicated your test.html.

It works correct for me on IE8 with BES 8.1.

I notice that the JavaScript uses an ActiveX component, which means that it will only work in IE.

What is the error you are getting?

(imported comment written by SystemAdmin)

Lee Wei

I created a directory with the 3 files you have RelevanceLogic.js, soapclient.js and duplicated your test.html.

It works correct for me on IE8 with BES 8.1.
I notice that the JavaScript uses an ActiveX component, which means that it will only work in IE.

What is the error you are getting?

The error message is not important now because I made two mistakes.

  1. I was using Chrome browser.

  2. Need to escape domain\account string passing

ie, From

“ADdomain\name”

to

“ADdomain\name”

The two javascript.js are for IE browser only.

Again, Thanks for your help Wei.

tj

(imported comment written by EGWM_世梨_伍)

I’ve tried, can not run in the JSP