Uploaded image for project: 'AdMax'
  1. AdMax
  2. ADMAX-2867

DataAvailabilityService: dataAvailabilityService_FindDataSourcesRequest gives the response- "operation failed"

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: BM Maven 1.01
    • Fix Version/s: BM Maven 1.01
    • Component/s: None
    • Labels:
      None
    • Environment:

      Tested with trunk Maven build on staging-jboss5 -

      /usr/local/tsa/services/Services_-_Trunk_Maven_Build/930/svc-data-availability-v2.0-p930-r30529.ear

      Description

      testing data availability service from SOAPUI,but the response of requests shows "operation failed".

      dataAvailabilityService_FindDataAvailabilityRequest

      Request:

      <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:dat="http://dataavailability.service.thesearchagency.com/">

      <soapenv:Header/>

      <soapenv:Body>

      <dat:dataAvailabilityService_FindDataAvailabilityRequest>

      <!-Optional:->

      <userID>63</userID>

      <!-Optional:->

      <dataAvailabilitySpecifier>

      <!-1 or more repetitions:->

      <dat:accountID>63</dat:accountID>

      <!-Zero or more repetitions:->

      <dat:dataSourceType>pixels</dat:dataSourceType>

      <!-Optional:->

      <dataSourceID>63</dataSourceID>

      <date>2011-10-18</date>

      </dataAvailabilitySpecifier>

      </dat:dataAvailabilityService_FindDataAvailabilityRequest>

      </soapenv:Body>

      </soapenv:Envelope>

      Response:

      <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

      <soap:Body>

      <soap:Fault>

      <faultcode>soap:Server</faultcode>

      <faultstring>findDataSources</faultstring>

      <detail>

      <ns2:DataAvailabilityFault xmlns:ns2="http://dataavailability.service.thesearchagency.com/">

      <message>Operation failed</message>

      </ns2:DataAvailabilityFault>

      </detail>

      </soap:Fault>

      </soap:Body>

      </soap:Envelope>

      =======================================================================================================

      dataAvailabilityService_FindDataSourcesRequest

      Request:

      <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:dat="http://dataavailability.service.thesearchagency.com/">

      <soapenv:Header/>

      <soapenv:Body>

      <dat:dataAvailabilityService_FindDataSourcesRequest>

      <!-Optional:->

      <userID>63</userID>

      <!-Optional:->

      <dataSourceSpecifier>

      <type>pixels</type>

      <!-Zero or more repetitions:->

      <dat:typeID>80</dat:typeID>

      <accountID>63</accountID>

      </dataSourceSpecifier>

      </dat:dataAvailabilityService_FindDataSourcesRequest>

      </soapenv:Body>

      </soapenv:Envelope>

      Response:

      <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

      <soap:Body>

      <soap:Fault>

      <faultcode>soap:Server</faultcode>

      <faultstring>findDataSources</faultstring>

      <detail>

      <ns2:DataAvailabilityFault xmlns:ns2="http://dataavailability.service.thesearchagency.com/">

      <message>Operation failed</message>

      </ns2:DataAvailabilityFault>

      </detail>

      </soap:Fault>

      </soap:Body>

      </soap:Envelope>

      Output from jboss 5 log:

      FindDataSourcesRequest:

      Caused by: com.thesearchagency.service.dataavailability.DataAvailabilityServiceException: findDataSources

      at com.thesearchagency.service.dataavailability.impl.DataAvailabilityService.findDataSources(DataAvailabilityService.java:79)

      ... 43 more

      Caused by: com.thesearchagency.service.dataavailability.DataAvailabilityServiceException: Could not find the data sources for request [Type=null, TypeIDs=null, AccountID=63]

      at com.thesearchagency.service.dataavailability.impl.DataAvailabilityServiceEJB.findDataSources(DataAvailabilityServiceEJB.java:126)

      ....

      at $Proxy710.findDataSources(Unknown Source)

      at com.thesearchagency.service.dataavailability.impl.DataAvailabilityService.findDataSources(DataAvailabilityService.java:73)

      ... 43 more

      2011-10-19 12:09:54,992 INFO [org.apache.cxf.phase.PhaseInterceptorChain] (http-0.0.0.0-8080-7) Application has thrown exception, unwinding now: com.thesearchagency.service.dataavailability.DataAvailabilityServiceException: findDataSources

      FindDataAvailabilityRequest:

      Caused by: com.thesearchagency.service.dataavailability.DataAvailabilityServiceException: findDataAvailability

      at com.thesearchagency.service.dataavailability.impl.DataAvailabilityService.findDataAvailability(DataAvailabilityService.java:154)

      ... 43 more

      Caused by: com.thesearchagency.service.dataavailability.DataAvailabilityServiceException: Could not find the data availability for request [AccountIDSet=[63], DataSourceTypeSet=[null], DataSourceID=63, Date=2011-10-18]

      at com.thesearchagency.service.dataavailability.impl.DataAvailabilityServiceEJB.findDataAvailability(DataAvailabilityServiceEJB.java:251)

      ....

      at $Proxy710.findDataAvailability(Unknown Source)

      at com.thesearchagency.service.dataavailability.impl.DataAvailabilityService.findDataAvailability(DataAvailabilityService.java:148)

      ... 43 more

      2011-10-19 11:17:52,288 INFO [org.apache.cxf.phase.PhaseInterceptorChain] (http-0.0.0.0-8080-7) Application has thrown exception, unwinding now: com.thesearchagency.service.dataavailability.DataAvailabilityServiceException: findDataAvailability

      FindDataSourcesRequest - type is going in as null; FindDataAvailabilityRequest - DataSourceTypeSet is going in as null

        Attachments

          Activity

            People

            • Assignee:
              gavin.nicol Gavin Nicol (Inactive)
              Reporter:
              atul.sanagar Atul Sanagar (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: