Class | SOAP::Header::Handler |
In: |
soap/header/handler.rb
|
Parent: | Object |
elename | [R] | |
encodingstyle | [R] | |
mustunderstand | [R] |
# File soap/header/handler.rb, line 21 def initialize(elename) @elename = elename @mustunderstand = false @encodingstyle = nil end
Given header is a SOAPHeaderItem or nil.
# File soap/header/handler.rb, line 33 def on_inbound(header, mustunderstand = false) # do something. end
# File soap/header/handler.rb, line 50 def on_inbound_headeritem(header) on_inbound(header.element, header.mustunderstand) end
Should return a SOAP/OM, a SOAPHeaderItem or nil.
# File soap/header/handler.rb, line 28 def on_outbound nil end