I guess that one of the component does not forward the needed properties.
Which soap component do you use to request your web service ?
Could you send your configuration file ?

Cheers,
Guillaume Nodet

On 6/29/06, Alexandre Fradin <[EMAIL PROTECTED]> wrote:


I can't use a Splitter in In-Out exchage. Splitter can be used for In-Only
exchange.

When I initiate a In-Only exchange, use Xapth Splitter and call web
service,
then Agregator doesn't work. The routing is the following :


                                            Web service B (using Pipeline)
                                          /
\
Qwartz -- XSLT-- XpathSplitter
Agregator
                                          \
/
                                             Web service C (using
Pipeline)



Stacktrace :

ERROR - AsyncBaseLifeCycle.processExchangeInTx(338) | Error processing
exchange
[EMAIL PROTECTED]
java.lang.IllegalArgumentException: Could not retrieve correlation id for
incoming exchange
        at
org.apache.servicemix.eip.support.AbstractAggregator.process(
AbstractAggregator.java:136)
        at
org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(
AsyncBaseLifeCycle.java:397)
        at
org.apache.servicemix.common.AsyncBaseLifeCycle.processExchangeInTx(
AsyncBaseLifeCycle.java:336)
        at
org.apache.servicemix.common.AsyncBaseLifeCycle$2.run(
AsyncBaseLifeCycle.java:243)
        at

edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask
(ThreadPoolExecutor.java:650)
        at

edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run
(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)

If I replace agregator by trace, that's true there is no "Correlation ID"
:

INFO - TraceComponent.onMessageExchange(63) | Exchange:
org.apache.servicemix.jb
[EMAIL PROTECTED] received IN message:
org.apache.servicemix.jbi.mes
[EMAIL PROTECTED]: {Date=29 Jun 2006
08:12:40
GMT,
Server=Apache-Coyote/1.1, Content-Type=text/xml;charset=utf-8,
Transfer-Encodin
g=chunked}}
INFO - TraceComponent.onMessageExchange(63) | Exchange:
org.apache.servicemix.jb
[EMAIL PROTECTED] received IN message:
org.apache.servicemix.jbi.me
[EMAIL PROTECTED]: {Date=29 Jun 2006
08:12:40
GMT
, Server=Apache-Coyote/1.1, Content-Type=text/xml;charset=utf-8,
Transfer-Encodi
ng=chunked}}
INFO - TraceComponent.onMessageExchange(65) | Body is: <?xml version="1.0"
encod
ing="UTF-8"?><ns1:getQuoteResponse xmlns:ns1="urn:xmethods-delayed-quotes"
xmlns
:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.or
g/1999/XMLSchema"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance";><getQuot
eReturn xmlns:ns2="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.or
g/2001/XMLSchema-instance" xsi:type="ns2:string">ServiceMix
Quote</getQuoteRetur
n></ns1:getQuoteResponse>
INFO - TraceComponent.onMessageExchange(65) | Body is: <?xml version="1.0"
encod
ing="UTF-8"?><ns1:getPriceResponse xmlns:ns1="urn:xmethods-delayed-quotes"
xmlns
:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.or
g/1999/XMLSchema"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance";><getPric
eReturn xmlns:ns2="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.or
g/2001/XMLSchema-instance" xsi:type="ns2:string">My Example Job
Price</getPriceR
eturn></ns1:getPriceResponse>


Can I use Agregator component after a web service call?
--
View this message in context:
http://www.nabble.com/In-out-exchange---XPath-Splitter-%28eip%29-tf1860742.html#a5098771
Sent from the ServiceMix - User forum at Nabble.com.


Reply via email to