-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Philip Schalm wrote: > When trying to create a handler to access a SOAP server in an embedded > ruby file (.rhtml) I am unable to get anything done unless I decrease > the safe level for ruby to 0. The code is the following: > Any clues as to why running at $SAFE = 1 isn't working for me? I'm > geussing that perhaps when I load the external .WSDL file it is marked > as tainted? Yes. Host/port definition scraped from WSDL are tainted. Generating client stub from WSDL on the fly is expensive even if you use it in mod_ruby. Please consider to generate static client stub file with wsdl2ruby.rb and use it. Then host/port definitions are in stub file so no SecurityError will be thrown. Regards, // NaHi -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (Cygwin) iQEVAwUBRLmphB9L2jg5EEGlAQKW5ggAmlMeZy60EEobydIqbcFsywAemPU03DvH C8+HfxcA4IyRPjFDozYkC2kti9Um9Iqb2rqwx33SiKSkwm3u06rTaPaLmP0IkYTT 3SQrkjZ8KUecFFI+3dipWX6+lQDr36Ate4xbVTci13IKc1YIYLD5I+uno6+yz+Z2 OW0YAhIqsnPWSHzh1YtrefwE8QK8ygciup9Fr/3r+wY8ufjVyoBV3gNiOBNdekrr ORM//TGVSVK8YZxUiGN7NIrMKzngoADk94LCIVoL8vy20R9M7saV3Bg9LwfEz6uJ oB4rm+VBxdSl+ddfep76Z2LGeHOGLLIByHhQCWLPoqQLyIbFo/vvtA== =3OXp -----END PGP SIGNATURE-----