I wonder if this is a bug. Leave the
run-as in but try setting <use-custom-authentication> to true maybe?
Matt
From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf
Of tony_lic
Sent: Friday, July 15, 2005 3:53
AM
To: [email protected]
Subject: [flexcoders] Using Run-as
for web services
Hi,
I tried using a particular web service
which when i run gives the
followin error message.
"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."
I know that i have to use run-as by giving
the username and
password, I gave it & tried but still
the same error message is
coming.
The worst part is it got executed two times
successfully , but
after that(I didnt even touch any part of the
code) again the same
problem comes.
I also tried restarting the flex
server, but no hope. I attach my
flex-config.xml details.
<service name="myws">
<!-- enables use of custom fault code on the
client for handling authentication failures -->
<!-- wsdl location for the named service -->
<wsdl>http://us4273.wdf.sap.corp:50009/sap/bc/srt/rfc/sap/ZWS_TREX_VI
QMEL2?wsdl</wsdl>
<!-- endpoints
for the named
web service -->
<!-- endpoints for the named web service
-->
<endpoints>
<endpoint>http://us4273.wdf.sap.corp:50009/sap/bc/srt/rfc/sap
/ZWS_TREX_VIQMEL2?sap-client=004</endpoint>
</endpoints>
<!-- user-name and password to use when
accessing this web service -->
<run-as user="user" password="pass"/>
<!-- Adds the service's wsdl and endpoints to
the unnamed whitelist. If false, these can
never be used unnamed -->
<!-- This should be set to false if using web
application security with this named service
-->
<allow-unnamed-access>false</allow-unnamed-
access>
</service>
please help
with regards,
tony
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
---- LSpots keywords ?>---- HM ADS ?>
--
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
|