|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-10-21 11:34 UTC] jani@php.net
[2008-10-29 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 08:00:02 2025 UTC |
Description: ------------ PHP SoapClient seems to have trouble making calls when the WSDL has two or more port bindings present that share function names Reproduce code: --------------- <?php class mySoapClient extends SoapClient { public function __doRequest( $request, $location, $action, $version, $one_way ){ print_r( 'SOAPAction: "' . $action . '"<br>' ); return ''; // Response is not important here } } $wsdl = 'http://www.vicomstudio.com/alejandro/WSDL2.wsdl'; $ws = new mySoapClient( $wsdl, array( 'trace' => true ) ); // Create an example request $response = $ws->listOffers( array( 'keywords' => 'dvd', 'itemPage' => 1, 'merchantID' => array( 'value' => 'Amazon' ), 'category' => array( 'name' => 'Automotive', 'value' => 'Automotive' ) ) ); ?> Expected result: ---------------- SOAPAction: "listOffers" Actual result: -------------- SOAPAction: ""