Class: SessionHeader
- Inherits:
-
Object
- Object
- SessionHeader
- Defined in:
- lib/stub/default.rb
Overview
urn:wsurn:ws.rsysurn:ws.rsys.comSessionHeader
sessionId - SOAP::SOAPString
Instance Attribute Summary collapse
-
#sessionId ⇒ Object
Returns the value of attribute sessionId.
Instance Method Summary collapse
-
#initialize(sessionId = nil) ⇒ SessionHeader
constructor
A new instance of SessionHeader.
-
#on_outbound_headeritem(test) ⇒ Object
CLS - Added this hackery.
Constructor Details
#initialize(sessionId = nil) ⇒ SessionHeader
Returns a new instance of SessionHeader.
1112 1113 1114 |
# File 'lib/stub/default.rb', line 1112 def initialize(sessionId = nil) @sessionId = sessionId end |
Instance Attribute Details
#sessionId ⇒ Object
Returns the value of attribute sessionId.
1110 1111 1112 |
# File 'lib/stub/default.rb', line 1110 def sessionId @sessionId end |
Instance Method Details
#on_outbound_headeritem(test) ⇒ Object
CLS - Added this hackery
1117 1118 1119 1120 1121 |
# File 'lib/stub/default.rb', line 1117 def on_outbound_headeritem(test) sobj = SOAP::SOAPElement.new(XSD::QName.new("ns1", 'SessionHeader')) sobj.add(SOAP::SOAPElement.new(XSD::QName.new("ns1", "sessionId"), @sessionId)) ::SOAP::SOAPHeaderItem.new(sobj, false) end |