ID:               30302
 Updated by:       [EMAIL PROTECTED]
 Reported By:      julien dot wajsberg at francetelecom dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         SOAP related
 Operating System: Windows XP
 PHP Version:      5.0.2
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip




Previous Comments:
------------------------------------------------------------------------

[2005-04-19 09:31:03] julien dot wajsberg at francetelecom dot com

Yes, the new location for the article is :

http://atmanes.blogspot.com/2005/03/wrapped-documentliteral-convention.html

------------------------------------------------------------------------

[2005-04-18 22:21:51] peter dot ordal at rochester dot edu

The article linked in the initial report has been taken down, but is
available via archive.org.

http://web.archive.org/web/20041012031835/http://www.burtongroup.com/weblogs/annethomasmanes/archives/2004/04/000187.html

There are some formatting issues to watch out for.

I tried dmitry's idea but I just get an emtpy stdClass object back.

------------------------------------------------------------------------

[2004-12-01 18:26:25] [EMAIL PROTECTED]

ext/soap works fine with this WSDL file.

To call function on a client side use:

$client->add(array("arg1"=>2,"arg2"=>3));

On server side you can use the following function:

function add($args) {
  return $args->arg1 + $args->arg2;
}



------------------------------------------------------------------------

[2004-10-01 14:45:53] julien dot wajsberg at francetelecom dot com

Description:
------------
The mode "Document/literal with wrapped convention" is the current
industry consensus for exposing Web Services. In particular, the WS-I
explicitely forbids use of "RPC/encoded" mode, and most toolkits
vendors are working towards "document wrapped/literal".

A very good explanation of this convention can be found on
http://www.burtongroup.com/weblogs/annethomasmanes/archives/2004/04/000187.html

I would suggest adding another mode to the "style" options to
SoapClient constructor: SOAP_WRAPPED.
There should also be some logic to understand a wsdl using this
convention, but it could be done afterwards.

This convention is really very similar to "rpc/literal" mode; I didn't
test this mode, but if it's already functional, it shouldn't be hard to
implement "document wrapped/literal".




------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=30302&edit=1

Reply via email to