Commit Graph

49 Commits

Author SHA1 Message Date
Abdul Malik Ikhsan
6247adaf26 change copyright symbol 2013-01-15 18:38:02 +07:00
Abdul Malik Ikhsan
46c8ef0d9a update copyright year
from 2011 to 2013
2013-01-15 17:28:17 +07:00
Alexander Makarov
f4c0a064eb Merge branch 'patch-1' of git://github.com/Diego-Rocha/yii into Diego-Rocha-patch-1 2012-11-27 23:24:39 +04:00
Maurizio Domba (mdwork)
b95988ea36 Fixes #1694 - doc fix 2012-11-14 11:11:52 +01:00
lubosdz
45d286d01f Merge branch 'master' of https://github.com/lubosdz/yii 2012-10-23 17:41:12 +02:00
lubosdz
76f185531a Merge branch 'master' of https://github.com/yiisoft/yii 2012-10-05 17:41:08 +02:00
lubosdz
3b77b5612f Merge branch 'master' of https://github.com/lubosdz/yii 2012-10-03 16:45:12 +02:00
lubosdz
a4f0890c38 Merge branch 'master' of https://github.com/yiisoft/yii
Conflicts:
	framework/web/services/CWsdlGenerator.php
2012-10-03 14:56:52 +02:00
lubosdz
c0115e8d06 Merge branch 'master' of https://github.com/lubosdz/yii 2012-10-03 14:44:35 +02:00
Alexander Kochetov
486723805e else if => elseif 2012-10-03 10:20:14 +04:00
lubosdz
0e24eeae2f Merge branch 'master' of https://github.com/yiisoft/yii 2012-10-02 18:21:37 +02:00
lubosdz
6328e193ac Merge branch 'master' of https://github.com/yiisoft/yii 2012-10-02 17:07:07 +02:00
lubosdz
4fd3e219f8 Make WSDL generator more compliant (minOccurs, maxOccurs, nillable) and allow overriding methods (tickets #1506 and #1476) 2012-10-01 12:27:14 +02:00
Diego Rocha
01716f5633 Update framework/web/services/CWsdlGenerator.php
Fixes the following error:

Warning: DOMDocument::loadXML() [domdocument.loadxml]: xmlns:tns: 'some\namespaced\ClassName' is not a valid URI in Entity, line: 4 in \yii\framework\web\services\CWsdlGenerator.php on line 221

No unit test today, just a DumbErrorTest class:

<?php
class DumbErrorTest
{

    public $serviceName;
    public $namespace;
    
    public function __construct()
    {

        $this->namespace = 'some\namespaced\ClassName';
        $this->serviceName = $this->namespace;
    
        $encoding = 'UTF-8';
        $serviceUrl = 'dummy';
        $this->buildDOM($serviceUrl,$encoding);
    }

    private function buildDOM($serviceUrl,$encoding)
    {
        $xml="<?xml version=\"1.0\" encoding=\"$encoding\"?>
<definitions name=\"{$this->serviceName}\" targetNamespace=\"{$this->namespace}\"
     xmlns=\"http://schemas.xmlsoap.org/wsdl/\"
     xmlns:tns=\"{$this->namespace}\"
     xmlns:soap=\"http://schemas.xmlsoap.org/wsdl/soap/\"
     xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
     xmlns:wsdl=\"http://schemas.xmlsoap.org/wsdl/\"
     xmlns:soap-enc=\"http://schemas.xmlsoap.org/soap/encoding/\"></definitions>";

        $dom=new DOMDocument();
        $dom->loadXml($xml);
        
        //more code...
    }
}

new DumbErrorTest();
2012-09-26 20:27:07 -03:00
Alexander Makarov
d865a3bab8 Fixes #1057 Removed SVN ids 2012-09-09 22:23:45 +04:00
resurtm
6671773738 Better docblock for the CWebService::$generatorConfig. 2012-08-03 18:00:29 +06:00
resurtm
647d4f3f83 Yii::createComponent() is much better than direct object creation. 2012-08-03 17:36:41 +06:00
resurtm
baf9c1277d Merge branch 'master' of git://github.com/yiisoft/yii into 243-web-service-generator-class 2012-08-03 17:26:55 +06:00
resurtm
b419711ece Fixes #190. WSDL return tag was not generated by CWsdlGenerator when Macintosh line endings were used inside service describing docblock. 2012-08-03 13:20:15 +06:00
resurtm
f458b78bea Forgot about the main part. CWebService::generateWsdl() now respects CWebService::$generatorClass value. 2012-08-03 12:30:11 +06:00
resurtm
9b96271ade Fixed version for 243 fix in the CWebService class. 2012-08-03 12:28:34 +06:00
resurtm
08a4e8ded8 Fixes #243. WebService is now able to deal with the customized WSDL generator classes. 2012-08-03 12:25:38 +06:00
marcovtwout
d97cf8fd9e Fixes issue #697: Fixed WSDLGenerator now generating proper namespace for certain complexTypes (patch submitted by BBoom) 2012-05-11 11:19:30 +02:00
mdomba
a7ef3d5d02 removed 1.0.x reference from documentation 2011-12-28 12:29:24 +00:00
alexander.makarow
646cbb2b9a Documented component accessors with @property for significantly better IDE autocomplete 2011-10-25 00:01:09 +00:00
qiang.xue
9e30faf27f (Fixes issue 2482) 2011-06-15 15:27:52 +00:00
alexander.makarow
0050917775 reverted 2498 fix 2011-06-15 14:21:12 +00:00
alexander.makarow
50626f850b UPGRADE notes for before* event-methods, additional methods changed 2011-06-14 08:38:23 +00:00
alexander.makarow
954fce1b25 2011-04-15 12:45:48 +00:00
alexander.makarow
9d9bb2fa2e 2011-04-15 11:17:25 +00:00
alexander.makarow
77021bd325 (Fixes issue 2303) Fixed not logging anything on WSDL service failure 2011-04-15 01:35:27 +00:00
qiang.xue
4be0af6917 changed copyright year. 2011-01-01 19:31:13 +00:00
qiang.xue
c1f573cf1f (Fixes issue 1659) 2010-11-01 22:57:10 +00:00
mdomba
72b974560b Updated PHPDoc @param parameter names 2010-09-23 13:28:52 +00:00
mdomba
ef2ca77957 added PHPDoc param where needed 2010-09-23 12:34:33 +00:00
qiang.xue
c38ac7a792 2010-09-03 15:08:40 +00:00
qiang.xue
0faad6ea3c 2010-09-03 14:51:38 +00:00
qiang.xue
1fbf69a43b (Fixes issue 1532) 2010-09-03 14:21:51 +00:00
qiang.xue
eb54ba7407 modified copyright info. 2010-01-07 21:02:00 +00:00
qiang.xue
c89b90a86e merge from 1.0 2010-01-02 13:34:38 +00:00
qiang.xue
7945be5f42 merge from 1.0 2009-10-18 21:13:52 +00:00
qiang.xue
de20c3ae81 merge from 1.0 2009-09-28 01:54:38 +00:00
qiang.xue
8efec6ae4c merge from 1.0 2009-05-07 21:43:44 +00:00
qiang.xue
c7a996249b merge from 1.0 2009-05-06 03:36:09 +00:00
qiang.xue@gmail.com
b124980319 merge from 1.0 2009-04-21 15:16:03 +00:00
qiang.xue
c634335db9 merge from 1.0 2009-03-23 15:31:21 +00:00
qiang.xue
20bf28469f merge from 1.0. 2008-12-30 23:14:31 +00:00
qiang.xue
f0380fba7c 2008-12-01 18:11:48 +00:00
qiang.xue
e1dc39e9ff moved files about Web services. 2008-12-01 18:09:58 +00:00