Skip Menu |

This queue is for tickets about the SOAP-Lite CPAN distribution.

Report information
The Basics
Id: 41527
Status: resolved
Priority: 0/
Queue: SOAP-Lite

Owner: Nobody in particular
Requestors: arun.sharma [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: SOAP::Lite 0.69 with Apache2 HTTP Server module and mod_perl 2 returns 500 Internal Server error along with SoapFault XML when SoapFault is set
Date: Mon, 08 Dec 2008 12:24:40 +0530
To: "bug-SOAP-Lite " [...]
From: Arun Sharma <arun.sharma [...]>
Download (untitled) / with headers
text/plain 1.7k
Hi, When the SOAP Server generates a SOAP::Fault object, it sends the 500 Internal Server error along with the SoapFault XML in the response. I am generating the SOAP Error on the server using the Perl die() statement. SOAP::Lite 0.69 Server version: Apache/2.2.3 mod_perl/2.0.2 The response i am getting back is: &gt; <?xml version="1.0" encoding="utf-8"?> &gt; <soap:Envelope xmlns:xsi="" &gt; xmlns:soapenc="" &gt; xmlns:xsd="" &gt; soap:encodingStyle="" &gt; xmlns:soap=""> &gt; <soap:Body> &gt; <soap:Fault> &gt; <faultcode>Error</faultcode> &gt; <faultstring>state invalid</faultstring> &gt; </soap:Fault> &gt; </soap:Body> &gt; </soap:Envelope> &gt; <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> &gt; <html> &gt; <head> &gt; <title>500 Internal Server Error</title> &gt; </head> &gt; <body> &gt; <h1>Internal Server Error</h1> &gt; <p>The server encountered an internal error or misconfiguration &gt; and was unable &gt; to complete your request.</p> &gt; <p>Please contact the server administrator, &gt; a</p> &gt; </body> &gt; </html> Could you please check whether this is a bug with the SOAP::Lite module or something else i am missing. -- Thanks & Regards, Arun Sharma Software Programmer, *EarlySail* <> #6 & #11, Third Floor, Vasant Arcade, Nelson Mandela Road, Vasant Kunj, New Delhi 110070 (India) Off.: +91-11-46018633 Conf.: +91-11-46018622 Cell: +91-9911668122 Fax: ++1-360-248-0167
Hi arun, did you try the latest CPAN release? Martin
From: mwegener [...]
Download (untitled) / with headers
text/plain 321b
Hi, i had the same problem. SOAP::Lite 0.710.08 Apache 2.2.11 mod_perl 2.0.4 My solution was to change $r->status($self->response->code); to $r->status_line($self->response->code); in package SOAP::Transport::HTTP::Apache. This change resets the string the Apache webserver is going to send for a given status code.
Download (untitled) / with headers
text/plain 361b
Fixed in SVN in This error occured due to a change introduced in mod_perl 2: Now $r->status expects the status code to be a Apache2::Const:: constant $r->status_line however takes a string - so changing to status_line() for >= mod_perl 2 fixes the issue. Thanks for reporting, Martin

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to