You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by skompelly <sk...@gmail.com> on 2011/06/21 08:36:42 UTC
Http Status code from CXFRS - not working.
Hi
I am posting a message to external web service using cxfrs web service.
I gave in the route as .to(cxfrs://{{url}) , its connecting to server and i
am expecting the http response status (like 201, 404, etc) in return. After
.to statement i have a processor where i am trying to print the headers and
body, i dont see the http status codes.
i.e like i am able to get these http status codes using HttpClient , but
using cxfrs i am not able to get these http status codes.
Can anyone please help me out , what i have to do to get the http status
code and description from cxfrs webservice response.
Thanks in advance.
Regards,
Santosh
--
View this message in context: http://camel.465427.n5.nabble.com/Http-Status-code-from-CXFRS-not-working-tp4509452p4509452.html
Sent from the Camel Development mailing list archive at Nabble.com.
Re: Http Status code from CXFRS - not working.
Posted by skompelly <sk...@gmail.com>.
Thanks Willams,
Is there any alternative way i can get the http response status code.
Do i have to set any header before invoking cxfrs webservice.
Please let me know.
Thanks,
Santosh
--
View this message in context: http://camel.465427.n5.nabble.com/Http-Status-code-from-CXFRS-not-working-tp4509452p4509870.html
Sent from the Camel Development mailing list archive at Nabble.com.
Re: Http Status code from CXFRS - not working.
Posted by Willem Jiang <wi...@gmail.com>.
Hi,
I just checked the code of camel-cxfrs producer, it can't always get the
response code now. I just create a JIRA[1] for it.
[1]https://issues.apache.org/jira/browse/CAMEL-4128
On 6/21/11 2:36 PM, skompelly wrote:
> Hi
>
> I am posting a message to external web service using cxfrs web service.
>
> I gave in the route as .to(cxfrs://{{url}) , its connecting to server and i
> am expecting the http response status (like 201, 404, etc) in return. After
> .to statement i have a processor where i am trying to print the headers and
> body, i dont see the http status codes.
>
> i.e like i am able to get these http status codes using HttpClient , but
> using cxfrs i am not able to get these http status codes.
>
> Can anyone please help me out , what i have to do to get the http status
> code and description from cxfrs webservice response.
>
> Thanks in advance.
>
> Regards,
> Santosh
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Http-Status-code-from-CXFRS-not-working-tp4509452p4509452.html
> Sent from the Camel Development mailing list archive at Nabble.com.
>
--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Weibo: willemjiang