(imported topic written by SystemAdmin)
Hello there,
I’m currently having a problem when trying to retrieve
results
from
bes fixlets
via the Web Reports SOAP interface. I simply get no response back and the SOAP client returns a read timeout.
Here is a working request:
Relevance:
number of bes fixlets whose ( (name of site of it =
"Enterprise Security" OR name of site of it =
"Updates for Windows Applications" OR name of site of it =
"Vulnerabilities to Windows Systems"))
SOAP request:
POST /soap HTTP/1.1 Content-Type: text/xml; charset=UTF-8 SOAPAction:
"http://schemas.bigfix.com/Relevance/soapaction" User-Agent: Axis2 Host: tem:9090 Content-Length: 600 <?xml version=
'1.0' encoding=
'UTF-8'?><soapenv:Envelope xmlns:soapenv=
"http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><ns1:GetRelevanceResult xmlns:ns1=
"http://schemas.bigfix.com/Relevance"><ns1:relevanceExpr>number of bes fixlets
whose (
(name of site of it =
“Enterprise Security” OR
name of site of it =
“Updates for Windows Applications” OR
name of site of it =
“Vulnerabilities to Windows Systems”))</ns1:relevanceExpr>ns1:usernamewebadmin</ns1:username>ns1:password********</ns1:password></ns1:GetRelevanceResult></soapenv:Body></soapenv:Envelope>
and Response:
HTTP/1.1 200 OK Content-type: text/xml <?xml version=
"1.0" encoding=
"UTF-8"?> <soapenv:Envelope xmlns:soapenv=
"http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <GetRelevanceResultResponse xmlns=
"http://schemas.bigfix.com/Relevance"> <a>10154</a> </GetRelevanceResultResponse> </soapenv:Body> </soapenv:Envelope>
Here is a failing request:
Relevance:
number of results of bes fixlets whose ( (name of site of it =
"Enterprise Security" OR name of site of it =
"Updates for Windows Applications" OR name of site of it =
"Vulnerabilities to Windows Systems"))
SOAP request:
POST /soap HTTP/1.1 Content-Type: text/xml; charset=UTF-8 SOAPAction:
"http://schemas.bigfix.com/Relevance/soapaction" User-Agent: Axis2 Host: tem:9090 Content-Length: 611 <?xml version=
'1.0' encoding=
'UTF-8'?><soapenv:Envelope xmlns:soapenv=
"http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><ns1:GetRelevanceResult xmlns:ns1=
"http://schemas.bigfix.com/Relevance"><ns1:relevanceExpr>number of results of bes fixlets
whose (
(name of site of it =
“Enterprise Security” OR
name of site of it =
“Updates for Windows Applications” OR
name of site of it =
“Vulnerabilities to Windows Systems”))</ns1:relevanceExpr>ns1:usernamewebadmin</ns1:username>ns1:password********</ns1:password></ns1:GetRelevanceResult></soapenv:Body></soapenv:Envelope>
I never see any response.
A debug trace of Web Reports shows entry to the Relevance Evaluation function… but it never returns.
Wed, 18 Jan 2012 15:48:52 +0000 -- / (3988) -- User webadmin authenticated successfully Wed, 18 Jan 2012 15:48:52 +0000 -- / (3988) -- Entering WebReportsRelevanceEvaluator::Evaluate( number of results of bes fixlets whose ( (name of site of it =
"Enterprise Security" OR name of site of it =
"Updates for Windows Applications" OR name of site of it =
"Vulnerabilities to Windows Systems")) ) <nothing more>
If I run the failing relevance query via the Presentation Editor it returns 0 - but I assume this is because it is running in Console context and not Web Reports context.
What could be the problem here? I wonder if the evaluation is timing out, or running out of memory, but I don’t see any errors like that in the Web Reports debug log (set to “all” messages). Maybe I’m looking in the wrong place?
I’m running TEM 8.2 (Server is 8.2.1093.0).
Thanks in advance.
Jon.