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 08:05:23 UTC
Can't route wsdl request into file
Hi. I've the following route configuration
it's purpose is (obviously) to save all the incoming messages into
target/reports/server/jetty/contractlast/input and outgoing into
target/reports/server/jetty/contractlast/output
It's working correctly for all the soap requests but when I'm trying to
request WSDL, request fails with the following error:
The following configuration
Could anybody help me to resolve this issue?
--
View this message in context: http://camel.465427.n5.nabble.com/Can-t-route-wsdl-request-into-file-tp5715201.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Can't route wsdl request into file
Posted by Claus Ibsen <cl...@gmail.com>.
On Thu, Jun 28, 2012 at 11:48 AM, wolfram <wo...@ritsuka.org> wrote:
> I've found the solution
>
>
>
> So, thanks for your hint.
>
> Also could you give me advice if such expressions with "simple" tag are fast
> enough?
>
Yep as it get parsed once on starting the route, and at runtime its
pure java code being evaluated.
> --
> View this message in context: http://camel.465427.n5.nabble.com/Can-t-route-wsdl-request-into-file-tp5715201p5715215.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
Re: Can't route wsdl request into file
Posted by wolfram <wo...@ritsuka.org>.
Note for any lurker who may read this thread. Correct route is:
I'm not sure that multicast is really required, but string conversion
definitely is
--
View this message in context: http://camel.465427.n5.nabble.com/Can-t-route-wsdl-request-into-file-tp5715201p5715222.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Can't route wsdl request into file
Posted by wolfram <wo...@ritsuka.org>.
I've found the solution
So, thanks for your hint.
Also could you give me advice if such expressions with "simple" tag are fast
enough?
--
View this message in context: http://camel.465427.n5.nabble.com/Can-t-route-wsdl-request-into-file-tp5715201p5715215.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Can't route wsdl request into file
Posted by Claus Ibsen <cl...@gmail.com>.
Hi
I assume the wsdl is a HTTP GET, eg ?wsdl in the uri.
If so then there is no message body (eg its null), and so when you
want to write that as a file, then the file producer cannot do that as
there is no message body to write.
You can for example use a Filter EIP to detect whether there is a
message body or not, and only write a file if there is a body.
On Thu, Jun 28, 2012 at 8:05 AM, wolfram <wo...@ritsuka.org> wrote:
> Hi. I've the following route configuration
>
>
>
> it's purpose is (obviously) to save all the incoming messages into
> target/reports/server/jetty/contractlast/input and outgoing into
> target/reports/server/jetty/contractlast/output
>
> It's working correctly for all the soap requests but when I'm trying to
> request WSDL, request fails with the following error:
>
>
>
> The following configuration
>
>
>
>
> Could anybody help me to resolve this issue?
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Can-t-route-wsdl-request-into-file-tp5715201.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