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

 ID:          51475
 Updated by:  [email protected]
 Reported by: jstein at image dot dk
 Summary:     setPersistance not possible with setObject
-Status:      Open
+Status:      Feedback
 Type:        Bug
 Package:     SOAP related
 PHP Version: 5.3.2

 New Comment:

Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc. If the script requires a 
database to demonstrate the issue, please make sure it creates 
all necessary tables, stored procedures etc.

Please avoid embedding huge scripts into the report.




Previous Comments:
------------------------------------------------------------------------
[2010-04-05 11:37:34] jstein at image dot dk

Description:
------------
In
http://svn.php.net/viewvc/php/php-src/trunk/ext/soap/soap.c?revision=296820&view=markup
at line 1322 "setPersistence" checks for "service->type == SOAP_CLASS",
but if you want to set an object with "setObject" instead of a class,
the service type will be SOAP_OBJECT.



I guess it should be possible to use persistence with setObject (that's
what the documentation says:
http://www.php.net/manual/en/soapserver.setpersistence.php ).





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



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

Reply via email to