-
1. Re: Camel route between http/soap endpoints
veraniego Jan 21, 2010 3:52 AM (in response to veraniego)I've heard that is a bug with the exchange property copying which has already been fixed.
I've solved it changing to a newer camel archetype version... but now I'm facing a new error:
09:39:41,375 | WARN | 27531427@qtp2-0 | NMR | .servicemix.nmr.core.ChannelImpl 293 | Error processing exchange [
id: 5a453c37-a8f7-4869-8fc8-982e7b072265
mep: InOut
status: Active
role: Consumer
target: PropertyMatchingReference[{SERVICE_NAME={http://docs.oasis-open.org/ns/cmis/ws/200901}RepositoryServiceListener}]
operation: getRepositories
properties: [
org.apache.servicemix.senderEndpoint = RepositoryServiceConsumer:soap
javax.jbi.messaging.MessageExchange = org.apache.servicemix.jbi.runtime.impl.InOutImpl@151ad98
javax.jbi.messaging.sendSync =
org.apache.servicemix.correlationId = 5a453c37-a8f7-4869-8fc8-982e7b072265
javax.jbi.ServiceName = RepositoryServiceListener
]
In: [
content: org.apache.servicemix.jbi.jaxp.StaxSource@19d87bc
properties: [
org.apache.servicemix.soap.headers = {{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security=[#document-fragment: null]}
]
]
]
org.apache.servicemix.nmr.api.ServiceMixException: Could not dispatch exchange. No matching endpoints.
....
Thank you!!
-
2. Re: Camel route between http/soap endpoints
njiang Jan 21, 2010 10:25 AM (in response to veraniego)Hi
Changing the camel archetype version can't help you, as you need to change the servicemix-camel component's version.
Maybe you need to check out the latest ServiceMix 3.3.x for upgrading the servicemix-camel component.
Willem
-
3. Re: Camel route between http/soap endpoints
veraniego Jan 24, 2010 11:40 AM (in response to njiang)Hi again!
I was using the FUSE ESB 4.1.0.2, and now I've changed to apache-servicemix-4.1.0-psc-01-00RC1. And now I'm getting the following error, with the same config:
09:39:41,375 | WARN | 27531427@qtp2-0 | NMR | .servicemix.nmr.core.ChannelImpl 293 | Error processing exchange [
id: 5a453c37-a8f7-4869-8fc8-982e7b072265
mep: InOut
status: Active
role: Consumer
target: PropertyMatchingReference[{SERVICE_NAME={http://docs.oasis-open.org/ns/cmis/ws/200901}RepositoryServiceListener}]
operation: getRepositories
properties: [
org.apache.servicemix.senderEndpoint = RepositoryServiceConsumer:soap
javax.jbi.messaging.MessageExchange = org.apache.servicemix.jbi.runtime.impl.InOutImpl@151ad98
javax.jbi.messaging.sendSync =
org.apache.servicemix.correlationId = 5a453c37-a8f7-4869-8fc8-982e7b072265
javax.jbi.ServiceName = RepositoryServiceListener
]
In: [
content: org.apache.servicemix.jbi.jaxp.StaxSource@19d87bc
properties: [
org.apache.servicemix.soap.headers = {{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security=[#document-fragment: null]}
]
]
]
org.apache.servicemix.nmr.api.ServiceMixException: Could not dispatch exchange. No matching endpoints.
....
Thank you for the answer!
Edited by: verano on Jan 24, 2010 4:40 PM
-
4. Re: Camel route between http/soap endpoints
njiang Jan 24, 2010 8:47 PM (in response to veraniego)It looks like servicemix-camel component lost this exchange properties somewhere.
Can you enable the trance of camel ?
And check if the "org.apache.servicemix.soap.headers" exchange properties is in camel exchange.
-
5. Re: Camel route between http/soap endpoints
veraniego Jan 25, 2010 5:37 AM (in response to njiang)When I receive the "Invalid Security Error" I got this trace:
11:29:04,500 | INFO | x-camel-thread-2 | TraceInterceptor | rg.apache.camel.processor.Logger 88 | ID-FRANKI/1629-1264415303234/2-0 -> to(endpoint:http://docs.oasis-open.org/ns/cmis/ws/200901/RepositoryService/RepositoryServicePort?mep=in-out), Pattern:InOut , Properties:{jbi.operation={http://docs.oasis-open.org/ns/cmis/messaging/200901}getRepositories} , Headers:{org.apache.servicemix.soap.headers={{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security=[#document-fragment: null]}} , BodyType:org.apache.camel.converter.stream.StreamCacheConverter.SourceCache , Body:<ns:getRepositories xmlns:ns="http://docs.oasis-open.org/ns/cmis/messaging/200901" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
The #document-fragment: null means that the header was removed by camel??