From: jfxberns at hotmail dot com
Operating system: Linux Fedora Core 2
PHP version: 5.0.2
PHP Bug Type: SOAP related
Bug description: Server did not recognize the value of HTTP Header SOAPAction
Description:
------------
php.ini-dist was copied directly to php.ini with no changes.
'./configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-xml'
'--enable-soap' '--enable-bcmath' '--enable-calendar' '--enable-ftp'
'--enable-magic-quotes' '--with-mysql' '--enable-discard-path'
'--with-pear' '--enable-sockets' '--enable-track-vars'
'--enable-versioning' '--with-zlib'
I have another outstanding bug submitted ("Bug #30106 SOAP cannot not
parse 'ref' element. Causes Uncaught SoapFault exception.") that might be
related, the other bug occurs whenI try to use WSDL to set up a SOAP
client.
Reproduce code:
---------------
<?php
$opts = array
('location' =>
'http://www.precisionreservations.com/PRWebServ/getOtherInformation.asmx',
'uri' => 'urn:getOtherInformation');
$parms = array
('AFFILIATE_ID' => 'XXXX',
'PASSWORD' => 'xxxxxxxx');
$client = new SoapClient(NULL, $opts);
$continents = $client->__call('getContinentList', $parms);
?>
(The line that starts with "$continents" is line 24 that PHP complains
about.
Expected result:
----------------
$continents should be assigned an array of continents and their IDs.
Actual result:
--------------
Fatal error: Uncaught SoapFault exception: [soap:Client] Server did not
recognize the value of HTTP Header SOAPAction:
urn:getOtherInformation#getContinentList. in
/usr/local/apache/htdocs/dh-bangkok/wstest/prtest-2.php:24 Stack trace: #0
{main} thrown in /usr/local/apache/htdocs/dh-bangkok/wstest/prtest-2.php on
line 24
--
Edit bug report at http://bugs.php.net/?id=30370&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30370&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30370&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30370&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=30370&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=30370&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=30370&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=30370&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=30370&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=30370&r=support
Expected behavior: http://bugs.php.net/fix.php?id=30370&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=30370&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=30370&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=30370&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30370&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=30370&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=30370&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=30370&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=30370&r=float
MySQL Configuration Error: http://bugs.php.net/fix.php?id=30370&r=mysqlcfg