You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by wolfram <wo...@ritsuka.org> on 2012/06/28 12:20:58 UTC

[jetty/http component bug?] Soap exceptions are incorrectly processed by camel/cxf client

Hi.

I've webservice with the following wsdl:



So I've java code that throws NoSuchCustomerException.

This webservice is published using Apache CXF and Apache Camel in the
following way:


There is also two clients  configured in the following ways:

Client 1 (plain sockets, netty):




Client 2 (HTTP):


When I'm calling customerService.getCustomersByName("none"); in client 1
I've got correct     NoSuchCustomerException on client side. But such call
at client2 throws HttpOperationFailedException


Makes no sense.


Could anybody help me to resolve this ugly issue?


--
View this message in context: http://camel.465427.n5.nabble.com/jetty-http-component-bug-Soap-exceptions-are-incorrectly-processed-by-camel-cxf-client-tp5715217.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: [jetty/http component bug?] Soap exceptions are incorrectly processed by camel/cxf client

Posted by wolfram <wo...@ritsuka.org>.
It works, thank you very much :3

--
View this message in context: http://camel.465427.n5.nabble.com/jetty-http-component-bug-Soap-exceptions-are-incorrectly-processed-by-camel-cxf-client-tp5715217p5715219.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: [jetty/http component bug?] Soap exceptions are incorrectly processed by camel/cxf client

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

A good idea is to read the Camel component documents, and check the
options in the tables etc.
http://camel.apache.org/http

See for example the option throwExceptionOnFailure

On Thu, Jun 28, 2012 at 12:20 PM, wolfram <wo...@ritsuka.org> wrote:
> Hi.
>
> I've webservice with the following wsdl:
>
>
>
> So I've java code that throws NoSuchCustomerException.
>
> This webservice is published using Apache CXF and Apache Camel in the
> following way:
>
>
> There is also two clients  configured in the following ways:
>
> Client 1 (plain sockets, netty):
>
>
>
>
> Client 2 (HTTP):
>
>
> When I'm calling customerService.getCustomersByName("none"); in client 1
> I've got correct     NoSuchCustomerException on client side. But such call
> at client2 throws HttpOperationFailedException
>
>
> Makes no sense.
>
>
> Could anybody help me to resolve this ugly issue?
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/jetty-http-component-bug-Soap-exceptions-are-incorrectly-processed-by-camel-cxf-client-tp5715217.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen