From: Merten S. <Mer...@as...> - 2005-08-29 06:38:54
|
Thanx for clarification, Scott. Well, is there a way to programatically find out that auth is required??? Merten=20 > -----Original Message----- > From: nus...@li...=20 > [mailto:nus...@li...] On Behalf=20 > Of Scott Nichol > Sent: Friday, August 26, 2005 3:24 PM > To: nus...@li... > Subject: Re: [Nusoap-general] problem when setting user=20 > credentials if they are not required >=20 > When you specify Basic Auth for the NuSOAP client, it sents=20 > the auth info without waiting for the server to elicit it. =20 > It avoids a request/response round trip. It is up to the=20 > programmer to ensure that the auth is only sent for URLs that=20 > require it. >=20 > Scott Nichol >=20 > Do not send e-mail directly to this e-mail address, > because it is filtered to accept only mail from > specific mail lists. > ----- Original Message -----=20 > From: "Merten Schumann" <Mer...@as...> > To: <nus...@li...> > Sent: Friday, August 26, 2005 7:57 AM > Subject: [Nusoap-general] problem when setting user=20 > credentials if they are not required >=20 >=20 > Hello, >=20 > have got a strange problem here in testing my (JAX-RPC based) web > service sitting in a BEA WebLogic Server from a PHP client. I=20 > configured > the service to not require HTTP Basic Auth. My PHP client=20 > works well so > far. But when I use in my PHP code something like > $proxy->setCredentials(AUTH_USER, AUTH_PWD, "basic"); > the server responds with an error. It seems, BEA WLS (no idea yet what > other containers will behave) cannot stand to get=20 > authentication data if > it's not required. >=20 > Hmmmm. I thought that this HTTP Basic Auth thing works like this: make > the first request. Get answer "HTTP Basic Auth required".=20 > Then (and only > then) you resend the request but this time with user credentials set. > Maybe I'm wrong here but I saw it functioning this way in my=20 > Perl client > for example. I think there's a problem in BEA. Anyway, is there a > problem in NuSOAP too? >=20 > Thank you! > Merten >=20 >=20 > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development=20 > Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams *=20 > Testing & QA > Security * Process Improvement & Measurement *=20 > http://www.sqe.com/bsce5sf > _______________________________________________ > Nusoap-general mailing list > Nus...@li... > https://lists.sourceforge.net/lists/listinfo/nusoap-general >=20 >=20 >=20 > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development=20 > Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams *=20 > Testing & QA > Security * Process Improvement & Measurement *=20 > http://www.sqe.com/bsce5sf > _______________________________________________ > Nusoap-general mailing list > Nus...@li... > https://lists.sourceforge.net/lists/listinfo/nusoap-general >=20 |