Module: Viewpoint::SPWS::Websvc::WebServiceBase
- Includes:
- Viewpoint::SPWS
- Defined in:
- lib/viewpoint/spws/websvc/web_service_base.rb
Constant Summary collapse
- NAMESPACES =
{ 'xmlns:soap' => 'http://www.w3.org/2003/05/soap-envelope', 'xmlns:xsi' => 'http://www.w3.org/2001/XMLSchema-instance', 'xmlns:xsd' => 'http://www.w3.org/2001/XMLSchema', }.freeze
Constants included from Viewpoint::SPWS
Instance Attribute Summary collapse
-
#spcon ⇒ Object
readonly
Returns the value of attribute spcon.
Attributes included from Viewpoint::SPWS
Instance Method Summary collapse
Methods included from Viewpoint::SPWS
Instance Attribute Details
#spcon ⇒ Object (readonly)
Returns the value of attribute spcon.
30 31 32 |
# File 'lib/viewpoint/spws/websvc/web_service_base.rb', line 30 def spcon @spcon end |
Instance Method Details
#initialize(spcon) ⇒ Object
33 34 35 36 37 |
# File 'lib/viewpoint/spws/websvc/web_service_base.rb', line 33 def initialize(spcon) @log = Logging.logger[self.class.name.to_s.to_sym] @spcon = spcon raise "Auth failure" unless(@spcon.authenticate(@ws_endpoint)) end |