Commit Graph

44 Commits

Author SHA1 Message Date
Arhell
4e28f262d3 update links 2022-08-15 01:00:48 +03:00
Arhell
fad0c5be77 update links 2022-08-07 11:54:16 +03:00
Armano
26368deace Fix spelling in documentation and add missing/invalid documentation [skip ci] 2016-07-19 14:01:14 +03:00
Anne Datema
5a7178018c Fixed namespace prefix in WSDL generator for arrayType. 2015-01-23 14:24:11 +01:00
Jan Was
dc0503625d fix wsdl generator 2014-01-31 10:44:56 +01:00
Carsten Brandt
990cce4bb1 Merge PR #2140 branch '94-document-literal-wsdl' of https://github.com/nineinchnick/yii into nineinchnick-94-document-literal-wsdl
* '94-document-literal-wsdl' of https://github.com/nineinchnick/yii:
  use consts in place of 'rpc' and 'encoded' for operationBodyStyle and bindingStyle properties
  enh #94, added a wrapper in CWebService handling method arguments and response in document mode
  enh #94, added support for document/literal WSDL in generator, inspired by Zend 2.0 Soap Autodiscover class
2014-01-30 12:36:45 +01:00
Jan Was
0904589a5e Merge branch 'master' into 89-soap-header 2014-01-30 12:13:11 +01:00
Jan Was
f1abb793a0 Merge branch 'master' into 94-document-literal-wsdl 2014-01-30 12:12:55 +01:00
Leo R. Lundgren
50082a8a64 Correct invalid tags in the PHPdoc. 2013-08-21 00:58:55 +02:00
John Was
3c94a7acc8 use consts in place of 'rpc' and 'encoded' for operationBodyStyle and bindingStyle properties 2013-08-15 14:09:30 +02:00
John Was
3ecab01ef0 Merge branch 'master' into 94-document-literal-wsdl
Conflicts:
	CHANGELOG
	framework/web/services/CWsdlGenerator.php
2013-05-27 20:58:57 +02:00
John Was
0b2892cb3b Merge branch 'master' into 89-soap-header
Conflicts:
	CHANGELOG
2013-05-27 20:42:01 +02:00
lubosdz
9a6267ef27 Merge branch 'master' of https://github.com/lubosdz/yii
Fixed code styling and few typos in documentation.
2013-05-09 13:06:47 +02:00
lubosdz
78ff0c235f Merge branch 'master' of https://github.com/yiisoft/yii
Fixed conflict with text/xml header.
Changed signature of CWsdlGenerator::buildHtmlDocs($return=false) to callable from other script. Also needed for unit test.
2013-03-07 17:40:14 +01:00
John Was
0cf92a5a6a enh #89, support for SOAP headers in WSDL generator 2013-02-21 23:40:08 +01:00
John Was
a61b6de16e enh #94, added support for document/literal WSDL in generator, inspired by Zend 2.0 Soap Autodiscover class 2013-02-21 22:52:52 +01:00
lubosdz
da7799d939 Issue #1966 - CWsdlGenerator now supports soap indicators (sequence, choice), injecting of custom WSDL string block and generation of human-friendly documentation for complex types. Added unit test. 2013-02-01 16:35:54 +01:00
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
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
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
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
qiang.xue
4be0af6917 changed copyright year. 2011-01-01 19:31:13 +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
8efec6ae4c merge from 1.0 2009-05-07 21:43:44 +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