# TypeError: Error #1010: A term is undefined and has no properties

**URL:** <https://forum.kirupa.com/t/typeerror-error-1010-a-term-is-undefined-and-has-no-properties/327889>\
**Category:** Uncategorized\
**Created:** [April 4, 2012, 9:47am UTC](https://forum.kirupa.com/t/typeerror-error-1010-a-term-is-undefined-and-has-no-properties/327889 "2012-04-04T09:47:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jcfg](https://avatars.discourse-cdn.com/v4/letter/j/5daacb/32.png) [@jcfg](https://forum.kirupa.com/u/jcfg)\
**Post date:** [April 4, 2012, 9:47am UTC](https://forum.kirupa.com/t/typeerror-error-1010-a-term-is-undefined-and-has-no-properties/327889/1 "2012-04-04T09:47:09Z")

</div>

Hello i am just trying to get data from wcf web service to as3 using aducentes class. i connect normally to web service but when i try to acces methods i get the error of  
TypeError: Error #1010: A term is undefined and has no properties…  
actually i am no as3 developer but i amon a rush and have to finish my project You can guys have a look at my code and manipulate what is wrong thank ya …

import alducente.services.WebService;  
import flash.events.\*;

var ws:WebService = new WebService();  
ws.addEventListener(Event.CONNECT, connected);  
ws.connect(“[http://localhost:8732/Design\_Time\_Addresses/TestService/Service1/?wsdl](http://localhost:8732/Design_Time_Addresses/TestService/Service1/?wsdl)”);  
ws.cacheResults = true;

var initTime:Number;

function connected(evt:Event):void{  
// initTime = getTimer();  
//var books:Array=ws.IBookService.GetBooks();  
// trace(books[0]);  
ws.IBookService.getBooks(done,0,0);

// trace(obj[0].toString());  
// ws.ResolveIP(done, “192.123.0.200”, 0);  
// ws.ResolveIP(done2, “192.123.0.200”, 0);  
}

function done(serviceRespone:XML):void{

// trace("  
Web Service Result: ");  
// var time:Number = getTimer();  
// trace(“Call duration: “+(time - initTime)+” milliseconds”);  
// initTime = time;  
trace(serviceRespone);  
}
