Re: [SOAP] Request from IBM WebSphere causes HTTP status 500
[email protected] (Fernando Morgenstern)
| Newsgroups | php.soap |
|---|---|
| Message-ID | <[email protected]> |
Hello, Try to check you apache error log. If you are using Debian Lenny, them it is probably on /var/log/apache2/error.log It might show you why error 500 is happening. Regards, Fernando Morgenstern Em 27/05/2009, às 09:53, [email protected] escreveu: > Hello everyone, > > I've been working on a SOAP webservice lately and experienced major > problems with an IBM WebSphere client. > > My setup: > - Debian Lenny > - PHP 5.2.6-1 > - PHP's official SOAP extension > > I provide a simple service with a single operation named execute(), > offering a generic interface for remote procedure calls. I checked > my SoapServer with a PHP client and it works like a charm. > > However if the service consumer runs an IBM WebSphere my methods > never get called. I checked Apache's access.log and it says: > > XXX.XXX.XX.XXX - - [25/May/2009:16:41:56 +0200] "POST /server.php > HTTP/1.1" 500 296 "-" "IBM WebServices/1.0" > > XXX.XXX.XX.XXX - - [25/May/2009:17:00:24 +0200] "POST /server.php > HTTP/1.1" 200 891 "-" "My PHP Client" > > As you can see, the webserver responds with HTTP status 500. I don't > have a clue why this happens. Has anybody experienced similar > problems with IBM WebSphere + PHP's official SOAP extension? > > I found a bug report from December 2007, but I'm not entirely sure > whether this is a similar problem at all (my script isn't called > at all, so it cannot throw a SOAPFault, right?): > http://bugs.php.net/bug.php?id=43507 > > I added some logging calls to server.php and my service class > (the one I use in $server->setClass('MyService')), but they > are never triggered. > > Any ideas? I don't have any influence on the customers webservice, > so it's tough to make out what causes the problem (at least for me). > Does Apache log the complete requests somehow? Maybe that could be > helpful? > > I'd appreciate any help, because I'm a little lost with this problem > right now. I'll provice you with further information, if needed. > > Thanks in advance, I'm looking forward to your responds. > > Bernd > -- > Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + > Telefonanschluss für nur 17,95 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02 > > -- > PHP Soap Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >