alemadlei Posted February 12, 2008 Share Posted February 12, 2008 Hi. I really hope you can help me with this one. I have programmed a SOAP web service. I started testing it on my development machine (Windows). I use WAMP. I access the web service using .Net, Visual Studio 2005. Now, I performed some actions to log errors if they were to happen during the request. I also store the request in a folder inside the web service folder structure. Something like this: MySOAPServiceFolder | |--- Requests I use function get_file_contents( 'php://input' ); to read the request and use file_put_contents ( dirname ( __FILE__ ) . "/Requests/{$requestId}.xml " ); to store them. Now, on my Windows machine It works perfectly. The requests are logged. But when I move the service to our Linux web server, no files are stored. I even tried to write some bogus stuff and the file was not created. I already checked permissions, and set a recursive 777 with chmod (desperate move). PHP error log does not store any error either. PHP versions are superior to 5.0 on both machines. Is there something that should be configured on php.ini that allows a SOAP request to write to a file? 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.