[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

SOAP + HTTP Authentication

Drew Butler

12/27/2005 6:44:00 AM

Hey,

Just had a question. Been pulling out my hair all weekend trying to get
SOAP
to work properly in Rails and even straight on Ruby. I started with
Rails'
AWS and moved to Ruby's internal libraries, after which I tried out
SOAP4R.

Now, my question is, does Rails or even Ruby itself support SOAP client
calls through basic HTTP Authentication? From the research I've done,
this
is an unsupported feature. I am however not willing to give up on this
yet
until I get some input from people who are definitely more experienced
than
myself.

If anyone has done this or knows a good article or tutorial, or even
reference in a manual (so I can RTFM) please let me know. I've got a
client
who is looking to do this I and I need to make for 100% certain that
this is
possible to do, as it is a critical component of the application
interface.

Thanks in advance,

~Drew

--
Posted via http://www.ruby-....


2 Answers

NAKAMURA, Hiroshi

2/5/2006 11:58:00 AM

0

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

Hi,

Sorry for late reply.

Drew Butler wrote:
> Now, my question is, does Rails or even Ruby itself support SOAP client
> calls through basic HTTP Authentication? From the research I've done,
> this
> is an unsupported feature. I am however not willing to give up on this
> yet
> until I get some input from people who are definitely more experienced
> than
> myself.

soap4r supports BasicAuth. cf.`
http://dev.ctor.org/soap4r/browser/trunk/sample/soap... .
Unfortunately I don't know how to do it with AWS client. Someone?

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

iD8DBQFD5egrf6b33ts2dPkRAjqHAJ9a9iYzYVdZcRebAOF8Y3iw8aqWzgCfd++f
eUkMqVOOZPVPyN287k8LYfk=
=KVwZ
-----END PGP SIGNATURE-----


Oliver Andrich

2/5/2006 1:03:00 PM

0

On Sun, Feb 05, 2006 at 08:58:21PM +0900, NAKAMURA, Hiroshi wrote:
> Drew Butler wrote:
> > Now, my question is, does Rails or even Ruby itself support SOAP client
> > calls through basic HTTP Authentication? From the research I've done,
> > this
> > is an unsupported feature. I am however not willing to give up on this
> > yet
> > until I get some input from people who are definitely more experienced
> > than
> > myself.
>
> soap4r supports BasicAuth. cf.`
> http://dev.ctor.org/soap4r/browser/trunk/sample/soap... .
> Unfortunately I don't know how to do it with AWS client. Someone?

Well, if you have installed http-access2 it actually does basic auth.

Oliver

--
Oliver Andrich --- oliver.andrich@gmail.com --- http://rou...