Class: AdCenterWrapper::IReportingService

Inherits:
SOAP::RPC::Driver
  • Object
show all
Defined in:
lib/ReportingServiceDriver.rb

Constant Summary collapse

DefaultEndpointUrl =
"https://adcenterapi.microsoft.com/Api/Advertiser/V8/Reporting/ReportingService.svc"
Methods =
[
  [ "SubmitGenerateReport",
    "submitGenerateReport",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/v8", "SubmitGenerateReportRequest"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/v8", "SubmitGenerateReportResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {"AdCenterWrapper::AdApiFaultDetailFault"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adcenter.microsoft.com/v8", :namespace=>nil, :name=>"AdApiFaultDetailFault"}, "AdCenterWrapper::ApiFaultDetailFault"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adcenter.microsoft.com/v8", :namespace=>nil, :name=>"ApiFaultDetailFault"}} }
  ],
  [ "PollGenerateReport",
    "pollGenerateReport",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/v8", "PollGenerateReportRequest"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/v8", "PollGenerateReportResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {"AdCenterWrapper::AdApiFaultDetailFault"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adcenter.microsoft.com/v8", :namespace=>nil, :name=>"AdApiFaultDetailFault"}, "AdCenterWrapper::ApiFaultDetailFault"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adcenter.microsoft.com/v8", :namespace=>nil, :name=>"ApiFaultDetailFault"}} }
  ]
]

Instance Method Summary collapse

Constructor Details

#initialize(endpoint_url = nil) ⇒ IReportingService

Returns a new instance of IReportingService.



29
30
31
32
33
34
35
# File 'lib/ReportingServiceDriver.rb', line 29

def initialize(endpoint_url = nil)
  endpoint_url ||= DefaultEndpointUrl
  super(endpoint_url, nil)
  self.mapping_registry = ReportingServiceMappingRegistry::EncodedRegistry
  self.literal_mapping_registry = ReportingServiceMappingRegistry::LiteralRegistry
  init_methods
end