Zend Framework

Zend_soap_client_DotNet ; _preProcessArguments > Wrong request

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: 1.8.3
  • Fix Version/s: 1.9.3
  • Component/s: Zend_Soap_Client
  • Labels:
    None

Description

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));

Activity

Hide
Daniel Pehrson added a comment -

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]; }

}

Show
Daniel Pehrson added a comment - 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]; } }
Hide
Stefan Gehrig added a comment -

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

Show
Stefan Gehrig added a comment - Fixed in trunk r18235 and in 1.9-release branch (r18236).

People

Vote (1)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: