axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Subra A Narayanan" <aswat...@gmail.com>
Subject Re: HTTP return codes
Date Mon, 03 Sep 2007 04:32:42 GMT
I apologize for the delay in replying.

My question was somewhat related to the my other question about REST support
in Axis2c. I have seen that a lot of webservices with REST support return
standard HTTP return codes like the following as a response

501- NOT IMPLEMENTED

*400 - Bad Request*
The syntax of the request was not understood by the server.

*401 - Not Authorised*
The request needs user authentication

Thats why I wanted to find out if something similar can be done in Axis2c as
well.


Subra


On 8/29/07, Samisa Abeysinghe <samisa@wso2.com> wrote:
>
> Samisa Abeysinghe wrote:
> > Subra A Narayanan wrote:
> >> Hello everyone,
> >>
> >> Is there any way to return standard HTTP return codes to the clients
> >> from a Axis2/C web service. For e.g. HTTP 404, HTTP 201, etc etc.
> > No, not using service client API. Transport info are hidden form client.
> BTW, what is the use case?
>
> Thanks,
> Samisa...
>
> --
> Samisa Abeysinghe : WSO2 WSF/C
> "
> http://wso2.org/projects/wsf/c?WSO2&nbsp;Web&nbsp;Services&nbsp;Framework/C&nbsp;-&nbsp;Open&nbsp;source&nbsp;C&nbsp;library&nbsp;for&nbsp;providing&nbsp;and&nbsp;consuming&nbsp;Web&nbsp;services
> "
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>

Mime
View raw message