Can't access web service in Tomcat

Oi! I posed this in the Client-Side forum, but couldn’t get an answer and was hoping maybe some people who don’t visit that forum could help me…

I am having a bit of trouble getting webservices to work for me here in flash… basically, I have set up Axis2 in Tomcat to “hold”, if you will, my webservices.

There is a webservice preloaded on there called version, convieniently located at: http://localhost:8080/axis2/services/version?wsdl, and it has 1 available operation known as “getVersion”.

Right now, I am just trying to use this in Flash. Basically connect to webservice, ‘getVersion’ and print it out… here is my code…


var sWSDLURL:String = "http://localhost:8080/axis2/services/version?wsdl";
    var wsAffiliateInfo:WebService = new WebService(sWSDLURL);
    
    var pcResponse: PendingCall = wsAffiliateInfo.getVersion(); // space here to remove smiley
    
    pcResponse.onResult = function(affiliateInfo):Void
    {
        trace(affiliateInfo);
        //affiliate = affiliateInfo;
    };

Obviously I have set this up for a webservice I intend to use later, but I cannot get anything traced besides "Error opening URL “http://localhost:8080/axis2/services/version”.

I have downloaded a web services analyzer, and from it I know that my web service is running / working. Which means my Flash is messed up… if anyone could give me a kick in the right direction, it would be a great help… thanks!