ID: 30302 Updated by: [EMAIL PROTECTED] Reported By: julien dot wajsberg at francetelecom dot com -Status: Feedback +Status: No Feedback Bug Type: SOAP related Operating System: Windows XP PHP Version: 5.0.2 New Comment:
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". Previous Comments: ------------------------------------------------------------------------ [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