Putting data at soap header

Rander
2011-06-20T21:11:32Z

Hello everybody, I need help! :(

I need to communicate through webservice, but I need put an information in
the soap header before invoking the method.
I´m using this way:

soap =
SOAP::WSDLDriverFactory.new("http://ti-007.tron.local/CondominioWeb/CondominioWebServico.svc?wsdl").create_rpc_driver

data_inicial = Date.new(2011, 05, 07)
data_final = Date.new(2011, 05, 07)
unidade_central_id = 5
unidade_id = 2505
@relatorio_id = soap.EmitaBoletos(data_inicial, data_final,
unidade_central_id, unidade_id)

The idCliente = ''XXXXXX'' must be included in the soap header

Anybody can help me? Thanks a lot!

--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/rubyonrails-talk/-/_ipWqq_vPHoJ.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at