Jef - 2009-07-06

I need to be able to define the WSDL for my classe variables, I want to make it "settable" by a client. By example, below is a class and few variables. How can I can properly generate the WSDL for this case? Is there a way with the register function?

class NewPurchaseOrderHeader
    var $PurchaseOrderNumber;
    var $Supplier;
    var $Buyer;
    var $DetailLines = array();
    function AddDetailLine($NewDetailLine)
        $this->DetailLines[] = $NewDetailLine;
        return true;

Thanks a lot!