Hi All,

I am trying to set up some CF components to be used as web services through flex.  I have added a node to the named section web-service proxy node of the flex config file as seen below:

  <named>
              <service name="reportingService">
                <wsdl> http://192.168.168.1/keith/components/reporting.cfc?wsdl </wsdl>
                 <endpoints>
                        <!-- actual url to use when accessing the named web service -->
                <endpoint> http://192.168.168.1/keith/components/reporting.cfc</endpoint>
                </endpoints>
                <!-- define a web service which may be referenced by name from mxml -->
                <!-- <service name="service"> -->
                    <!-- enables use of custom fault code on the client for handling authentication failures -->
                    <!-- <use-custom-authentication
>false</use-custom-authentication> -->
                    <!-- wsdl location for the named service -->
                    <!-- <wsdl> http://localhost:8100/flex/flex-proxy/servicename?wsdl </wsdl> -->
                    <!-- endpoints for the named web service -->
                    <!-- <endpoints> -->
                        <!-- actual url to use when accessing the named web service -->
                        <!-- <endpoint>http://localhost:8100/flex/flex-proxy/servicename </endpoint> -->
                    <!-- </endpoints> -->
                    <!-- user-name and password to use when accessing this web service -->
                    <!-- <run-as user="user" password="pwd"/> -->
                    <!-- 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>true</allow-unnamed-access>-->
              </service>
            </named>

I am having trouble connecting to the service in flex builder (it keeps failing).  I know that the path and everyhting is correct and I can invoke the components directly with CF.  I have tried restarting the service and the when i compile the file i get a "500 internal server error"  Anybody else run into this problem?

Any help would be greatly appreciated!

Thanks,

Keith


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




Reply via email to