From: Gabriel Policiuc Date: 2009-09-03T16:08:13+09:00 Subject: Ruby soap4r header problem Hi, I am trying to build a header using soap4r that is supposed to look like this ***** ***** affiliate true What I have done is created a header derv. class AffHeader < SOAP::Header::SimpleHandler Created a UserAuthentification element. def initialize @element = XSD::QName.new(nil, "UserAuthentification") super(@element) end And return a hash def on_simple_outbound self.mustunderstand = 1 { "iId" => ID, "sPassword" => PASSWORD, "sType" => "affiliate" } end How can I make my header look like I want further. How do I add the actor for example. I am going to keep searching on this, any Help is very appreciated. Thank you -- Posted via http://www.ruby-forum.com/.