ID:               42086
 Comment by:       michael dot tutty at gmail dot com
 Reported By:      sanderovich at avaya dot com
 Status:           No Feedback
 Bug Type:         SOAP related
 Operating System: linux
 PHP Version:      5.2.3
 Assigned To:      dmitry
 New Comment:

This bug seems to be the root of the problem. Has it been fixed??

http://bugs.php.net/bug.php?id=30302


Previous Comments:
------------------------------------------------------------------------

[2007-08-15 01:47:52] michael dot tutty at gmail dot com

Also, the zip file referenced by the O.P. is available as of two
minutes ago. Must have been a temporary outage.

------------------------------------------------------------------------

[2007-08-15 01:26:53] michael dot tutty at gmail dot com

Here's a minimal WSDL that shows the problem:
http://pastebin.com/m18b5d1fc

Here's the class file I used to reproduce with the WSDL above:
http://pastebin.com/m28bdf0f0

Here's a test client script: http://pastebin.com/m303880eb

------------------------------------------------------------------------

[2007-08-09 01:00:00] 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".

------------------------------------------------------------------------

[2007-08-01 11:10:27] [EMAIL PROTECTED]

I am not able to get code. Link doesn't work. "The file you are
requesting is not accesible due to a hardware or ISP problem. Please
retry Later".

------------------------------------------------------------------------

[2007-07-24 14:13:07] sanderovich at avaya dot com

Description:
------------
When using WSI Basic compliant wsdl, a call to functions without
parameters return procedure xxx not found despite the fact that the
function exist(they exist both in the wsdl and in the array returned by
SoapServer::getFunctions()).
Functions with parameters are being executed correctly.

For example:
A Soap call to : firstFunctionWithoutParam() 
return the following SoapFault:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";>
<SOAP-ENV:Body>
  <SOAP-ENV:Fault>
     <faultcode>SOAP-ENV:Server</faultcode>
        <faultstring>Procedure 'firstFunctionWithoutParam' not present
    </faultstring>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

despite the fact that the function exist in the return
SoapServer::getFunctions()
Array
(
    [0] => firstFunctionWithoutParam
    [1] => secondFunctionWithoutParam
    [2] => firstFunctionClassParam
    [3] => secondFunctionClassParam
)

Soap Data (from $HTTP_RAW_POST_DATA):
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";>
<SOAP-ENV:Body>
  <firstFunctionWithoutParam/>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Soap data for Soap call with parameters:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";>
  <SOAP-ENV:Body>
    <firstFunctionClassParam>
        <param>oren</param>
        <vectparam>one</vectparam>
        <vectparam>two</vectparam>
     </firstFunctionClassParam>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Thanks for your help

Reproduce code:
---------------
A zip file file SoapClient\Server can be found in following link
http://myfreefilehosting.com/f/bf039ff168_0.1MB



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=42086&edit=1

Reply via email to