|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2004-10-08 21:14 UTC] 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
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 19 13:00:01 2025 UTC |
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"));