ID: 30370
Updated by: [EMAIL PROTECTED]
Reported By: jfxberns at hotmail dot com
-Status: Assigned
+Status: Bogus
Bug Type: SOAP related
Operating System: Linux Fedora Core 2
PHP Version: 5.0.2
Assigned To: dmitry
New Comment:
This is not a bug.
If you don't use WSDL then you should specify "soapaction" by your
self.
$continents = $client->__call('getContinentList', $parms,
array("soapaction"=>"http://tempuri.org/PRWebServ/getOtherInformation/getContinentList"));
Previous Comments:
------------------------------------------------------------------------
[2004-10-15 09:20:47] ashish dot sohane at nichelive dot com
Error :
Server did not recognize the value of HTTP Header SOAPAction
------------------------------------------------------------------------
[2004-10-08 21:14:15] jfxberns at hotmail dot com
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 this bug report at http://bugs.php.net/?id=30370&edit=1