I have a webservice that accepts an object (or bean). I have tested it, running it within MyEclipse on Tomcat 5.5. and JVM 1.5.0. I call it from both the MyEclipseIDE and from a php script with no problem. However, when I deploy the war file to a different server, I get the following error:
Fatal error: Uncaught SoapFault exception: [soap:Client] Couldn’t set property {http://**.***.*********.com}date on **.***.*********.MyObject@708d30. null in import.php:391
Stack trace:
#0 [internal function]: SoapClient->__call(‘saveNewObject…’, Array)
#1 import.php(391): SoapClient->saveNewObject(Object(stdClass))
thrown in import.php on line 391
The date is not null, and is set to “2007-05-23T00:00:00.000Z”
I then realized that the server is running JVM 1.6.0. I updated my MyEclipse tomcat deployement to point to 1.5, and get the same error, both from within MyEclipse and php.
The server is using:
Apache Tomcat/5.5.17
JVM 1.6.0_02-b05
The Dev env is using:
Apache Tomcat/5.5.23
JVM 1.5.0_11-b03 and was switched to JVM 1.6.0
Any ideas?
Regards
Rian