How to I set a http header for a soap call in soap4r ?
@drv = SOAP::RPC::Driver.new('x', 'y')
How do I set a http header "vmware_soap_session" to call the calls that are going out of @drv ?
How to I set a http header for a soap call in soap4r ?
@drv = SOAP::RPC::Driver.new('x', 'y')
How do I set a http header "vmware_soap_session" to call the calls that are going out of @drv ?
There's a
headerhash parameter available with theSOAP::NetHttpClient.get_contentandSOAP::NetHttpClient.postmethods:Here's the source for the first that helps 'splain it:
Try setting the
headerhash to{"vmware_soap_session" => true}or whatever you're supposed to use as the value.