1 Reply Latest reply on Dec 4, 2009 4:49 PM by Simeon Pinder

    jopr webservice - how to use findDataForResource

    Gabor Veres Newbie


      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">

      The resourceId and the definitionIds is okay, and I've tried lots of combinations for the begin- and endTime (epoch in secs, epoch in millisecs, GMT, local timezone in both, etc.), but I simply don't get any results. The response is always the same:
      <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
       <ns2:findDataForResourceResponse xmlns:ns2="http://www.rhq-project.org/2.3/2009/9/Webservices.xsd">

      Am I missing something here?

      Thanks in advance,