Mark Thomas
3/27/2009 5:27:00 PM
On Mar 27, 12:01 pm, Andrew Porter <partydr...@me.com> wrote:
> The example you give on your blog, like all the others I've seen,
> assumes the WSDL file is "in the open." In my case, I have to
> authenticate in order to even get to it. Your example creates the
> driver first, then adds authentication for subsequent requests. I
> can't even create the driver. The SOAP::WSDLDriverFactory.new() call
> fails every time with a 401, "Unauthorized" error.
Since you have shown you can get the WSDL, can't you just use it
locally when generating your client?
wsdl2ruby --wsdl <local_filename.wsdl> --type client --force
> Also, I'm using the SOAP libraries in Ruby 1.8.6. It's my
> understanding that soap4r was integrated into this version of Ruby. Am
> I mistaken?
Do NOT use the built-in libraries. Please upgrade to the latest.