Req #30302 [Com]: Implement Document/Literal with wrapped convention
| From: | driezasson at me dot com | Date: | Fri, 11 Sep 2015 08:57:39 +0000 |
| Subject: | Req #30302 [Com]: Implement Document/Literal with wrapped convention | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-195956@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=30302&edit=1
ID: 30302
Comment by: driezasson at me dot com
Reported by: julien dot wajsberg at francetelecom dot com
Summary: Implement Document/Literal with wrapped convention
Status: Assigned
Type: Feature/Change Request
Package: SOAP related
Operating System: Windows XP
PHP Version: 5.2.6
Assigned To: dmitry
Block user comment: N
Private report: N
New Comment:
Is it possible that this is not fixed in PHP 5.4.45? Using document/literal with PHP SoapServer
results in âProcedure 'â¦' not presentâ error.
Previous Comments:
------------------------------------------------------------------------
[2008-10-02 23:19:56] ankurbarua at gmail dot com
Does ext/soap now support Document/Literal Wrapped convention? i am still not able to make is work
with 5.2.6.
------------------------------------------------------------------------
[2008-07-03 15:33:12] carmi at avaya dot com
We are working with Zend and need to connect with Axis 2.0 which doesn't support rpc/encoding
so we need to support document/literal wrapped.
As stated below, Zend 5.2 also doen't support for document/literal wrapped WSDL generation.
------------------------------------------------------------------------
[2008-07-03 14:52:04] julien dot wajsberg at francetelecom dot com
Although I've no more time to contriute to this but, someone requested me to reopen the bug so
that he could contribute.
------------------------------------------------------------------------
[2007-12-09 01:58:26] brian dot nelson at chordiant dot com
I am also experiencing this problem. I don't think that it's even a question that this
isn't implemented.
I am running PHP 5.2.3 on Ubuntu (PHP 5.2.3-1ubuntu6.2) and trying to use ClearSpace SOAP calls.
It's dirty enough to get the authentication working, but the calling of methods through
__soapCall is pretty nasty. .NET, Java, and C# all support wrapped methods. It's sad that PHP
doesn't.
I know that there is some work around PHP6 for SOAP connectivity, but it would be really nice if we
could work well with other systems in PHP5.
Here's the CS soap doc:
http://www.jivesoftware.com/builds/docs/clearspace/latest/ClearspaceWebServicesDevGuide.html#ClearspaceWebServicesDevGuide-WebServiceStyle
------------------------------------------------------------------------
[2007-09-21 01:16:02] php-bugs-0709 at nico dot edtinger dot at
(Sorry to comment on this old bug)
While it's possible to use doc/lit wrapped with SoapClient and SoapServer it's a bit ugly
because the child elements don't wrap directly to the method parameters.
As doc/lit wrapped is used very often and sometimes the only possibility it would still be nice to
use it directly so you can write:
$client->add(2, 3);
on the client side and:
function add($arg1, $arg2) {
return $arg1 + $arg2;
}
on the server side. It would make SOAP transparent to handling class, as it currently does with
rpc/enc.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=30302
--
Edit this bug report at https://bugs.php.net/bug.php?id=30302&edit=1