From: Ball Balla Date: 2009-01-20T08:05:14+09:00 Subject: Soap4R - Question I am trying to add a custom header to my outgoing SOAP4R messages. I figured out how to add a header by doing the following. class ClientAuthHeaderHandler < SOAP::Header::Handler NAMESPACE = XSD::QName.new("somenamespace", "test") def initialize super(NAMESPACE) end def on_simple_outbound { "MY_KEY" => 'somevalue' } end end driver = SOAP::WSDLDriverFactory.new('somewsdl').create_rpc_driver driver.headerhandler << ClientAuthHeaderHandler.new Which will produce the following output for the header somevalue But I do not want the n1:test namespace. IE all I want is somevalue How can I accomplish this? -- Posted via http://www.ruby-forum.com/.