From: Drew Butler Date: 2006-02-18T00:44:44+09:00 Subject: Re: SOAP + HTTP Authentication ------=_Part_5764_20323725.1140191067717 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Yeah, I ended up discovering http-access2 a little while back. It defintely does work using this method. I wish there had been some more documentation out there pointing me in this direction. Luckily though some old posts in ruby-talk had allowed me the insite that Soap4r will automatically detect i= f http-access2 is installed and with the proper othions added, it will login to a server for you. Thanks for the help though. Now I just have to figure out why the soap outputted is slightly different between rails and a plain ruby script. The main issue I'm seeing now is tha= t a particular Soap server that I'm working with is dependant on the order that variables is passed in, rather than the names themselves. When I script through Ruby itself, it will pass the variables properly, whe= n I run this same script through a Rails front-end however, the variables get flipped. This means: InventoryItem @customer =3D'BIELUM' becomes: @customer =3D'BIELUM' InventoryItem I'm currently working with the provider of this service to understand why they're order dependant, when the variables are different, but am unsure wh= y there is a difference between the outputs of soap4r depending on how the script is run, even though NOTHING has changed between the two. They both are run through the same objects created by wsdl2ruby .... Any thoughts ? On 2/5/06, Oliver Andrich wrote: > > 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 thi= s > > > yet > > > until I get some input from people who are definitely more experience= d > > > than > > > myself. > > > > soap4r supports BasicAuth. cf.` > > http://dev.ctor.org/soap4r/browser/trunk/sample/soap/basicauth . > > 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://roughbook.de/ > > ------=_Part_5764_20323725.1140191067717--