Hi,
I'm trying to implement a custom Flex-based dashboard for JOPR. The most trivial interfacing option would be to use the JOPR web service interface, but I just can't figure out the usage of findDataForResource (I guess this would be the method to retrieve measurement data).
The SOAP request I'm trying to feed to JOPR is like the followig:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:web="http://www.rhq-project.org/2.3/2009/9/Webservices.xsd"> <soapenv:Header/> <soapenv:Body> <web:findDataForResource> <subject> <factive>true</factive> <id>2</id> <name>rhqadmin</name> <sessionId>-1429605750</sessionId> </subject> <resourceId>10651</resourceId> <definitionIds>501114</definitionIds> <beginTime>1259851846000</beginTime> <endTime>1259851866000</endTime> <numPoints>60</numPoints> </web:findDataForResource> </soapenv:Body> </soapenv:Envelope>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"> <env:Header/> <env:Body> <ns2:findDataForResourceResponse xmlns:ns2="http://www.rhq-project.org/2.3/2009/9/Webservices.xsd"> <return/> </ns2:findDataForResourceResponse> </env:Body> </env:Envelope>
I've looked into this a bit and it looks like a bug. I'll open a bug report to track it.