From:             jeroen at asystance dot nl
Operating system: linux
PHP version:      5.2SVN-2009-08-04 (snap)
PHP Bug Type:     SOAP related
Bug description:  SoapServer sometimes passes parameters as null

Description:
------------
I have a WSDL with three types: "customerId", "customer" and "order".

Calling a function with just a customer works, but a calling a function
with parameters (customerId, customer) does not - the customer parameter is
always null.

Another function, specified as (customerId, order), always works, so the
problem is not using more than one parameter (which could be a problem
since I'm using document/literal, and having more than one message part
does not conform to WS-I).

I have also tried switching the parameters and lots of other things but I
cannot find the underlying problem.

Reproduce code:
---------------
http://jayvee.nl/soaptest.tar

This includes a php file that runs a client as well as a server - so be
sure to change the service URL in interface.wsdl before you run this.

Expected result:
----------------
When SoapServer calls function addCustomer ( $p1, $p2 ), $p2 should be a
stdClass object (or array)

Actual result:
--------------
$p2 is null

-- 
Edit bug report at http://bugs.php.net/?id=49155&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=49155&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=49155&r=trysnapshot53
Try a snapshot (PHP 6.0):            
http://bugs.php.net/fix.php?id=49155&r=trysnapshot60
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=49155&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=49155&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=49155&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=49155&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=49155&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=49155&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=49155&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=49155&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=49155&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=49155&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=49155&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=49155&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=49155&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=49155&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=49155&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=49155&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=49155&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=49155&r=mysqlcfg

Reply via email to