ZF-7084: Zend_soap_client_DotNet ; _preProcessArguments > Wrong request

Issue Type: Bug Created: 2009-06-22T05:17:31.000+0000 Last Updated: 2009-09-18T07:30:28.000+0000 Status: Resolved Fix version(s): - 1.9.3 (22/Sep/09)

Reporter: Ing. Jitka Darbujanova (jitka_sunny) Assignee: Stefan Gehrig (sgehrig) Tags: - Zend_Soap_Client

Related issues: Attachments:


function returns

    // Do nothing
    return array($arguments);

but should return // Do nothing return $arguments;

It causes error in preparing requests. Input parameters are not included. When I patch code with return $arguments, it is processed well and request is completelly generated.

Client_DotNet code:

$input = new StdClass(); $input->username= $username; $result = $client->GetBEUser(array("input" => $input));


Posted by Daniel Pehrson (dpehrson) on 2009-09-03T21:54:35.000+0000

I would like to confirm this issue as well since I just attempted to work with a .NET web service.

Until the issue is fixed you can 'patch' your application by overriding the class with your own temporarily as follows:

class My_Soap_Client_DotNet extends Zend_Soap_Client_DotNet { public function _preProcessArguments($arguments) { $arguments = parent::_preProcessArguments($arguments); return $arguments[0]; } }

Posted by Stefan Gehrig (sgehrig) on 2009-09-18T07:30:28.000+0000

Fixed in trunk r18235 and in 1.9-release branch (r18236).

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.