Class: ChannelAdvisor::ShippingServiceSOAP::ShippingServiceSoap

Inherits:
SOAP::RPC::Driver
  • Object
show all
Defined in:
lib/channel_advisor/shipping_service/client.rb

Constant Summary collapse

DefaultEndpointUrl =
"https://api.channeladvisor.com/ChannelAdvisorAPI/v4/ShippingService.asmx"
Methods =
[
  [ "http://api.channeladvisor.com/webservices/GetShippingRateList",
    "getShippingRateList",
    [ [:in, "parameters", ["::SOAP::SOAPElement", "http://api.channeladvisor.com/webservices/", "GetShippingRateList"]],
      [:out, "parameters", ["::SOAP::SOAPElement", "http://api.channeladvisor.com/webservices/", "GetShippingRateListResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ],
  [ "http://api.channeladvisor.com/webservices/GetShippingCarrierList",
    "getShippingCarrierList",
    [ [:in, "parameters", ["::SOAP::SOAPElement", "http://api.channeladvisor.com/webservices/", "GetShippingCarrierList"]],
      [:out, "parameters", ["::SOAP::SOAPElement", "http://api.channeladvisor.com/webservices/", "GetShippingCarrierListResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ],
  [ "http://api.channeladvisor.com/webservices/OrderShipped",
    "orderShipped",
    [ [:in, "parameters", ["::SOAP::SOAPElement", "http://api.channeladvisor.com/webservices/", "OrderShipped"]],
      [:out, "parameters", ["::SOAP::SOAPElement", "http://api.channeladvisor.com/webservices/", "OrderShippedResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ],
  [ "http://api.channeladvisor.com/webservices/SubmitOrderShipmentList",
    "submitOrderShipmentList",
    [ [:in, "parameters", ["::SOAP::SOAPElement", "http://api.channeladvisor.com/webservices/", "SubmitOrderShipmentList"]],
      [:out, "parameters", ["::SOAP::SOAPElement", "http://api.channeladvisor.com/webservices/", "SubmitOrderShipmentListResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ],
  [ "http://api.channeladvisor.com/webservices/Ping",
    "ping",
    [ [:in, "parameters", ["::SOAP::SOAPElement", "http://api.channeladvisor.com/webservices/", "Ping"]],
      [:out, "parameters", ["::SOAP::SOAPElement", "http://api.channeladvisor.com/webservices/", "PingResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ]
]

Instance Method Summary collapse

Constructor Details

#initialize(endpoint_url = nil) ⇒ ShippingServiceSoap

Returns a new instance of ShippingServiceSoap


54
55
56
57
58
59
60
# File 'lib/channel_advisor/shipping_service/client.rb', line 54

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