php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #44856 SOAPAction empty when WSDL has 2+ port bindings
Submitted: 2008-04-28 17:24 UTC Modified: 2008-10-29 01:00 UTC
Votes:3
Avg. Score:5.0 ± 0.0
Reproduced:3 of 3 (100.0%)
Same Version:0 (0.0%)
Same OS:2 (66.7%)
From: alejandro at vicomstudio dot com Assigned:
Status: No Feedback Package: SOAP related
PHP Version: 5.2.5 OS: Windows
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: alejandro at vicomstudio dot com
New email:
PHP Version: OS:

 

 [2008-04-28 17:24 UTC] alejandro at vicomstudio dot com
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: ""

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-10-21 11:34 UTC] jani@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/


 [2008-10-29 01:00 UTC] 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".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 17:01:58 2024 UTC