Hi All, I am using rampart 1.4 and Axis2 1.4. I have parameterbased ws-security enabled services. In normal cases when there is no error at the time of invocation (invocation of business logic) of the service, it works fine. Following is the SOAP is returned by axis2 (captured in TCPMon):
*Good One* -------------- HTTP/1.1 200 OK Content-Type: text/xml;charset=UTF-8 Transfer-Encoding: chunked Date: Wed, 29 Jul 2009 12:56:25 GMT Server: Apache-Coyote/1.1 <?xml version='1.0' encoding='UTF-8'?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <ns:invokeResponse xmlns:ns="http://www.abc.com/webservice"> <ns:return>5.5</ns:return> </ns:invokeResponse> </soapenv:Body> </soapenv:Envelope> So far so good. Now when some error happens at the time of service invocation it does not return SOAP fault back. I got following things (captured in TCPMon): Bad One ---------- HTTP/1.1 500 Internal Server Error Content-Type: text/html;charset=UTF-8 Content-Language: en-US Content-Length: 980 Date: Wed, 29 Jul 2009 12:58:29 GMT Server: Apache-Coyote/1.1 Connection: close <html><head><title>Apache Tomcat/5.0.19 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 500 - </h1><HR size="1" noshade><p><b>type</b> Status report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The server encountered an internal error () that prevented it from fulfilling this request.</u></p><HR size="1" noshade><h3>Apache Tomcat/5.0.19</h3></body></html> I have no clue what went wrong. Am I missing something? Do I need to configure anything in services.xml (inside inflowsecurity)/axis2.xml? or is this a bug? Chinmoy
