ID:               30302
 Comment by:       peter dot ordal at rochester dot edu
 Reported By:      julien dot wajsberg at francetelecom dot com
 Status:           No Feedback
 Bug Type:         SOAP related
 Operating System: Windows XP
 PHP Version:      5.0.2
 New Comment:

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.


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

[2004-12-09 01:00:03] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

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

[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