# Cannot Access WSDL

**URL:** https://forum.kirupa.com/t/cannot-access-wsdl/191840
**Category:** web dev
**Created:** [June 23, 2006, 12:29pm UTC](https://forum.kirupa.com/t/cannot-access-wsdl/191840 "2006-06-23T12:29:44Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![dewey](https://avatars.discourse-cdn.com/v4/letter/d/919ad9/32.png) [@dewey](https://forum.kirupa.com/u/dewey)
#### Post date: [June 23, 2006, 12:29pm UTC](https://forum.kirupa.com/t/cannot-access-wsdl/191840/1 "2006-06-23T12:29:44Z")

</div>

Howdy people… I am having a bit of trouble getting webservices to work for me here in flash… basically, I have set up Axis 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](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](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](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!
