Class: Tracking::IPSTrackingSoap

Inherits:
SOAP::RPC::Driver
  • Object
show all
Defined in:
lib/g4s/tracking/defaultDriver.rb

Constant Summary collapse

DefaultEndpointUrl =
"https://ws.g4si.com/IPStracking.asmx"
Methods =
[
  [ "http://tempuri.org/GetShipmentInfoByTrackingNumber",
    "getShipmentInfoByTrackingNumber",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "http://tempuri.org/", "GetShipmentInfoByTrackingNumber"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "http://tempuri.org/", "GetShipmentInfoByTrackingNumberResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ],
  [ "http://tempuri.org/GetShipmentTrackingList",
    "getShipmentTrackingList",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "http://tempuri.org/", "GetShipmentTrackingList"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "http://tempuri.org/", "GetShipmentTrackingListResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ],
  [ "http://tempuri.org/GetShipmentStatusListForSearchRequest",
    "getShipmentStatusListForSearchRequest",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "http://tempuri.org/", "GetShipmentStatusListForSearchRequest"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "http://tempuri.org/", "GetShipmentStatusListForSearchRequestResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ],
  [ "http://tempuri.org/GetShipmentExceptionsForSearchRequest",
    "getShipmentExceptionsForSearchRequest",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "http://tempuri.org/", "GetShipmentExceptionsForSearchRequest"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "http://tempuri.org/", "GetShipmentExceptionsForSearchRequestResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ],
  [ "http://tempuri.org/GetShipmentStatus",
    "getShipmentStatus",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "http://tempuri.org/", "GetShipmentStatus"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "http://tempuri.org/", "GetShipmentStatusResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ]
]

Instance Method Summary collapse

Constructor Details

#initialize(endpoint_url = nil) ⇒ IPSTrackingSoap

Returns a new instance of IPSTrackingSoap.



54
55
56
57
58
59
60
# File 'lib/g4s/tracking/defaultDriver.rb', line 54

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