Hi,
Which version of Camel and ServiceMix are you using?
There is a bug with the exchange property copying which has been fixed
months ago.
Willem
veraniego wrote:
Hi
I have the next scenary:
soapUI -> http consumer -> camel -> http provider -> external web service
My request (includes a security header) goes to my web service and the
soapUI client get in response the next fault :
<faultcode
xmlns:ns1="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">ns1:InvalidSecurity</faultcode>
<faultstring>An error was discovered processing the <wsse:Security>
header</faultstring>
....without Camel route that works perfect...
XBEAN.XML:
<http:endpoint service="RepositoryService:RepositoryServiceConsumer"
endpoint="soap"
role="consumer"
soap="true"
soapVersion="1.1"
locationURI="http://localhost:8192/RepositoryService/"
defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
targetService="RepositoryService:RepositoryServiceListener"
targetEndpoint="listenerEndpoint"
/>
<http:endpoint service="RepositoryService:RepositoryService"
endpoint="RepositoryServicePort"
role="provider"
soap="true"
soapVersion="1.1"
locationURI="http://localhost:8083/alfresco/cmis/RepositoryService"
defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
interfaceName="RepositoryService:RepositoryServicePort"
wsdlResource="http://localhost:8083/alfresco/cmis/RepositoryService?wsdl"
/>
MyRouteBuilder.java:
from("jbi:endpoint:http://docs.oasis-open.org/ns/cmis/ws/200901/RepositoryServiceListener/listenerEndpoint")
.to("jbi:endpoint:http://docs.oasis-open.org/ns/cmis/ws/200901/RepositoryService/RepositoryServicePort")
THX