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 " [...] rt.cpan.org |
From: | Arun Sharma <arun.sharma [...] earlysail.com> |
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:
> <?xml version="1.0" encoding="utf-8"?>
> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
> <soap:Body>
> <soap:Fault>
> <faultcode>Error</faultcode>
> <faultstring>state invalid</faultstring>
> </soap:Fault>
> </soap:Body>
> </soap:Envelope>
> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> <html>
> <head>
> <title>500 Internal Server Error</title>
> </head>
> <body>
> <h1>Internal Server Error</h1>
> <p>The server encountered an internal error or misconfiguration
> and was unable
> to complete your request.</p>
> <p>Please contact the server administrator,
> webmaster@netwide.com.au a</p>
> </body>
> </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* <http://www.earlysail.com>
#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