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 "Krankurs, Leonid" <lk...@ford.com> on 2007/07/10 21:22:02 UTC

Axis2c, axis2_http_simple_request

Hello,

Is there any way in Axis2c to "convert" HTTP request given as axis2_char_t*
to axis2_http_simple_request?

Thank you,
Leonid
-- 
View this message in context: http://www.nabble.com/Axis2c%2C-axis2_http_simple_request-tf4057922.html#a11527666
Sent from the Axis - C++ - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Re: Axis2c, axis2_http_simple_request

Posted by "Krankurs, Leonid" <lk...@ford.com>.
Hi Sahan,

Thanks for the quick response.

I have already browsed this code, however it is not that i am looking for
...  

Regards,
Leonid




Sahan Gamage-2 wrote:
> 
> Hi Leonid,
> 
> AFAIK we don't have such a function implemented. However you can get
> an idea of how to do it by looking at the code in
> axis2_simple_http_svr_conn_read_request() in
> src/core/transport/http/common/simple_http_svr_conn.c.
> 
> Thanks
> -sahan
> 
> On 7/11/07, Krankurs, Leonid <lk...@ford.com> wrote:
>>
>> Thanks for the quick response
>>
>> given - HTTP request as a byte stream
>> needed - parsed HTTP request as a
>> (collection of HTTP headers (name, value)) + content
>>
>> i can parse it myself, however - would be nice to get it for free ...
>>
>> Regards,
>> Leonid
>>
>>
>>
>>
>> Samisa Abeysinghe-4 wrote:
>> >
>> > Krankurs, Leonid wrote:
>> >> Hello,
>> >>
>> >> Is there any way in Axis2c to "convert" HTTP request given as
>> >> axis2_char_t*
>> >> to axis2_http_simple_request?
>> >>
>> > No not directly. What is your usecase?
>> >
>> > Samisa...
>> >
>> > --
>> > Samisa Abeysinghe : http://www.wso2.org/ (WSO2 Oxygen Tank - Web
>> Services
>> > Developers' Portal)
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
>> > For additional commands, e-mail: axis-c-user-help@ws.apache.org
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Axis2c%2C-axis2_http_simple_request-tf4057922.html#a11539811
>> Sent from the Axis - C++ - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Axis2c%2C-axis2_http_simple_request-tf4057922.html#a11558476
Sent from the Axis - C++ - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Re: Axis2c, axis2_http_simple_request

Posted by Sahan Gamage <sa...@gmail.com>.
Hi Leonid,

AFAIK we don't have such a function implemented. However you can get
an idea of how to do it by looking at the code in
axis2_simple_http_svr_conn_read_request() in
src/core/transport/http/common/simple_http_svr_conn.c.

Thanks
-sahan

On 7/11/07, Krankurs, Leonid <lk...@ford.com> wrote:
>
> Thanks for the quick response
>
> given - HTTP request as a byte stream
> needed - parsed HTTP request as a
> (collection of HTTP headers (name, value)) + content
>
> i can parse it myself, however - would be nice to get it for free ...
>
> Regards,
> Leonid
>
>
>
>
> Samisa Abeysinghe-4 wrote:
> >
> > Krankurs, Leonid wrote:
> >> Hello,
> >>
> >> Is there any way in Axis2c to "convert" HTTP request given as
> >> axis2_char_t*
> >> to axis2_http_simple_request?
> >>
> > No not directly. What is your usecase?
> >
> > Samisa...
> >
> > --
> > Samisa Abeysinghe : http://www.wso2.org/ (WSO2 Oxygen Tank - Web Services
> > Developers' Portal)
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-c-user-help@ws.apache.org
> >
> >
> >
>
> --
> View this message in context: http://www.nabble.com/Axis2c%2C-axis2_http_simple_request-tf4057922.html#a11539811
> Sent from the Axis - C++ - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Re: Axis2c, axis2_http_simple_request

Posted by "Krankurs, Leonid" <lk...@ford.com>.
Thanks for the quick response

given - HTTP request as a byte stream
needed - parsed HTTP request as a 
(collection of HTTP headers (name, value)) + content

i can parse it myself, however - would be nice to get it for free ...

Regards,
Leonid
 



Samisa Abeysinghe-4 wrote:
> 
> Krankurs, Leonid wrote:
>> Hello,
>>
>> Is there any way in Axis2c to "convert" HTTP request given as
>> axis2_char_t*
>> to axis2_http_simple_request?
>>   
> No not directly. What is your usecase?
> 
> Samisa...
> 
> -- 
> Samisa Abeysinghe : http://www.wso2.org/ (WSO2 Oxygen Tank - Web Services
> Developers' Portal)
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Axis2c%2C-axis2_http_simple_request-tf4057922.html#a11539811
Sent from the Axis - C++ - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Re: Axis2c, axis2_http_simple_request

Posted by Samisa Abeysinghe <sa...@wso2.com>.
Krankurs, Leonid wrote:
> Hello,
>
> Is there any way in Axis2c to "convert" HTTP request given as axis2_char_t*
> to axis2_http_simple_request?
>   
No not directly. What is your usecase?

Samisa...

-- 
Samisa Abeysinghe : http://www.wso2.org/ (WSO2 Oxygen Tank - Web Services Developers' Portal)


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org