phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] phpgroupware nusoap.php,NONE,1.1.2.1


From: Dan Kuykendall <address@hidden>
Subject: [Phpgroupware-cvs] phpgroupware nusoap.php,NONE,1.1.2.1
Date: Fri, 07 Nov 2003 09:06:27 +0000

Update of /cvsroot/phpgroupware/phpgroupware
In directory subversions:/tmp/cvs-serv27787

Added Files:
      Tag: proposal-branch
        nusoap.php 
Log Message:
initial soap interface

--- NEW FILE: nusoap.php ---
<?php

/*

NuSOAP - Web Services Toolkit for PHP

Copyright (c) 2002 NuSphere Corporation

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
[...4057 lines suppressed...]
                        }
                }
                $r = rand();
                $evalStr = 'class soap_proxy_'.$r.' extends soapclient {
                                '.$evalStr.'
                        }';
                //print "proxy class:<pre>$evalStr</pre>";
                // eval the class
                eval($evalStr);
                // instantiate proxy object
                eval("\$proxy = new soap_proxy_$r('');");
                // transfer current wsdl data to the proxy thereby avoiding 
parsing the wsdl twice
                $proxy->endpointType = 'wsdl';
                $proxy->wsdlFile = $this->wsdlFile;
                $proxy->wsdl = $this->wsdl;
                $proxy->operations = $this->operations;
                $proxy->defaultRpcParams = $this->defaultRpcParams;
                return $proxy;
        }
}





reply via email to

[Prev in Thread] Current Thread [Next in Thread]