You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by Subra A Narayanan <as...@gmail.com> on 2007/08/29 23:34:13 UTC
HTTP return codes
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.
Subra
Re: HTTP return codes
Posted by Subra A Narayanan <as...@gmail.com>.
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 <sa...@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 Web Services Framework/C - Open source C library for providing and consuming Web services
> "
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>
Re: HTTP return codes
Posted by Samisa Abeysinghe <sa...@wso2.com>.
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 Web Services Framework/C - Open source C library for providing and consuming Web services"
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org
Re: HTTP return codes
Posted by Samisa Abeysinghe <sa...@wso2.com>.
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.
Samisa..
>
> Subra
--
Samisa Abeysinghe : WSO2 WSF/C
"http://wso2.org/projects/wsf/c?WSO2 Web Services Framework/C - Open source C library for providing and consuming Web services"
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org