-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

matt.hulse / gmail.com wrote:
> I am attempting to use ruby to connect to a webservice.  I am able to
> create a driver which contains all of the correct methods but when I
> attempt to call a method I get the following error:
> 
> NoMethodError: undefined method `headerparts' for nil:NilClass
>         from c:/ruby/lib/ruby/1.8/soap/wsdlDriver.rb:355:in
> `header_from_obj'
>         from c:/ruby/lib/ruby/1.8/soap/wsdlDriver.rb:272:in
> `document_send'
>         from c:/ruby/lib/ruby/1.8/soap/wsdlDriver.rb:449:in
> `helloWorld'
>         from c:/ruby/lib/ruby/1.8/soap/wsdlDriver.rb:448:in
> `helloWorld'
>         from (irb):8
> 
> I'm using the document at
> http://www.testing.com/writings/behind-the-screens.pdf as a guide for
> using ruby to connect to a webservice.

Would you please try to call WSDLDriverFactory#create_rpc_driver instead
of WSDLDriverFactory#createDriver to create a driver?  createDriver was
deprecated.  Sorry for the inconvenience.

If the problem still occurs, please tell me the WSDL you are using.  It
may be a bug of soap4r.

Regards,
// NaHi
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)

iD8DBQFDKoY8f6b33ts2dPkRAjz0AJ9vjlIRJ01LHuKZbx/2lmduYtLkMgCfb0m7
1vZ4qa3PkI9k75QVUOZacFg=
=UQEO
-----END PGP SIGNATURE-----