SOAP4R basic auth

Hi!
I’m trying to get SOAP4R running under ruby-1.8.5-preview3 +
http-access2 (you can also update 1.8.4 with latest SOAP4R +
http-access2 I guess).

Everything works too well… I’m suspecting that this basic auth thing
in SOAP4R only is for the client???

See these, server and client:
http://dev.ctor.org/soap4r/browser/trunk/sample/soap/basicauth
The third line in the server.rb file states:

SOAP server cannot use WEBrick’s httpauth feature for now…

I dont use any webserver, I run standalone server, pure SOAP i guess…

I want the server to fail the client when sending incorrect user/passwd,
now it doesnt matter what I send, the client gets access and the RPC
succeed no matter what passwd I send!!!

Am i missing something here? Do the webbserver need to be integrated?
(that is, do I need to run a full webbservice to get this to work
correctly?)

Thanks!

/Rick

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

Hi,

Sorry for late reply.

Rickard Sjostrom wrote:

SOAP server cannot use WEBrick’s httpauth feature for now…

I dont use any webserver, I run standalone server, pure SOAP i guess…

Soap4r’s web server fully depends on WEBrick’s implementation.
SOAP::StandaloneServer (soap/rpc/standaloneServer) does not support
httpauth but you can use full WEBrick feature with SOAP::HTTPServer
(soap/rpc/httpserver). SOAP::StandaloneServer is a wrapper of
SOAP::HTTPServer for backward compatibility. Please use
SOAP::HTTPServer for your usage.

I’ve not yet tried WEBrick + BasicAuth (webrick/httpauth/basicauth).
I’ll appreciate if you allow me to include your sample server in soap4r
and Ruby distribution.

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

iQEVAwUBRPt2Rh9L2jg5EEGlAQK4/gf/aH0lOQ+ePcpVOSbSJotR1csBRrw5klEY
l2f3ssY1a5/LSRIxqL/g89U3Td8/VUEgwgR7QJHAl2gw4jmrdgEbhiAxmUmNruNn
j+GOCnFPBGEzgq1BYpHrQ+cwVtikgNf/bi0pBkVoqYhKhwIJ2S09izw6F9vLmwse
hwHtkFHH/VmODhCpri6MfbACPH5RnVHaPp+y4q4w8NyQwU8fos97xt0DsduVM0E4
HbtHZ0Qw/jbl7Sq1opH4BDdIt68c2xv8BnjhEn69jCwbhqXuLe3nqOrddyixt5c8
cVPZ2hn8QFm1PD3iGw6lAtvV1OwwwwpRQTBAPiV27bqyvzB4fdHwyA==
=+HZP
-----END PGP SIGNATURE-----