Re: SOAP Security: HTTP-Basic authentication

"Hiran Chaudhuri" <hiran.chaudhuri@_at_web_dot.de>
Newsgroups gmane.comp.mozilla.devel.xml
Organization Global Access Telecommunications, Inc.
Message-ID <[email protected]>
> I am not sure the SOAP API has any way to provide username and password 
> for basic authentication but for me here with Firefox 1.0 it works to 
> use XMLHttpRequest first to make a HTTP HEAD request sending the 
> credentials (the open method has the fourth and fifth argument for that) 
> and then to make the SOAP call e.g.

How about submitting username and password together with the URL?

var soapCall = new SOAPCall();
soapCall.transportURI = 'http://username:[email protected]/services/service.asmx';
soapCall.encode(...);

I know the security is not too good.
But then the URI need not be hardcoded, it can be created on the client. And next the request better use https to encrypt the whole stream....

Hiran
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.