Sample ReportingService (executeDataObject) web service call
search cancel

Sample ReportingService (executeDataObject) web service call

book

Article ID: 274524

calendar_today

Updated On:

Products

CA Service Catalog

Issue/Introduction

how to utilize Catalog Web Service ReportingService (executeDataObject)

Environment

Release : 17.3 and higher

CA Service Catalog

Resolution

Please see the following xml payload that illustrates the usage of this method.  This sample will return a report consisting of the catalog contacts list.  Highlighted sections are user and session specific variables.

<soapenv:Envelope xmlns:xsi="http://EXAMPLE.COM/2001/XMLSchema-instance" xmlns:xsd="http://EXAMPLE.COM/2001/XMLSchema" xmlns:soapenv="http://EXAMPLE.COM/soap/envelope/" xmlns:ser="http://EXAMPLE.COM" xmlns:soapenc="http://EXAMPLE.COM/soap/encoding/">
   <soapenv:Header/>
   <soapenv:Body>
    <ser:executeDataObject soapenv:encodingStyle="http://EXAMPLE.COM/soap/encoding/">
         <sessionID xsi:type="soapenc:string">6be92158-83d3-415c-bf54-3f64d21c4f46</sessionID>
         <reportDataObjId xsi:type="xsd:string">catalog__content_contacts_list</reportDataObjId>
         <variables xsi:type="xsd:string">userid=spadmin</variables>
      </ser:executeDataObject>
   </soapenv:Body>
</soapenv:Envelope>