Sorry for being a soapy spammer.*In my never-ending quest to get to the
bottom of a particular SOAP API, I am now working through some Java and .Net
examples using this API, converting them as I go to Ruby SOAP4R code.
I've got the login working, but after that, the examples want me to set the
header (or session header, or session header value) of the actual soap
object that descends from ::SOAP::RPC::Driver. The Java example looks like
this:
  binding.setHeader(new
SforceServiceLocator().getServiceName().getNamespaceURI(),"SessionHeader",
sh);

The problem I'm having now is that the Soap object created by wsdl2ruby
doesn't have any such or similar method, and nor does the driver it is
descended from.
Can anyone think of what the equivalent Ruby call may be? Or perhaps the
Java method is a convenience call on some horribly SOAPy method that I need
to call?
Totally in the dark (as ever) & very grateful for any & all advice.
Cheers,
   Doug.

* Although now I've said that, I do kind-of like just how deviant it sounds.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"NWRUG" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nwrug-members?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to