Class: FedexWebServices::Soap::Ship::ShipPortType

Inherits:
SOAP::RPC::Driver
  • Object
show all
Defined in:
lib/fedex_web_services/soap/ShipServiceDefinitionsDriver.rb

Constant Summary collapse

DefaultEndpointUrl =
"https://wsbeta.fedex.com:443/web-services/ship"
Methods =
[
  [ "http://fedex.com/ws/ship/v12/createPendingShipment",
    "createPendingShipment",
    [ [:in, "CreatePendingShipmentRequest", ["::SOAP::SOAPElement", "http://fedex.com/ws/ship/v12", "CreatePendingShipmentRequest"]],
      [:out, "CreatePendingShipmentReply", ["::SOAP::SOAPElement", "http://fedex.com/ws/ship/v12", "CreatePendingShipmentReply"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ],
  [ "http://fedex.com/ws/ship/v12/processTag",
    "processTag",
    [ [:in, "ProcessTagRequest", ["::SOAP::SOAPElement", "http://fedex.com/ws/ship/v12", "ProcessTagRequest"]],
      [:out, "ProcessTagReply", ["::SOAP::SOAPElement", "http://fedex.com/ws/ship/v12", "ProcessTagReply"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ],
  [ "http://fedex.com/ws/ship/v12/processShipment",
    "processShipment",
    [ [:in, "ProcessShipmentRequest", ["::SOAP::SOAPElement", "http://fedex.com/ws/ship/v12", "ProcessShipmentRequest"]],
      [:out, "ProcessShipmentReply", ["::SOAP::SOAPElement", "http://fedex.com/ws/ship/v12", "ProcessShipmentReply"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ],
  [ "http://fedex.com/ws/ship/v12/cancelPendingShipment",
    "cancelPendingShipment",
    [ [:in, "CancelPendingShipmentRequest", ["::SOAP::SOAPElement", "http://fedex.com/ws/ship/v12", "CancelPendingShipmentRequest"]],
      [:out, "CancelPendingShipmentReply", ["::SOAP::SOAPElement", "http://fedex.com/ws/ship/v12", "CancelPendingShipmentReply"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ],
  [ "http://fedex.com/ws/ship/v12/deleteTag",
    "deleteTag",
    [ [:in, "DeleteTagRequest", ["::SOAP::SOAPElement", "http://fedex.com/ws/ship/v12", "DeleteTagRequest"]],
      [:out, "ShipmentReply", ["::SOAP::SOAPElement", "http://fedex.com/ws/ship/v12", "ShipmentReply"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ],
  [ "http://fedex.com/ws/ship/v12/deleteShipment",
    "deleteShipment",
    [ [:in, "DeleteShipmentRequest", ["::SOAP::SOAPElement", "http://fedex.com/ws/ship/v12", "DeleteShipmentRequest"]],
      [:out, "ShipmentReply", ["::SOAP::SOAPElement", "http://fedex.com/ws/ship/v12", "ShipmentReply"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ],
  [ "http://fedex.com/ws/ship/v12/validateShipment",
    "validateShipment",
    [ [:in, "ValidateShipmentRequest", ["::SOAP::SOAPElement", "http://fedex.com/ws/ship/v12", "ValidateShipmentRequest"]],
      [:out, "ShipmentReply", ["::SOAP::SOAPElement", "http://fedex.com/ws/ship/v12", "ShipmentReply"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ]
]

Instance Method Summary collapse

Constructor Details

#initialize(endpoint_url = nil) ⇒ ShipPortType

Returns a new instance of ShipPortType.



71
72
73
74
75
76
77
# File 'lib/fedex_web_services/soap/ShipServiceDefinitionsDriver.rb', line 71

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