Tom,
I did a search for web.xml and found 9 (I think different files)
I didn't find this.
------------------
<init-param>
<param-name>DISABLE_CFWS_ADAPTERS</param-name>
<param-value>false</param-value>
<description>When set to true, this setting disables the ColdFusion WebServices Adapters in the gateway.</description>
</init-param>
----------------------
Since I am using IIS, I assume c:\inetpub\wwwroot\WEB-INF\web.xml
is the file I should be concerned with.
However, I did get your ProductsAdmin.fla file to work.
Why is a mistery to me.
I had the webservices working to start with.
I tested with a .cfm file.
--------------
<cfinvoke
webservice="
http://www.flash-mx.com/ws/tipoftheday/tip.cfc?wsdl" method="getTipByDate"
returnvariable="aHashMap">
<cfinvokeargument name="tipDate" value="10/03/2003"/>
</cfinvoke>
<cfdump var="#aHashMap#">
<cfinvoke
webservice="
http://216.43.117.145/flashremoting/ProductsAdmin.cfc?wsdl"
method="getCategories"
returnvariable="aQuery">
</cfinvoke>
<cfdump var="#aQuery#">
<cfinvoke
webservice="
http://216.43.117.145/flashremoting/ProductsAdmin.cfc?wsdl"
method="getSearchResult"
returnvariable="aQuery">
<cfinvokeargument name="search" value=""/>
</cfinvoke>
<cfdump var="#aQuery#">
--------------------------------
This is VERY strange to me.
I was opening your ProductsAdmin.fla file.
Changing
NetServices.setDefaultGatewayUrl("http://localhost/flashservices/gateway");
to
NetServices.setDefaultGatewayUrl("
http://216.43.117.145/flashservices/gateway");
and changing
var myService = my_conn.getService("com.oreilly.frdg.admin.ProductsAdmin");
to
var myService = my_conn.getService("FlashRemoting.ProductsAdmin");
Then saving the file. It saved as Flash MX 2004 doc.
I got an error connecting to a webservice I knew was working.
This morning I did a save as on ProductsAdmin.fla to My_ProductsAdmin.fla.
It saved as Flash MX 2004 file then I made the changes. Did a test movie and everything worked fine.
After some trials I've discovered that the if I go back to the file that I saved after making the changes to the connector.
NetServices.setDefaultGatewayUrl("
http://216.43.117.145/flashservices/gateway");
var myService = my_conn.getService("FlashRemoting.ProductsAdmin");
NetServices.setDefaultGatewayUrl("http://dummy/flashservices/gateway");
var myService = my_conn.getService("dummy.ProductsAdmin");
Save and test the movie then change back and save and test the movie it works fine.
Jeff Craig