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?


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: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Raymond Camden
Sent: Thursday, October 06, 2005 12:54 PM
To: [email protected]
Subject: Re: [flexcoders] calling a secured web service

So a follow up. I noticed this in the log:

10/06 14:51:57 ERROR The Flex proxy and the specified endpoint do not
have the same domain, and so basic authentication can not be used. 
Please specify use-custom-authentication or run-as for services not
located on the same domain as the Flex proxy. . The proxy domain is
HTTP://localhost:80 and the target domain is http://foo.com:80

(foo.com is a fake name)

What I don't get it, I _am_ using run as. Here is the code from my
config file:

                        <named>
                        <service name="foo">
        
<wsdl>http://foo.com/foo.asmx?WSDL</wsdl>
                                <run-as user="xxx" password="yyy" />
        
<allow-unnamed-access>true</allow-unnamed-access>
                    <endpoints>
                    <endpoint>http://foo.com/foo.asmx</endpoint>
                    </endpoints>
                        </service>
                        </named>


On 10/6/05, Carson Hager <[EMAIL PROTECTED]> wrote:
> How did I know that question was next? :)  I looked it up and it's in 
> chapter 30.  Working with web services and Securing data services are 
> good sections.
>
>
> Carson
>
>


------------------------ Yahoo! Groups Sponsor --------------------~-->
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
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



 






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to