# Cant extend Web Service Connector Class

**URL:** <https://forum.kirupa.com/t/cant-extend-web-service-connector-class/222437>\
**Category:** flash\
**Created:** [April 13, 2007, 2:00pm UTC](https://forum.kirupa.com/t/cant-extend-web-service-connector-class/222437 "2007-04-13T14:00:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![schmichael](https://avatars.discourse-cdn.com/v4/letter/s/ea5d25/32.png) [@schmichael](https://forum.kirupa.com/u/schmichael)\
**Post date:** [April 13, 2007, 2:00pm UTC](https://forum.kirupa.com/t/cant-extend-web-service-connector-class/222437/1 "2007-04-13T14:00:58Z")

</div>

hello there, thanks for checking this. I am trying to extend the WebServiceConenctor class to make a class that checks a web service at set intervals and has some other functionality. I want to set the properties of the object in the constructor but I cant get it to work, also I want to be able to trigger the webservice from methods within the Check class but I think I have the syntax wrong.  
If anyone could let me know what I’m doing wrong I would be really grateful. Thanks 🙂

[AS]  
class Check extends WebServiceConnector {  
var active:Boolean;  
//interval vars  
private var checkInterval:Number;  
private var checkFreq:Number;  
private var log:String;  
//constructor:  
public function Check(frequency:Number, url:String, theOp:String) {  
trace(“url set:”+url);  
trace(“operation set:”+theOp);  
this.WSDLURL(url);  
this.operation = theOp;  
this.suppressInvalidCalls = true;  
checkFreq = frequency;  
}  
// methods:  
function sendLog():String {  
trace(“sendLog called”);  
this.trigger();  
return log;  
}[/AS]
