lib/zuora/ZUORADriver.rb in active_zuora-1.3.0 vs lib/zuora/ZUORADriver.rb in active_zuora-1.4.0

- old
+ new

@@ -20,10 +20,18 @@ { :request_style => :document, :request_use => :literal, :response_style => :document, :response_use => :literal, :faults => {"ZUORA::UnexpectedErrorFault_"=>{:name=>"UnexpectedErrorFault", :encodingstyle=>"document", :ns=>"http://api.zuora.com/", :use=>"literal", :namespace=>nil}} } ], [ "", + "amend", + [ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.zuora.com/", "amend"]], + ["out", "parameters", ["::SOAP::SOAPElement", "http://api.zuora.com/", "amendResponse"]] ], + { :request_style => :document, :request_use => :literal, + :response_style => :document, :response_use => :literal, + :faults => {"ZUORA::UnexpectedErrorFault_"=>{:name=>"UnexpectedErrorFault", :encodingstyle=>"document", :ns=>"http://api.zuora.com/", :use=>"literal", :namespace=>nil}} } + ], + [ "", "subscribeWithExistingAccount", [ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.zuora.com/", "subscribeWithExistingAccount"]], ["out", "parameters", ["::SOAP::SOAPElement", "http://api.zuora.com/", "subscribeResponse"]] ], { :request_style => :document, :request_use => :literal, :response_style => :document, :response_use => :literal, @@ -60,10 +68,18 @@ { :request_style => :document, :request_use => :literal, :response_style => :document, :response_use => :literal, :faults => {"ZUORA::InvalidQueryLocatorFault_"=>{:name=>"InvalidQueryLocatorFault", :encodingstyle=>"document", :ns=>"http://api.zuora.com/", :use=>"literal", :namespace=>nil}, "ZUORA::MalformedQueryFault_"=>{:name=>"MalformedQueryFault", :encodingstyle=>"document", :ns=>"http://api.zuora.com/", :use=>"literal", :namespace=>nil}, "ZUORA::UnexpectedErrorFault_"=>{:name=>"UnexpectedErrorFault", :encodingstyle=>"document", :ns=>"http://api.zuora.com/", :use=>"literal", :namespace=>nil}} } ], [ "", + "queryMore", + [ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.zuora.com/", "queryMore"]], + ["out", "parameters", ["::SOAP::SOAPElement", "http://api.zuora.com/", "queryMoreResponse"]] ], + { :request_style => :document, :request_use => :literal, + :response_style => :document, :response_use => :literal, + :faults => {"ZUORA::InvalidQueryLocatorFault_"=>{:name=>"InvalidQueryLocatorFault", :encodingstyle=>"document", :ns=>"http://api.zuora.com/", :use=>"literal", :namespace=>nil}, "ZUORA::MalformedQueryFault_"=>{:name=>"MalformedQueryFault", :encodingstyle=>"document", :ns=>"http://api.zuora.com/", :use=>"literal", :namespace=>nil}, "ZUORA::UnexpectedErrorFault_"=>{:name=>"UnexpectedErrorFault", :encodingstyle=>"document", :ns=>"http://api.zuora.com/", :use=>"literal", :namespace=>nil}} } + ], + [ "", "delete", [ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.zuora.com/", "delete"]], ["out", "parameters", ["::SOAP::SOAPElement", "http://api.zuora.com/", "deleteResponse"]] ], { :request_style => :document, :request_use => :literal, :response_style => :document, :response_use => :literal, @@ -76,9 +92,10 @@ super(endpoint_url, nil) streamhandler.client.connect_timeout = 360 streamhandler.client.receive_timeout = 360 self.mapping_registry = DefaultMappingRegistry::EncodedRegistry self.literal_mapping_registry = DefaultMappingRegistry::LiteralRegistry + self.wiredump_dev = STDERR if $DEBUG || ENV['DEBUG'] end def do_init(custom_fields)