Re: Need Assisatance : Http-500(Internal Server Error)

satyapriya sahoo <[email protected]>
Newsgroups gmane.text.xml.axis.user
Message-ID <CAEp0eHNKYm3gawEFyMHt31=VWUC8J68mtfg6c12ianmHO6jP3Q@mail.gmail.com>
Please PUT a TCP Monitor in between your component and client, and see what
is going to client.


On Wed, Apr 10, 2013 at 3:17 PM, santosh kumar <[email protected]>wrote:

> Hi,
>
> I am facing an issue with Axis2 framework.
> I am using Apache Tomcat version 7.0.25 on which i have deployed my web
> service.
> The issue faced is :
>
> 1. whenever my service throws any exception Axis throws the same exception
> in XML format correctly  but in RAW data we see
>
> HTTP/1.1 500 Internal Server Error
> Server: Apache-Coyote/1.1
> Content-Type: text/xml;charset=UTF-8
> Transfer-Encoding: chunked
> Date: Wed, 10 Apr 2013 08:48:13 GMT
> Connection: close
>
> I want to know is it correct behaviour of Axis2 that in case of any
> exception it should throw Error 500 (Internal Server Error).
> Ideally it should throw Http code 200 along with the XML information
> containing the exception raised by web service, because communication is
> proper.
>
> If its the correct behavior then do we have any option to change this
> behavior of Axis 2.
>
> Please suggest some valuable tips as i am stuck with it .
>
> *With Regards*
> *Santosh Kumar*
>
>  <http://www.aricent.com/>
> <http://www.aricent.com/>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.