Class: SOAP::RPC::Proxy
- Inherits:
-
Object
- Object
- SOAP::RPC::Proxy
- Defined in:
- lib/wss4r/rpc/proxy.rb
Instance Method Summary collapse
- #create_encoding_opt(hash = nil) ⇒ Object
- #invoke(req_header, req_body, opt = nil) ⇒ Object
- #security ⇒ Object
Instance Method Details
#create_encoding_opt(hash = nil) ⇒ Object
10 11 12 13 14 15 16 17 18 19 |
# File 'lib/wss4r/rpc/proxy.rb', line 10 def create_encoding_opt(hash = nil) opt = {} opt[:security] = @security opt[:default_encodingstyle] = @default_encodingstyle opt[:allow_unqualified_element] = @allow_unqualified_element opt[:generate_explicit_type] = @generate_explicit_type opt[:no_indent] = @options["soap.envelope.no_indent"] opt.update(hash) if hash opt end |
#invoke(req_header, req_body, opt = nil) ⇒ Object
21 22 23 24 25 |
# File 'lib/wss4r/rpc/proxy.rb', line 21 def invoke(req_header, req_body, opt = nil) opt ||= opt[:security] = @security route(req_header, req_body, opt, opt) end |