Try removing use-custom-authentication,
just have the run-as. Make sure you’re going through <mx:WebService
service=”xxx” … /> and don’t use wsdl=”…”
Matt
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Raymond Camden
Sent: Thursday, October 06, 2005
2:06 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] calling
a secured web service
Nod, I've restarted about a hundred times now. :(
Do you see anything obviously wrong with this
current setup:
<service name="xxx">
<use-custom-authentication>true</use-custom-authentication>
<allow-unnamed-access>true</allow-unnamed-access>
<wsdl>http://foo.com/foo.asmx?WSDL</wsdl>
<run-as
user="u" password="p" />
<endpoints>
<endpoint>http://foo.asmx</endpoint>
</endpoints>
</service>
On 10/6/05, Carson Hager
<[EMAIL PROTECTED]> wrote:
> FWIW, you don't have to prompt the user with
custom auth. You can simply
> catch the credentials request then submit the
username and password in
> code. That being said, if the username/pwd is
fixed, run-as makes sense.
> Given Flex's response, it's going with the
default behavior of
> passthrough. Have you reloaded your web
app ( or restarted your servlet
> container ) since changing flex-config.xml?
>
>
> Carson
>
>
> ____________________________________________
>
> Carson
Hager
> Cynergy Systems, Inc.
> http://www.cynergysystems.com
>
> Email: [EMAIL PROTECTED]
> Office: 866-CYNERGY ext. 89
> Mobile:
1.703.489.6466
>
>
>
> -----Original Message-----
> From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On
> Behalf Of Raymond Camden
> Sent: Thursday, October 06, 2005 1:35 PM
> To: flexcoders@yahoogroups.com
> Subject: Re: [flexcoders] calling a secured
web service
>
> In this case, my app is suing a secured
service where the u/p will never
> change. Therefore, it doesn't make sense to
prompt on the client side.
> It should be hard coded. Thanks for trying
though.
>
> Can anyone from Macromedia Flex team comment?
:)
>
> On 10/6/05, Carson Hager
<[EMAIL PROTECTED]> wrote:
> > I've never used run-as due to the fact
that I think it has very
> > limited usage given that all users
connect to the web service with the
>
> > same credentials. Have you tried
custom auth? With that you can
> > specify a client specific username and
password for the web service.
> > Do you have access to the password from
the app?
> > ======================================================================
> > =
> Raymond Camden, Director of Development for
Mindseye, Inc
> (www.mindseye.com)
>
> Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)
>
> Email :
[EMAIL PROTECTED]
> Blog :
ray.camdenfamily.com
> Yahoo IM : cfjedimaster
>
> "My ally is the Force, and a powerful
ally it is." - Yoda
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
--
=======================================================================
Raymond Camden, Director of Development for
Mindseye, Inc (www.mindseye.com)
Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)
Email : [EMAIL PROTECTED]
Blog :
ray.camdenfamily.com
Yahoo IM : cfjedimaster
"My ally is the Force, and a powerful ally it
is." - Yoda
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
YAHOO! GROUPS LINKS