[Flash 8] Issues extending WebService class

Greetings everyone, hopefully someone can shed some light on a problem I am having.

I would like to extend the WebService class in order to add a couple of functions to it. The problem is, when I use the subclass, I get the following message:
‘Error opening URL “file:///<PATH WHERE FLA IS SAVED>/undefined”’

The subclass looks like this:


import mx.services.*;

class com.testing.TestWebService extends WebService{
    var foo:String;
    //constructor
    function TestWebService(){
        foo = "TestWebService";
    }
}

And the FLA code looks like this:

import com.testing.*

var testWebService:TestWebService = new TestWebService("http://honkytonk:4242/OrcaSASoap/wsdl.xml");

trace(testWebService.foo);

The strange thing is, if I extend the MovieClip class instead of the WebService class, everything is peachy. This makes me think there is something that I am missing, or do not know about the WebService class.

FYI: The code above is the “I want to get it to load without errors” example. My reasons for extending the class go beyond adding a “foo” property. :wink:

NOTE: The WSDL path is to my local machine and therefore not accessible to the masses. Any WSDL should recreate the same results.