10011010 Posted March 12, 2008 Share Posted March 12, 2008 Hi, I have some webservices which return a soap fault on a failed login, which the php SoapClient turns into a php exception. Calling getMessage() for the exception returns the error string I initally threw the exception with. Thats on a machine running php 5.2.0. The server I'm trying to deploy to runs php 5.0.4. getMessage() here is empty. when I var_dump the exception, I see the string I expect is in "faultstring" but is not returned by getMessage(). Was there a change in the contruction of php exceptions from the php soap library between these versions? I'm relatively new to soap and webservices so any insight is welcome. Upgrading php on the target host is not very possible. Thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.